Merge "[NUI] Remove deprecated APIs" 5.0.0-preview1-00369
authordongsug song <dongsug.song@samsung.com>
Wed, 8 Nov 2017 06:52:14 +0000 (06:52 +0000)
committerGerrit Code Review <gerrit@review.ap-northeast-2.compute.internal>
Wed, 8 Nov 2017 06:52:14 +0000 (06:52 +0000)
src/Tizen.NUI/src/public/BaseComponents/View.cs
src/Tizen.NUI/src/public/NUIApplication.cs
src/Tizen.NUI/src/public/NUIConstants.cs
src/Tizen.NUI/src/public/VisualBase.cs

index 9b81bc1..8e0edf2 100755 (executable)
@@ -1164,6 +1164,7 @@ namespace Tizen.NUI.BaseComponents
         /// <returns>A handle to a view or an uninitialized handle.</returns>
         /// <since_tizen> 3 </since_tizen>
         [Obsolete("Please do not use! this will be deprecated, instead please use as keyword.")]
+        [EditorBrowsable(EditorBrowsableState.Never)]
         public static View DownCast(BaseHandle handle)
         {
             View ret =  Registry.GetManagedBaseHandleFromNativePtr(handle) as View;
@@ -1176,6 +1177,7 @@ namespace Tizen.NUI.BaseComponents
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         [Obsolete("Please do not use! this will be deprecated, instead please use as keyword.")]
+        [EditorBrowsable(EditorBrowsableState.Never)]
         public static T DownCast<T>(View view) where T : View
         {
             T ret = Registry.GetManagedBaseHandleFromNativePtr(view) as T;
@@ -2107,6 +2109,7 @@ namespace Tizen.NUI.BaseComponents
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         [Obsolete("Please do not use! this will be deprecated. Please use Visibility instead.")]
+        [EditorBrowsable(EditorBrowsableState.Never)]
         public bool Visible
         {
             get
@@ -4312,6 +4315,7 @@ namespace Tizen.NUI.BaseComponents
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         [Obsolete("Please do not use! this will be deprecated, please use Size2D instead")]
+        [EditorBrowsable(EditorBrowsableState.Never)]
         public Size Size
         {
             get
index a6df000..38257b1 100755 (executable)
@@ -16,6 +16,7 @@
  */
 
 using System;
+using System.ComponentModel;
 using Tizen.Applications;
 using Tizen.Applications.CoreBackend;
 
@@ -250,6 +251,7 @@ namespace Tizen.NUI
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         [Obsolete("Please do not use! this will be deprecated")]
+        [EditorBrowsable(EditorBrowsableState.Never)]
         public Window Window
         {
             get
@@ -258,4 +260,4 @@ namespace Tizen.NUI
             }
         }
     }
-}
\ No newline at end of file
+}
index b1297d7..800c82a 100755 (executable)
@@ -2163,6 +2163,7 @@ namespace Tizen.NUI
     /// </summary>
     /// <since_tizen> 3 </since_tizen>
     [Obsolete("Please do not use! this will be deprecated")]
+    [EditorBrowsable(EditorBrowsableState.Never)]
     public struct AnchorPoint
     {
         /// <summary>
index cf0b0f8..a6d9b16 100755 (executable)
@@ -17,6 +17,7 @@
 
 using System;
 using System.Runtime.InteropServices;
+using System.ComponentModel;
 
 namespace Tizen.NUI
 {
@@ -204,6 +205,7 @@ namespace Tizen.NUI
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         [Obsolete("Please be caution! this will be readonly.")]
+        [EditorBrowsable(EditorBrowsableState.Never)]
         public PropertyMap Creation
         {
             set
@@ -231,4 +233,4 @@ namespace Tizen.NUI
 
     }
 
-}
\ No newline at end of file
+}