[NUI] Fix comments according to document review
[platform/core/csapi/tizenfx.git] / src / Tizen.NUI / src / public / Common / Size2D.cs
index d50854f..ae13443 100755 (executable)
@@ -69,59 +69,23 @@ namespace Tizen.NUI
         internal delegate void Size2DChangedCallback(int? width, int? height);
 
         /// <summary>
-        /// Hidden API (Inhouse API).
-        /// Dispose. 
-        /// </summary>
-        /// <remarks>
-        /// Following the guide of https://docs.microsoft.com/en-us/dotnet/standard/garbage-collection/implementing-dispose.
-        /// This will replace "protected virtual void Dispose(DisposeTypes type)" which is exactly same in functionality.
-        /// </remarks>
-        /// <param name="disposing">true in order to free managed objects</param>
-        // Protected implementation of Dispose pattern.
-        [EditorBrowsable(EditorBrowsableState.Never)]
-        protected override void Dispose(bool disposing)
-        {
-            if (disposed)
-            {
-                return;
-            }
-
-            callback = null;
-
-            //perform dipose here without being added to DisposeQueue.
-            if (SwigCMemOwn && SwigCPtr.Handle != IntPtr.Zero)
-            {
-                if (disposing)
-                {
-                    base.Dispose(DisposeTypes.Explicit);
-                }
-                else
-                {
-                    base.Dispose(DisposeTypes.Implicit);
-                }
-            }
-
-            base.Dispose(disposing);
-        }
-
-        /// <summary>
         /// The property for the width component of a size.
         /// </summary>
         /// <remarks>
-        /// The setter is deprecated in API8 and will be removed in API10. Please use new Size2D(...) constructor.
+        /// The setter is deprecated in API8 and will be removed in API10. Use new Size2D(...) constructor.
         /// </remarks>
         /// <code>
         /// // DO NOT use like the followings!
         /// Size2D size2d = new Size2D();
         /// size2d.Width = 1; 
-        /// // Please USE like this
+        /// // USE like this
         /// int width = 1, height = 2;
         /// Size2D size2d = new Size2D(width, height);
         /// </code>
         /// <since_tizen> 3 </since_tizen>
         public int Width
         {
-            [Obsolete("Please do not use this setter, Deprecated in API8, will be removed in API10. please use new Size2D(...) constructor")]
+            [Obsolete("Do not use this setter, that is deprecated in API8 and will be removed in API10. Use new Size2D(...) constructor")]
             set
             {
                 Interop.Vector2.WidthSet(SwigCPtr, (float)value);
@@ -141,20 +105,20 @@ namespace Tizen.NUI
         /// The property for the height component of a size.
         /// </summary>
         /// <remarks>
-        /// The setter is deprecated in API8 and will be removed in API10. Please use new Size2D(...) constructor.
+        /// The setter is deprecated in API8 and will be removed in API10. Use new Size2D(...) constructor.
         /// </remarks>
         /// <code>
         /// // DO NOT use like the followings!
         /// Size2D size2d = new Size2D();
         /// size2d.Height = 2; 
-        /// // Please USE like this
+        /// // USE like this
         /// int width = 1, height = 2;
         /// Size2D size2d = new Size2D(width, height);
         /// </code>
         /// <since_tizen> 3 </since_tizen>
         public int Height
         {
-            [Obsolete("Please do not use this setter, Deprecated in API8, will be removed in API10. please use new Size2D(...) constructor")]
+            [Obsolete("Do not use this setter, that is deprecated in API8 and will be removed in API10. Use new Size2D(...) constructor")]
             set
             {
                 Interop.Vector2.HeightSet(SwigCPtr, (float)value);