Add EditorBrowsable attribute for internal components
authorKichan Kwon <k_c.kwon@samsung.com>
Wed, 26 Apr 2017 02:55:35 +0000 (11:55 +0900)
committerKichan Kwon <k_c.kwon@samsung.com>
Thu, 27 Apr 2017 06:17:54 +0000 (15:17 +0900)
Change-Id: Ib008915ac3f2e4991c384690ec3ea4da5413cc5d
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
src/Tizen.System.Information/RuntimeInfo/CpuUsage.cs
src/Tizen.System.Information/RuntimeInfo/MemoryInformation.cs [changed mode: 0644->0755]
src/Tizen.System.Information/RuntimeInfo/RuntimeInfoErrorFactory.cs
src/Tizen.System.Information/RuntimeInfo/RuntimeInformation.cs
src/Tizen.System.Information/SystemInfo/SystemInfo.cs [changed mode: 0644->0755]

index 58f6e50..813036c 100755 (executable)
@@ -19,6 +19,7 @@ using System.Collections.Generic;
 using System.Linq;
 using System.Text;
 using System.Threading.Tasks;
+using System.ComponentModel;
 
 namespace Tizen.System
 {
@@ -27,6 +28,7 @@ namespace Tizen.System
     /// </summary>
     public class CpuUsage
     {
+        [EditorBrowsable(EditorBrowsableState.Never)]
         internal CpuUsage(Interop.RuntimeInfo.CpuUsage usage)
         {
             IoWait = usage.IoWait;
@@ -57,6 +59,7 @@ namespace Tizen.System
     /// </summary>
     public class ProcessCpuUsage
     {
+        [EditorBrowsable(EditorBrowsableState.Never)]
         internal ProcessCpuUsage(Interop.RuntimeInfo.ProcessCpuUsage usage)
         {
             UTime = usage.UTime;
old mode 100644 (file)
new mode 100755 (executable)
index 1490f0d..64d6713
@@ -19,6 +19,7 @@ using System.Collections.Generic;
 using System.Linq;
 using System.Text;
 using System.Threading.Tasks;
+using System.ComponentModel;
 
 namespace Tizen.System
 {
@@ -27,6 +28,7 @@ namespace Tizen.System
     /// </summary>
     public class SystemMemoryInformation
     {
+        [EditorBrowsable(EditorBrowsableState.Never)]
         internal SystemMemoryInformation(Interop.RuntimeInfo.MemoryInfo info)
         {
             Total = info.Total;
@@ -62,6 +64,7 @@ namespace Tizen.System
     /// </summary>
     public class ProcessMemoryInformation
     {
+        [EditorBrowsable(EditorBrowsableState.Never)]
         internal ProcessMemoryInformation(Interop.RuntimeInfo.ProcessMemoryInfo info)
         {
             PrivateClean = info.PrivateClean;
index 1c5c8ff..308e211 100755 (executable)
 */
 
 using System;
+using System.ComponentModel;
 using Tizen.Internals.Errors;
 
 namespace Tizen.System
 {
+    [EditorBrowsable(EditorBrowsableState.Never)]
     internal enum RuntimeInfoError
     {
         None = ErrorCode.None,
@@ -31,6 +33,7 @@ namespace Tizen.System
         NoData = ErrorCode.NoData
     }
 
+    [EditorBrowsable(EditorBrowsableState.Never)]
     internal static class RuntimeInfoErrorFactory
     {
         internal const string LogTag = "Tizen.System.RuntimeInformation";
index 0d27ab4..3431120 100755 (executable)
@@ -19,6 +19,7 @@ using System.Collections.Generic;
 using System.Linq;
 using System.Text;
 using System.Threading.Tasks;
+using System.ComponentModel;
 
 namespace Tizen.System
 {
@@ -143,11 +144,7 @@ namespace Tizen.System
             [RuntimeInformationKey.AudioJackConnector] = typeof(int)
         };
 
-        /// <summary>
-        /// This function gets current state of the given key which represents specific runtime information
-        /// </summary>
-        /// <param name="key">The runtime information key for which the current should be read </param>
-        /// <returns>The current status of the given key</returns>
+        [EditorBrowsable(EditorBrowsableState.Never)]
         internal static object GetStatus(RuntimeInformationKey key)
         {
             Type value;
old mode 100644 (file)
new mode 100755 (executable)
index 4d06261..83fcbe8
@@ -15,6 +15,7 @@
 */
 
 using System;
+using System.ComponentModel;
 
 namespace Tizen.System
 {
@@ -25,6 +26,7 @@ namespace Tizen.System
     {
         private const string LogTag = "Tizen.System";
 
+        [EditorBrowsable(EditorBrowsableState.Never)]
         private static Interop.SystemInfo.SystemInfoType GetValueType(string key, out Interop.SystemInfo.SystemInfoValueType valueType)
         {
             Interop.SystemInfo.ErrorCode err = Interop.SystemInfo.SystemInfoGetPlatformType(key, out valueType);