[Tizen] VisualFactory.Get() is set as obsolete
authordongsug.song <dongsug.song@samsung.com>
Thu, 27 Jul 2017 03:02:27 +0000 (12:02 +0900)
committerdongsug.song <dongsug.song@samsung.com>
Thu, 27 Jul 2017 07:02:54 +0000 (16:02 +0900)
Change-Id: I43f42d43e0d6bba3c51e3105f4fbe1ccf935d758
Signed-off-by: dongsug.song <dongsug.song@samsung.com>
packaging/csapi-nui.spec
src/Tizen.NUI/Tizen.NUI.csproj
src/Tizen.NUI/src/public/VisualFactory.cs

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