Follow formatting NUI
[platform/core/csapi/tizenfx.git] / src / Tizen.NUI / src / internal / Xaml / FillResourceDictionariesVisitor.cs
index 2be8e7b..33c7ab1 100755 (executable)
@@ -40,9 +40,11 @@ namespace Tizen.NUI.Xaml
             var value = Values[node];
             XmlName propertyName;
             //Set RD to VE
-            if (typeof(ResourceDictionary).IsAssignableFrom(Context.Types[node]) && ApplyPropertiesVisitor.TryGetPropertyName(node, parentNode, out propertyName)) {
+            if (typeof(ResourceDictionary).IsAssignableFrom(Context.Types[node]) && ApplyPropertiesVisitor.TryGetPropertyName(node, parentNode, out propertyName))
+            {
                 if ((propertyName.LocalName == "Resources" ||
-                     propertyName.LocalName.EndsWith(".Resources", StringComparison.Ordinal)) && value is ResourceDictionary) {
+                     propertyName.LocalName.EndsWith(".Resources", StringComparison.Ordinal)) && value is ResourceDictionary)
+                {
                     var source = Values[parentNode];
                     ApplyPropertiesVisitor.SetPropertyValue(source, propertyName, value, Context.RootElement, node, Context, node);
                     return;
@@ -50,11 +52,11 @@ namespace Tizen.NUI.Xaml
             }
 
             //Only proceed further if the node is a keyless RD
-            if (   parentNode is IElementNode
+            if (parentNode is IElementNode
                 && typeof(ResourceDictionary).IsAssignableFrom(Context.Types[((IElementNode)parentNode)])
                 && !((IElementNode)parentNode).Properties.ContainsKey(XmlName.xKey))
                 node.Accept(new ApplyPropertiesVisitor(Context, stopOnResourceDictionary: false), parentNode);
-            else if (   parentNode is ListNode
+            else if (parentNode is ListNode
                      && typeof(ResourceDictionary).IsAssignableFrom(Context.Types[((IElementNode)parentNode.Parent)])
                      && !((IElementNode)parentNode.Parent).Properties.ContainsKey(XmlName.xKey))
                 node.Accept(new ApplyPropertiesVisitor(Context, stopOnResourceDictionary: false), parentNode);
@@ -73,11 +75,11 @@ namespace Tizen.NUI.Xaml
             var enode = node as ElementNode;
             if (enode is null)
                 return false;
-            if (   parentNode is IElementNode
+            if (parentNode is IElementNode
                 && typeof(ResourceDictionary).IsAssignableFrom(Context.Types[((IElementNode)parentNode)])
                 && !((IElementNode)parentNode).Properties.ContainsKey(XmlName.xKey))
                 return true;
-            if (   parentNode is ListNode
+            if (parentNode is ListNode
                 && typeof(ResourceDictionary).IsAssignableFrom(Context.Types[((IElementNode)parentNode.Parent)])
                 && !((IElementNode)parentNode.Parent).Properties.ContainsKey(XmlName.xKey))
                 return true;