From b38d274ca5e67449c9928debe451a82eb46e54ef Mon Sep 17 00:00:00 2001 From: "xb.teng" Date: Thu, 3 Aug 2017 02:19:40 +0800 Subject: [PATCH] [Tizen] Add obsolete attribute for Window property of NUIApplication, backward compatibility Change-Id: I5bb2131508e5ed48f2a4392eda8a5f4c07fb1c78 --- src/Tizen.NUI/src/public/NUIApplication.cs | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/Tizen.NUI/src/public/NUIApplication.cs b/src/Tizen.NUI/src/public/NUIApplication.cs index 3f7823d..af6f261 100755 --- a/src/Tizen.NUI/src/public/NUIApplication.cs +++ b/src/Tizen.NUI/src/public/NUIApplication.cs @@ -210,5 +210,17 @@ namespace Tizen.NUI resourceManager = value; } } + + /// + /// Get the window instance. + /// + [Obsolete("Please do not use! this will be deprecated")] + public Window Window + { + get + { + return Window.Instance; + } + } } } -- 2.7.4