Revert "[Tizen] VisualFactory.Get() is set as obsolete"
authorminho.sun <minho.sun@samsung.com>
Tue, 1 Aug 2017 01:17:49 +0000 (10:17 +0900)
committerminho.sun <minho.sun@samsung.com>
Tue, 1 Aug 2017 01:17:51 +0000 (10:17 +0900)
This reverts commit 45cb0727312367fd8b9db57bde4163a2d7e5a8ab.

Change-Id: I4dd45b3a9425f314c6cf5cfdb9fac53956c0b2e1

packaging/csapi-nui.spec
src/Tizen.NUI/Tizen.NUI.csproj
src/Tizen.NUI/src/public/VisualFactory.cs

index c59f6d7..e5436f9 100755 (executable)
@@ -5,7 +5,7 @@ Release:    1
 Group:      Development/Libraries
 License:    Apache-2.0 and BSD-3-Clause and MIT
 URL:        https://www.tizen.org
-Source0:    %{name}-%{version}.tar.gz
+Source0:    %{name}-%{version}-pre1.tar.gz
 Source1:    %{name}.manifest
 
 AutoReqProv: no
index 63d87d8..a652f40 100755 (executable)
@@ -1,7 +1,7 @@
 <Project Sdk="Microsoft.NET.Sdk">\r
 \r
   <PropertyGroup>\r
-    <Version>0.2.49</Version>\r
+    <Version>0.2.49-pre1</Version>\r
     <Authors>Samsung Electronics</Authors>\r
     <Copyright>© Samsung Electronics Co., Ltd All Rights Reserved</Copyright>\r
     <Description>\r
index b1e1d73..5d40948 100755 (executable)
@@ -13,7 +13,6 @@
 * limitations under the License.
 *
 */
-using System;
 
 namespace Tizen.NUI
 {
@@ -67,8 +66,11 @@ namespace Tizen.NUI
         }
 
 
-        [Obsolete("Please do not use! this will be deprecated, please use VisualFactory.Instance instead")]
-        public static VisualFactory Get()
+        /// <summary>
+        /// Create or retrieve VisualFactory singleton.
+        /// </summary>
+        /// <returns>A handle to the VisualFactory control.</returns>
+        private static VisualFactory Get()
         {
             VisualFactory ret = new VisualFactory(NDalicPINVOKE.VisualFactory_Get(), true);
             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();