[NUI] Fix build warning: CS0105 (#2136)
authordongsug-song <35130733+dongsug-song@users.noreply.github.com>
Wed, 28 Oct 2020 06:45:22 +0000 (15:45 +0900)
committerdongsug-song <35130733+dongsug-song@users.noreply.github.com>
Wed, 28 Oct 2020 08:01:52 +0000 (17:01 +0900)
* [NUI] Fix build warning: CS0105

* [NUI] Fix build warning: CS0169

src/Tizen.NUI/src/internal/ViewImpl.cs
src/Tizen.NUI/src/internal/ViewWrapperImpl.cs
src/Tizen.NUI/src/public/Capture.cs

index 136684d..4662acc 100755 (executable)
@@ -826,8 +826,6 @@ namespace Tizen.NUI
         private SwigDelegateViewImpl_19 swigDelegate19;
         private SwigDelegateViewImpl_20 swigDelegate20;
         private SwigDelegateViewImpl_21 swigDelegate21;
-        private SwigDelegateViewImpl_22 swigDelegate22;
-        private SwigDelegateViewImpl_23 swigDelegate23;
         private SwigDelegateViewImpl_24 swigDelegate24;
         private SwigDelegateViewImpl_25 swigDelegate25;
         private SwigDelegateViewImpl_26 swigDelegate26;
index 72745c8..0ba7cb9 100755 (executable)
@@ -611,8 +611,6 @@ namespace Tizen.NUI
         private DelegateViewWrapperImpl_19 Delegate19;
         private DelegateViewWrapperImpl_20 Delegate20;
         private DelegateViewWrapperImpl_21 Delegate21;
-        private DelegateViewWrapperImpl_22 Delegate22;
-        private DelegateViewWrapperImpl_23 Delegate23;
         private DelegateViewWrapperImpl_24 Delegate24;
         private DelegateViewWrapperImpl_25 Delegate25;
         private DelegateViewWrapperImpl_26 Delegate26;
index af2fd4a..2dee58a 100755 (executable)
@@ -1,6 +1,3 @@
-using System.Diagnostics;
-using System;
-using System.Drawing;
 /*
  * Copyright(c) 2020 Samsung Electronics Co., Ltd.
  *
@@ -18,12 +15,15 @@ using System.Drawing;
  *
  */
 
+using System.Diagnostics;
+using System;
+using System.Drawing;
+
 namespace Tizen.NUI
 {
     using global::System;
     using global::System.ComponentModel;
     using global::System.Runtime.InteropServices;
-    using global::System.ComponentModel;
     using Tizen.NUI.BaseComponents;
 
     /// <summary>
@@ -107,9 +107,9 @@ namespace Tizen.NUI
         /// <exception cref="InvalidOperationException">This exception can be due to the invalid size values, of when width or height is lower than zero.</exception>
         /// <exception cref="ArgumentNullException">This exception is due to the path is null.</exception>
         [EditorBrowsable(EditorBrowsableState.Never)]
-        public void Start(Container source, Position position, Size size, string path, Color color )
+        public void Start(Container source, Position position, Size size, string path, Color color)
         {
-            if (size.Width <= 0 || size.Height <=0)
+            if (size.Width <= 0 || size.Height <= 0)
             {
                 throw new InvalidOperationException("size should larger than zero");
             }
@@ -139,9 +139,9 @@ namespace Tizen.NUI
         /// <exception cref="InvalidOperationException">This exception can be due to the invalid size values, of when width or height is lower than zero.</exception>
         /// <exception cref="ArgumentNullException">This exception is due to the path is null.</exception>
         [EditorBrowsable(EditorBrowsableState.Never)]
-        public void Start(Container source, Size size, string path, Color color, uint quality )
+        public void Start(Container source, Size size, string path, Color color, uint quality)
         {
-            if (size.Width <= 0 || size.Height <=0)
+            if (size.Width <= 0 || size.Height <= 0)
             {
                 throw new InvalidOperationException("size should larger than zero");
             }
@@ -176,7 +176,7 @@ namespace Tizen.NUI
         [EditorBrowsable(EditorBrowsableState.Never)]
         public void Start(Container source, Size size, string path, Color color)
         {
-            if (size.Width <= 0 || size.Height <=0)
+            if (size.Width <= 0 || size.Height <= 0)
             {
                 throw new InvalidOperationException("size should larger than zero");
             }
@@ -209,7 +209,7 @@ namespace Tizen.NUI
         [EditorBrowsable(EditorBrowsableState.Never)]
         public void Start(Container source, Size size, string path)
         {
-            if (size.Width <= 0 || size.Height <=0)
+            if (size.Width <= 0 || size.Height <= 0)
             {
                 throw new InvalidOperationException("size should larger than zero");
             }
@@ -217,7 +217,7 @@ namespace Tizen.NUI
             {
                 throw new ArgumentNullException("path should not be null");
             }
-            
+
             if (source is View || source is Layer)
             {
                 Interop.Capture.Start2(swigCPtr, source.SwigCPtr, new Vector2(size.Width, size.Height).SwigCPtr, path);
@@ -238,7 +238,7 @@ namespace Tizen.NUI
             {
                 throw new InvalidOperationException("quality should between zero to 100");
             }
-            
+
             Interop.Capture.SetImageQuality(swigCPtr, quality);
         }