Review of Storage (#426)
authorSabeena Sankanur <35525967+sabeena21@users.noreply.github.com>
Fri, 31 Aug 2018 01:05:23 +0000 (06:35 +0530)
committerhyotaekshim <35134695+hyotaekshim@users.noreply.github.com>
Fri, 31 Aug 2018 01:05:23 +0000 (01:05 +0000)
* Review of Storage

* Update Storage.cs

src/Tizen.System.Storage/Storage/Storage.cs
src/Tizen.System.Storage/Storage/StorageArea.cs
src/Tizen.System.Storage/Storage/StorageDevice.cs
src/Tizen.System.Storage/Storage/StorageManager.cs

index 1cd2a1e..593d0f4 100644 (file)
@@ -191,7 +191,7 @@ namespace Tizen.System
         }
 
         /// <summary>
-        /// The StorageDevice
+        /// The StorageDevice.
         /// </summary>
         /// <since_tizen> 5 </since_tizen>
         /// <exception cref="InvalidOperationException">Thrown when DeviceType is not initialized.</exception>
@@ -209,7 +209,7 @@ namespace Tizen.System
         }
 
         /// <summary>
-        /// The type of file system
+        /// The type of file system.
         /// </summary>
         /// <since_tizen> 5 </since_tizen>
         /// <exception cref="InvalidOperationException">Thrown when Fstype is not initialized.</exception>
@@ -227,7 +227,7 @@ namespace Tizen.System
         }
 
         /// <summary>
-        /// The uuid of the file system
+        /// The UUID of the file system.
         /// </summary>
         /// <since_tizen> 5 </since_tizen>
         /// <exception cref="InvalidOperationException">Thrown when Fsuuid is not initialized.</exception>
@@ -245,10 +245,10 @@ namespace Tizen.System
         }
 
         /// <summary>
-        /// Information about whether this is primary partition
+        /// Information whether this is a primary partition.
         /// </summary>
         /// <since_tizen> 5 </since_tizen>
-        /// <exception cref="InvalidOperationException">Thrown when Primary is not initialized.</exception>
+        /// <exception cref="InvalidOperationException">Thrown when primary is not initialized.</exception>
         public bool Primary
         {
             get
@@ -263,10 +263,10 @@ namespace Tizen.System
         }
 
         /// <summary>
-        /// The flags for the storage status
+        /// The flags for the storage status.
         /// </summary>
         /// <since_tizen> 5 </since_tizen>
-        /// <exception cref="InvalidOperationException">Thrown when Flags is not initialized.</exception>
+        /// <exception cref="InvalidOperationException">Thrown when flags are not initialized.</exception>
         public int Flags
         {
             get
index 30323d3..fbe52d8 100644 (file)
@@ -33,7 +33,7 @@ namespace Tizen.System
         /// <since_tizen> 3 </since_tizen>
         External = Interop.Storage.StorageArea.External,
         /// <summary>
-        /// Extended internal storage
+        /// Extended internal storage.
         /// </summary>
         /// <since_tizen> 5 </since_tizen>
         ExtendedInternal = Interop.Storage.StorageArea.ExtendedInternal,
index b397e03..e594995 100644 (file)
@@ -23,17 +23,17 @@ namespace Tizen.System
     public enum StorageDevice
     {
         /// <summary>
-        /// External sd card device
+        /// External SD Card device.
         /// </summary>
         /// <since_tizen> 5 </since_tizen>
         ExternalSDCard = Interop.Storage.StorageDevice.ExternalSDCard,
         /// <summary>
-        /// External usb mass storage
+        /// External USB mass storage.
         /// </summary>
         /// <since_tizen> 5 </since_tizen>
         ExternalUSBMassStorage = Interop.Storage.StorageDevice.ExternalUSBMassStorage,
         /// <summary>
-        /// Extended internal storage
+        /// Extended internal storage.
         /// </summary>
         /// <since_tizen> 5 </since_tizen>
         ExtendedInternalStorage = Interop.Storage.StorageDevice.ExtendedInternalStorage,
index 1a66287..8cc23f6 100644 (file)
@@ -82,10 +82,10 @@ namespace Tizen.System
         }
 
         /// <summary>
-        /// Registers an eventhandler for state chages of specific storage type
+        /// Registers an eventhandler for state changes of specific storage type.
         /// </summary>
-        /// <param name="type">Storage type</param>
-        /// <param name="handler">An eventhandler to register</param>
+        /// <param name="type">The type of the storage.</param>
+        /// <param name="handler">An eventhandler to register.</param>
         /// <since_tizen> 5 </since_tizen>
         public static void SetChangedEvent(StorageArea type, EventHandler handler)
         {
@@ -109,10 +109,10 @@ namespace Tizen.System
         }
 
         /// <summary>
-        /// Unregisters an eventhandler for state chages of specific storage type
+        /// Unregisters an eventhandler for state changes of specific storage type.
         /// </summary>
-        /// <param name="type">Storage type</param>
-        /// <param name="handler">An eventhandler to unregister</param>
+        /// <param name="type">The type of the storage.</param>
+        /// <param name="handler">An eventhandler to unregister.</param>
         /// <since_tizen> 5 </since_tizen>
         public static void UnsetChangedEvent(StorageArea type, EventHandler handler)
         {