[ComponentBased] Add internal property (#1386)
authorhjhun <36876573+hjhun@users.noreply.github.com>
Mon, 10 Feb 2020 23:37:45 +0000 (08:37 +0900)
committerGitHub <noreply@github.com>
Mon, 10 Feb 2020 23:37:45 +0000 (08:37 +0900)
Adds:
 - ContextHandle

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
src/Tizen.Applications.ComponentBased/Tizen.Applications.ComponentBased.Common/BaseComponent.cs [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index f65ca2f..8724be0
@@ -15,6 +15,7 @@
  */
 
 using System;
+using System.ComponentModel;
 using System.Threading.Tasks;
 
 namespace Tizen.Applications.ComponentBased.Common
@@ -95,6 +96,23 @@ namespace Tizen.Applications.ComponentBased.Common
             Interop.CBApplication.ComponentFinish(Handle);
         }
 
+        /// <summary>
+        /// A Context Handle
+        /// </summary>
+        /// <since_tizen> 6 </since_tizen>
+        [EditorBrowsable(EditorBrowsableState.Never)]
+        public IntPtr ContextHandle
+        {
+            get
+            {
+                return Handle;
+            }
+            set
+            {
+                Handle = value;
+            }
+        }
+
         internal void Bind(IntPtr handle, string compId, string instanceId, ComponentBasedApplication parent)
         {
             Handle = handle;