[NUI][EXaml] Support ResourcePath in EXaml
authorFang Xiaohui <xiaohui.fang@samsung.com>
Fri, 9 Jul 2021 08:01:53 +0000 (16:01 +0800)
committerdongsug-song <35130733+dongsug-song@users.noreply.github.com>
Fri, 9 Jul 2021 10:39:50 +0000 (19:39 +0900)
src/Tizen.NUI/src/internal/EXaml/Operation/CreateInstance.cs
src/Tizen.NUI/src/internal/EXaml/Operation/SetBindalbeProperty.cs
src/Tizen.NUI/src/internal/EXaml/Operation/SetProperty.cs

index a2acc61..2c40066 100755 (executable)
@@ -70,9 +70,9 @@ namespace Tizen.NUI.EXaml
                             paramList[i] = globalDataList.GatheredInstances[instance.Index];
                         }
 
-                        if (paramList[i] is ApplicationResourcePathExtension applicationResourcePath)
+                        if (paramList[i] is ResourcePathExtension resourcePath)
                         {
-                            paramList[i] = applicationResourcePath.ProvideValue(null);
+                            paramList[i] = resourcePath.ProvideValue(null);
                         }
                     }
 
index 51c1718..322713c 100755 (executable)
@@ -51,9 +51,9 @@ namespace Tizen.NUI.EXaml
                     value = globalDataList.GatheredInstances[valueIndex];
                 }
 
-                if (value is ApplicationResourcePathExtension applicationResourcePath)
+                if (value is ResourcePathExtension resourcePath)
                 {
-                    value = applicationResourcePath.ProvideValue(null);
+                    value = resourcePath.ProvideValue(null);
                 }
 
                 instance.SetValue(property, value);
index eefb6fe..3c23429 100755 (executable)
@@ -68,9 +68,9 @@ namespace Tizen.NUI.EXaml
                 }
             }
 
-            if (value is ApplicationResourcePathExtension applicationResourcePath)
+            if (value is ResourcePathExtension resourcePath)
             {
-                value = applicationResourcePath.ProvideValue(null);
+                value = resourcePath.ProvideValue(null);
             }
 
             property.SetMethod.Invoke(instance, new object[] { value });