[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>
Thu, 14 Oct 2021 04:19:02 +0000 (13:19 +0900)
Signed-off-by: seungho <sbsh.baek@samsung.com>
src/Tizen.NUI/src/public/Common/TimePeriod.cs

index fd8057f..4fc1b9b 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);
+        }
     }
 }