[NUI] Fix comments according to document review
[platform/core/csapi/tizenfx.git] / src / Tizen.NUI / src / public / Common / Size2D.cs
index fa727f8..ae13443 100755 (executable)
@@ -72,20 +72,20 @@ namespace Tizen.NUI
         /// 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);
@@ -105,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);
@@ -337,11 +337,6 @@ namespace Tizen.NUI
         [EditorBrowsable(EditorBrowsableState.Never)]
         public object Clone() => new Size2D(Width, Height);
 
-        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Size2D obj)
-        {
-            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.SwigCPtr;
-        }
-
         /// <summary>
         /// Gets the size from the pointer.
         /// </summary>