[NUI] Make TimePeriod.ReleaseSwigCPtr hidden
authorseungho <sbsh.baek@samsung.com>
Fri, 27 Aug 2021 12:25:15 +0000 (21:25 +0900)
committerdongsug-song <35130733+dongsug-song@users.noreply.github.com>
Tue, 9 Nov 2021 05:57:53 +0000 (14:57 +0900)
Signed-off-by: seungho <sbsh.baek@samsung.com>
src/Tizen.NUI/src/public/Common/TimePeriod.cs

index c2a3c3b..028eb92 100755 (executable)
@@ -31,11 +31,6 @@ namespace Tizen.NUI
         {
         }
 
-        protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr)
-        {
-            Interop.TimePeriod.DeleteTimePeriod(swigCPtr);
-        }
-
         /// <summary>
         /// The constructor.
         /// Creates an time period object with the user-defined alpha function.
@@ -103,5 +98,12 @@ namespace Tizen.NUI
         {
             return (int)(sec * 1000);
         }
+
+        /// This will not be public opened.
+        [EditorBrowsable(EditorBrowsableState.Never)]
+        protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr)
+        {
+            Interop.TimePeriod.DeleteTimePeriod(swigCPtr);
+        }
     }
 }