English review for RPCPort (#421)
authorReni Mathew <36875286+Reni-90@users.noreply.github.com>
Fri, 31 Aug 2018 04:51:56 +0000 (10:21 +0530)
committerpjh9216 <jh9216.park@samsung.com>
Fri, 31 Aug 2018 04:51:56 +0000 (13:51 +0900)
* English review for RPCPort

* Updated the file as per the suggestion.

* To maintain consistency followed the style used in Native APIs.

src/Tizen.Applications.Common/Tizen.Applications.RPCPort/Exceptions.cs
src/Tizen.Applications.Common/Tizen.Applications.RPCPort/Parcel.cs
src/Tizen.Applications.Common/Tizen.Applications.RPCPort/Port.cs
src/Tizen.Applications.Common/Tizen.Applications.RPCPort/ProxyBase.cs
src/Tizen.Applications.Common/Tizen.Applications.RPCPort/StubBase.cs

index 4ff403b..c30ec1d 100755 (executable)
@@ -19,37 +19,37 @@ using System;
 namespace Tizen.Applications.RPCPort
 {
     /// <summary>
-    /// Exception class for invalid IO
+    /// Exception class for invalid IO.
     /// </summary>
     /// <since_tizen> 5 </since_tizen>
     public class InvalidIOException : InvalidOperationException { }
 
     /// <summary>
-    /// Exception class for invalid ID
+    /// Exception class for invalid ID.
     /// </summary>
     /// <since_tizen> 5 </since_tizen>
     public class InvalidIDException : InvalidOperationException { }
 
     /// <summary>
-    /// Exception class for permission denied
+    /// Exception class for permission denied.
     /// </summary>
     /// <since_tizen> 5 </since_tizen>
     public class PermissionDeniedException : InvalidOperationException { }
 
     /// <summary>
-    /// Exception class for invalid protocol
+    /// Exception class for invalid protocol.
     /// </summary>
     /// <since_tizen> 5 </since_tizen>
     public class InvalidProtocolException : InvalidOperationException { }
 
     /// <summary>
-    /// Exception class which will be thrown when not connected socket is used
+    /// Exception class, which is thrown when a non connected socket is used.
     /// </summary>
     /// <since_tizen> 5 </since_tizen>
     public class NotConnectedSocketException : InvalidOperationException { }
 
     /// <summary>
-    /// Exception class which will be thrown when invalid callback object is used
+    /// Exception class, which is thrown when an invalid callback object is used.
     /// </summary>
     /// <since_tizen> 5 </since_tizen>
     public class InvalidCallbackException : InvalidOperationException { }
index 886e614..2571d86 100755 (executable)
@@ -19,7 +19,7 @@ using System;
 namespace Tizen.Applications.RPCPort
 {
     /// <summary>
-    /// The class for helping marshalling and unmarshalling for RPC
+    /// The class that helps to perform marshalling and unmarshalling for RPC.
     /// </summary>
     /// <since_tizen> 5 </since_tizen>
     public class Parcel : IDisposable
@@ -27,9 +27,9 @@ namespace Tizen.Applications.RPCPort
         private IntPtr _handle;
 
         /// <summary>
-        /// Constructor for this class
+        /// Constructor for this class.
         /// </summary>
-        /// <exception cref="InvalidIOException">Thrown when internal IO error happens</exception>
+        /// <exception cref="InvalidIOException">Thrown when an internal IO error occurs.</exception>
         /// <since_tizen> 5 </since_tizen>
         public Parcel()
         {
@@ -39,10 +39,10 @@ namespace Tizen.Applications.RPCPort
         }
 
         /// <summary>
-        /// Constructor with Port object
+        /// Constructor with port object.
         /// </summary>
-        /// <param name="port">Port object</param>
-        /// <exception cref="InvalidIOException">Thrown when internal IO error happens</exception>
+        /// <param name="port">Port object.</param>
+        /// <exception cref="InvalidIOException">Thrown when an internal IO error occurs.</exception>
         /// <since_tizen> 5 </since_tizen>
         public Parcel(Port port)
         {
@@ -54,10 +54,10 @@ namespace Tizen.Applications.RPCPort
         }
 
         /// <summary>
-        /// Sends parcel data through the port
+        /// Sends parcel data through the port.
         /// </summary>
-        /// <param name="p">The RPC port object for writing data</param>
-        /// <exception cref="InvalidIOException">Thrown when internal IO error happens</exception>
+        /// <param name="p">The RPC port object for writing data.</param>
+        /// <exception cref="InvalidIOException">Thrown when an internal IO error occurs.</exception>
         /// <since_tizen> 5 </since_tizen>
         public void Send(Port p)
         {
@@ -69,9 +69,9 @@ namespace Tizen.Applications.RPCPort
         }
 
         /// <summary>
-        /// Writes 'byte' type value into Parcel object
+        /// Writes a byte value into parcel object.
         /// </summary>
-        /// <param name="b">'byte' type data</param>
+        /// <param name="b">byte data.</param>
         /// <since_tizen> 5 </since_tizen>
         public void WriteByte(byte b)
         {
@@ -79,9 +79,9 @@ namespace Tizen.Applications.RPCPort
         }
 
         /// <summary>
-        /// Writes 'short' type value into Parcel object
+        /// Writes a short value into parcel object.
         /// </summary>
-        /// <param name="b">'short' type data</param>
+        /// <param name="b">short data.</param>
         /// <since_tizen> 5 </since_tizen>
         public void WriteShort(short b)
         {
@@ -89,9 +89,9 @@ namespace Tizen.Applications.RPCPort
         }
 
         /// <summary>
-        /// Writes 'int' type value into Parcel object
+        /// Writes an int value into parcel object.
         /// </summary>
-        /// <param name="b">'int' type data</param>
+        /// <param name="b">int data.</param>
         /// <since_tizen> 5 </since_tizen>
         public void WriteInt(int b)
         {
@@ -99,9 +99,9 @@ namespace Tizen.Applications.RPCPort
         }
 
         /// <summary>
-        /// Writes a Long type value into Parcel handle
+        /// Writes a long value into parcel object.
         /// </summary>
-        /// <param name="b">'long' type data</param>
+        /// <param name="b">long data.</param>
         /// <since_tizen> 5 </since_tizen>
         public void WriteLong(long b)
         {
@@ -109,9 +109,9 @@ namespace Tizen.Applications.RPCPort
         }
 
         /// <summary>
-        /// Writes a 'float' type value into Parcel handle
+        /// Writes a float value into parcel object.
         /// </summary>
-        /// <param name="b">'float' type data</param>
+        /// <param name="b">float data.</param>
         /// <since_tizen> 5 </since_tizen>
         public void WriteFloat(float b)
         {
@@ -119,9 +119,9 @@ namespace Tizen.Applications.RPCPort
         }
 
         /// <summary>
-        /// Writes a 'double' type value into Parcel handle
+        /// Writes a double value into parcel object.
         /// </summary>
-        /// <param name="b">'double' type data</param>
+        /// <param name="b">double data.</param>
         /// <since_tizen> 5 </since_tizen>
         public void WriteDouble(double b)
         {
@@ -129,9 +129,9 @@ namespace Tizen.Applications.RPCPort
         }
 
         /// <summary>
-        /// Writes a 'string' type value into Parcel handle
+        /// Writes a string value into parcel object.
         /// </summary>
-        /// <param name="b">'string' type data</param>
+        /// <param name="b">string data.</param>
         /// <since_tizen> 5 </since_tizen>
         public void WriteString(string b)
         {
@@ -139,9 +139,9 @@ namespace Tizen.Applications.RPCPort
         }
 
         /// <summary>
-        /// Writes a 'bool' type value into Parcel handle
+        /// Writes a bool value into parcel object.
         /// </summary>
-        /// <param name="b">'bool' type data</param>
+        /// <param name="b">bool data.</param>
         /// <since_tizen> 5 </since_tizen>
         public void WriteBool(bool b)
         {
@@ -149,9 +149,9 @@ namespace Tizen.Applications.RPCPort
         }
 
         /// <summary>
-        /// Writes a 'Bundle' type value into Parcel handle
+        /// Writes a Bundle data into parcel object.
         /// </summary>
-        /// <param name="b">'Bundle' type data</param>
+        /// <param name="b">Bundle data.</param>
         /// <since_tizen> 5 </since_tizen>
         public void WriteBundle(Bundle b)
         {
@@ -159,9 +159,9 @@ namespace Tizen.Applications.RPCPort
         }
 
         /// <summary>
-        /// Writes a count for array into Parcel object
+        /// Writes a count of an array into parcel object.
         /// </summary>
-        /// <param name="cnt">Array count</param>
+        /// <param name="cnt">Array count.</param>
         /// <since_tizen> 5 </since_tizen>
         public void WriteArrayCount(int cnt)
         {
@@ -169,9 +169,9 @@ namespace Tizen.Applications.RPCPort
         }
 
         /// <summary>
-        /// Reads 'byte' type value from Parcel object
+        /// Reads a byte value from parcel object.
         /// </summary>
-        /// <returns>'byte' type data</returns>
+        /// <returns>byte data.</returns>
         /// <since_tizen> 5 </since_tizen>
         public byte ReadByte()
         {
@@ -180,9 +180,9 @@ namespace Tizen.Applications.RPCPort
         }
 
         /// <summary>
-        /// Reads 'short' type value from Parcel object
+        /// Reads a short value from parcel object.
         /// </summary>
-        /// <returns>'short' type data</returns>
+        /// <returns>short data.</returns>
         /// <since_tizen> 5 </since_tizen>
         public short ReadShort()
         {
@@ -191,9 +191,9 @@ namespace Tizen.Applications.RPCPort
         }
 
         /// <summary>
-        /// Reads 'int' type value from Parcel object
+        /// Reads an int value from parcel object.
         /// </summary>
-        /// <returns>'int' type data</returns>
+        /// <returns>int data.</returns>
         /// <since_tizen> 5 </since_tizen>
         public int ReadInt()
         {
@@ -202,9 +202,9 @@ namespace Tizen.Applications.RPCPort
         }
 
         /// <summary>
-        /// Reads 'long' type value from Parcel object
+        /// Reads a long value from parcel object.
         /// </summary>
-        /// <returns>'long' type data</returns>
+        /// <returns>long data.</returns>
         /// <since_tizen> 5 </since_tizen>
         public long ReadLong()
         {
@@ -213,9 +213,9 @@ namespace Tizen.Applications.RPCPort
         }
 
         /// <summary>
-        /// Reads 'float' type value from Parcel object
+        /// Reads a float value from parcel object.
         /// </summary>
-        /// <returns>'float' type data</returns>
+        /// <returns>float data.</returns>
         /// <since_tizen> 5 </since_tizen>
         public float ReadFloat()
         {
@@ -224,9 +224,9 @@ namespace Tizen.Applications.RPCPort
         }
 
         /// <summary>
-        /// Reads 'double' type value from Parcel object
+        /// Reads a double value from parcel object.
         /// </summary>
-        /// <returns>'double' type data</returns>
+        /// <returns>double data.</returns>
         /// <since_tizen> 5 </since_tizen>
         public double ReadDouble()
         {
@@ -235,9 +235,9 @@ namespace Tizen.Applications.RPCPort
         }
 
         /// <summary>
-        /// Reads 'string' type value from Parcel object
+        /// Reads a string value from parcel object.
         /// </summary>
-        /// <returns>'string' type data</returns>
+        /// <returns>string data.</returns>
         /// <since_tizen> 5 </since_tizen>
         public string ReadString()
         {
@@ -246,9 +246,9 @@ namespace Tizen.Applications.RPCPort
         }
 
         /// <summary>
-        /// Reads 'bool' type value from Parcel object
+        /// Reads a bool value from parcel object.
         /// </summary>
-        /// <returns>'bool' type data</returns>
+        /// <returns>bool data.</returns>
         /// <since_tizen> 5 </since_tizen>
         public bool ReadBool()
         {
@@ -257,9 +257,9 @@ namespace Tizen.Applications.RPCPort
         }
 
         /// <summary>
-        /// Reads 'Bundle' type value from Parcel object
+        /// Reads a Bundle value from parcel object.
         /// </summary>
-        /// <returns>'Bundle' type data</returns>
+        /// <returns>Bundle data.</returns>
         /// <since_tizen> 5 </since_tizen>
         public Bundle ReadBundle()
         {
@@ -269,9 +269,9 @@ namespace Tizen.Applications.RPCPort
         }
 
         /// <summary>
-        /// Reads a count for array from Parcel object
+        /// Reads a count of an array from parcel object.
         /// </summary>
-        /// <returns>Array count</returns>
+        /// <returns>Array count.</returns>
         /// <since_tizen> 5 </since_tizen>
         public int ReadArrayCount()
         {
@@ -280,9 +280,9 @@ namespace Tizen.Applications.RPCPort
         }
 
         /// <summary>
-        /// Writes bytes into Parcel object
+        /// Writes bytes into parcel object.
         /// </summary>
-        /// <param name="bytes">Array of bytes</param>
+        /// <param name="bytes">Array of bytes.</param>
         /// <since_tizen> 5 </since_tizen>
         public void Write(byte[] bytes)
         {
@@ -290,10 +290,10 @@ namespace Tizen.Applications.RPCPort
         }
 
         /// <summary>
-        /// Reads bytes from Parcel object
+        /// Reads bytes from parcel object.
         /// </summary>
-        /// <param name="size">Bytes to read</param>
-        /// <returns>Array of bytes</returns>
+        /// <param name="size">Bytes to read.</param>
+        /// <returns>Array of bytes.</returns>
         /// <since_tizen> 5 </since_tizen>
         public byte[] Read(int size)
         {
@@ -324,7 +324,7 @@ namespace Tizen.Applications.RPCPort
         }
 
         /// <summary>
-        /// Finalizer of the class Parcel
+        /// Finalizer of the class Parcel.
         /// </summary>
         ~Parcel()
         {
@@ -332,7 +332,7 @@ namespace Tizen.Applications.RPCPort
         }
 
         /// <summary>
-        /// Release all resources used by the class Parcel
+        /// Release all the resources used by the class Parcel.
         /// </summary>
         /// <since_tizen> 5 </since_tizen>
         public void Dispose()
index c33e2c4..f31364f 100755 (executable)
@@ -19,23 +19,23 @@ using System;
 namespace Tizen.Applications.RPCPort
 {
     /// <summary>
-    /// The class for communicating each other between proxy and stub
+    /// The class that proxy and stub can use to communicate with each other.
     /// </summary>
     /// <since_tizen> 5 </since_tizen>
     public class Port
     {
         /// <summary>
-        /// Enumeration for RPC port types
+        /// Enumeration for RPC port types.
         /// </summary>
         public enum Type
         {
             /// <summary>
-            /// Main channel to communicate
+            /// Main channel to communicate.
             /// </summary>
             Main,
 
             /// <summary>
-            /// Sub channel for callbacks
+            /// Sub channel for callbacks.
             /// </summary>
             Callback
         }
index e904444..71321de 100755 (executable)
@@ -19,7 +19,7 @@ using System;
 namespace Tizen.Applications.RPCPort
 {
     /// <summary>
-    /// Abstract class for making a proxy class for RPC
+    /// Abstract class for creating a proxy class for RPC.
     /// </summary>
     /// <since_tizen> 5 </since_tizen>
     public abstract class ProxyBase : IDisposable
@@ -31,21 +31,21 @@ namespace Tizen.Applications.RPCPort
         private IntPtr _proxy;
 
         /// <summary>
-        /// Gets Port object
+        /// Gets Port object.
         /// </summary>
         /// <since_tizen> 5 </since_tizen>
         protected Port Port { get; private set; }
 
         /// <summary>
-        /// Gets Port object for asynchronous events
+        /// Gets Port object for asynchronous events.
         /// </summary>
         /// <since_tizen> 5 </since_tizen>
         protected Port CallbackPort { get; private set; }
 
         /// <summary>
-        /// Constructor for this class
+        /// Constructor for this class.
         /// </summary>
-        /// <exception cref="InvalidIOException">Thrown when internal IO error happens</exception>
+        /// <exception cref="InvalidIOException">Thrown when internal IO error occurs.</exception>
         /// <since_tizen> 5 </since_tizen>
         public ProxyBase()
         {
@@ -62,13 +62,13 @@ namespace Tizen.Applications.RPCPort
         }
 
         /// <summary>
-        /// Connects to port
+        /// Connects to port.
         /// </summary>
-        /// <param name="appid">The target stub app ID</param>
-        /// <param name="port">The name of rpc port</param>
-        /// <exception cref="InvalidIDException">Thrown when not available app ID is used</exception>
-        /// <exception cref="InvalidIOException">Thrown when internal IO error happens</exception>
-        /// <exception cref="PermissionDeniedException">Thrown when the permission is denied</exception>
+        /// <param name="appid">The target stub app ID.</param>
+        /// <param name="port">The name of the RPC port.</param>
+        /// <exception cref="InvalidIDException">Thrown when not available app ID is used.</exception>
+        /// <exception cref="InvalidIOException">Thrown when an internal IO error occurs.</exception>
+        /// <exception cref="PermissionDeniedException">Thrown when the permission is denied.</exception>
         /// <privilege>http://tizen.org/privilege/datasharing</privilege>
         /// <privilege>http://tizen.org/privilege/appmanager.launch</privilege>
         /// <since_tizen> 5 </since_tizen>
@@ -87,11 +87,11 @@ namespace Tizen.Applications.RPCPort
         }
 
         /// <summary>
-        /// Gets a port
+        /// Gets a port.
         /// </summary>
-        /// <param name="t">The type of port</param>
-        /// <returns>Port object</returns>
-        /// <exception cref="InvalidIOException">Thrown when internal IO error happens</exception>
+        /// <param name="t">The type of port.</param>
+        /// <returns>Port object.</returns>
+        /// <exception cref="InvalidIOException">Thrown when an internal IO error occurs.</exception>
         /// <since_tizen> 5 </since_tizen>
         protected Port GetPort(Port.Type t)
         {
@@ -108,35 +108,35 @@ namespace Tizen.Applications.RPCPort
         }
 
         /// <summary>
-        /// Abstract method for receiving connected event
+        /// Abstract method for receiving connected event.
         /// </summary>
-        /// <param name="endPoint">The target stub app ID</param>
-        /// <param name="portName">The name of the port</param>
-        /// <param name="port">Port object for reading and writing</param>
+        /// <param name="endPoint">The target stub app ID.</param>
+        /// <param name="portName">The name of the RPC port.</param>
+        /// <param name="port">Port object for reading and writing.</param>
         /// <since_tizen> 5 </since_tizen>
         protected abstract void OnConnectedEvent(string endPoint, string portName, Port port);
 
         /// <summary>
-        /// Abstract method for receiving disconnected event
+        /// Abstract method for receiving disconnected event.
         /// </summary>
-        /// <param name="endPoint">The target stub app ID</param>
-        /// <param name="portName">The name of the port</param>
+        /// <param name="endPoint">The target stub app ID.</param>
+        /// <param name="portName">The name of the port.</param>
         /// <since_tizen> 5 </since_tizen>
         protected abstract void OnDisconnectedEvent(string endPoint, string portName);
 
         /// <summary>
-        /// Abstract method called when the proxy received data from stub
+        /// Abstract method called when the proxy receives data from stub.
         /// </summary>
-        /// <param name="endPoint">The target stub app ID</param>
-        /// <param name="portName">The name of the port</param>
+        /// <param name="endPoint">The target stub app ID.</param>
+        /// <param name="portName">The name of the RPC port.</param>
         /// <since_tizen> 5 </since_tizen>
         protected abstract void OnReceivedEvent(string endPoint, string portName);
 
         /// <summary>
-        /// Abstract method for receiving rejected event
+        /// Abstract method for receiving rejected event.
         /// </summary>
-        /// <param name="endPoint">The target stub app ID</param>
-        /// <param name="portName">The name of the port</param>
+        /// <param name="endPoint">The target stub app ID.</param>
+        /// <param name="portName">The name of the RPC port.</param>
         /// <since_tizen> 5 </since_tizen>
         protected abstract void OnRejectedEvent(string endPoint, string portName);
 
@@ -183,7 +183,7 @@ namespace Tizen.Applications.RPCPort
         }
 
         /// <summary>
-        /// Finalizer of the class ProxyBase
+        /// Finalizer of the class ProxyBase.
         /// </summary>
         ~ProxyBase()
         {
@@ -191,7 +191,7 @@ namespace Tizen.Applications.RPCPort
         }
 
         /// <summary>
-        /// Release all resources used by the class ProxyBase
+        /// Release all resources used by the class ProxyBase.
         /// </summary>
         /// <since_tizen> 5 </since_tizen>
         public void Dispose()
index 08ed890..3e642b3 100755 (executable)
@@ -19,7 +19,7 @@ using System;
 namespace Tizen.Applications.RPCPort
 {
     /// <summary>
-    /// Abstract class for making a stub class for RPC
+    /// Abstract class for creating a stub class for RPC.
     /// </summary>
     /// <since_tizen> 5 </since_tizen>
     public abstract class StubBase : IDisposable
@@ -30,16 +30,16 @@ namespace Tizen.Applications.RPCPort
         private IntPtr _stub;
 
         /// <summary>
-        /// Gets port name
+        /// Gets port name.
         /// </summary>
         /// <since_tizen> 5 </since_tizen>
         public string PortName { get; }
 
         /// <summary>
-        /// Constructor for this class
+        /// Constructor for this class.
         /// </summary>
-        /// <param name="portName">The name of the port which want to listen</param>
-        /// <exception cref="InvalidIOException">Thrown when internal IO error happens</exception>
+        /// <param name="portName">The name of the port that wants to listen.</param>
+        /// <exception cref="InvalidIOException">Thrown when an internal IO error occurs.</exception>
         /// <since_tizen> 5 </since_tizen>
         public StubBase(string portName)
         {
@@ -55,9 +55,9 @@ namespace Tizen.Applications.RPCPort
         }
 
         /// <summary>
-        /// Listens to the requests for connections
+        /// Listens to the requests for connections.
         /// </summary>
-        /// <exception cref="InvalidIOException">Thrown when internal IO error happens</exception>
+        /// <exception cref="InvalidIOException">Thrown when an internal IO error occurs.</exception>
         /// <since_tizen> 5 </since_tizen>
         protected void Listen()
         {
@@ -71,10 +71,10 @@ namespace Tizen.Applications.RPCPort
         }
 
         /// <summary>
-        /// Adds a privilege to the stub
+        /// Adds a privilege to the stub.
         /// </summary>
-        /// <param name="privilege">The privilege to access this stub</param>
-        /// <exception cref="ArgumentNullException">Thrown when the privilege is null</exception>
+        /// <param name="privilege">The privilege to access this stub.</param>
+        /// <exception cref="ArgumentNullException">Thrown when the privilege is null.</exception>
         /// <since_tizen> 5 </since_tizen>
         protected void AddPrivilege(string privilege)
         {
@@ -84,9 +84,9 @@ namespace Tizen.Applications.RPCPort
         }
 
         /// <summary>
-        /// Sets trusted to the stub
+        /// Sets a trusted proxy to the stub.
         /// </summary>
-        /// <param name="trusted">Whether stub allows only trusted proxy or not</param>
+        /// <param name="trusted">Whether stub allows only trusted proxy or not.</param>
         /// <since_tizen> 5 </since_tizen>
         protected void SetTrusted(bool trusted)
         {
@@ -94,13 +94,13 @@ namespace Tizen.Applications.RPCPort
         }
 
         /// <summary>
-        /// Gets s port
+        /// Gets s port.
         /// </summary>
-        /// <param name="t">The type of port</param>
-        /// <param name="instance">The ID of the instance which is connected</param>
-        /// <returns>Port object</returns>
-        /// <exception cref="InvalidIDException">Thrown when invalid instance was used</exception>
-        /// <exception cref="InvalidIOException">Thrown when internal IO error happens</exception>
+        /// <param name="t">The type of port.</param>
+        /// <param name="instance">The ID of the instance, which is connected.</param>
+        /// <returns>Port object.</returns>
+        /// <exception cref="InvalidIDException">Thrown when invalid instance is used.</exception>
+        /// <exception cref="InvalidIOException">Thrown when an internal IO error occurs.</exception>
         /// <since_tizen> 5 </since_tizen>
         protected Port GetPort(Port.Type t, string instance)
         {
@@ -118,33 +118,33 @@ namespace Tizen.Applications.RPCPort
         }
 
         /// <summary>
-        /// Abstract method for receiving connected event
+        /// Abstract method for receiving connected event.
         /// </summary>
-        /// <param name="sender">The target proxy app ID</param>
-        /// <param name="instance">The information of the request</param>
+        /// <param name="sender">The target proxy app ID.</param>
+        /// <param name="instance">The information about the request.</param>
         /// <since_tizen> 5 </since_tizen>
         protected abstract void OnConnectedEvent(string sender, string instance);
 
         /// <summary>
-        /// Abstract method for receiving disconnected event
+        /// Abstract method for receiving disconnected event.
         /// </summary>
-        /// <param name="sender">The target proxy app ID</param>
-        /// <param name="instance">The information of the request</param>
+        /// <param name="sender">The target proxy app ID.</param>
+        /// <param name="instance">The information about the request.</param>
         /// <since_tizen> 5 </since_tizen>
         protected abstract void OnDisconnectedEvent(string sender, string instance);
 
         /// <summary>
-        /// Abstract method called when the stub received data from proxy
+        /// Abstract method called when the stub receives data from proxy.
         /// </summary>
-        /// <param name="sender">The target proxy app ID</param>
-        /// <param name="instance">The information of the request</param>
-        /// <param name="port">Port object for reading and writing</param>
-        /// <returns>'true' to continue receiving data, otherwise 'false' to disconnect from the port</returns>
+        /// <param name="sender">The target proxy app ID.</param>
+        /// <param name="instance">The information about the request.</param>
+        /// <param name="port">Port object for reading and writing.</param>
+        /// <returns><c>true</c> to continue receiving data, otherwise <c>false</c> to disconnect from the port.</returns>
         /// <since_tizen> 5 </since_tizen>
         protected abstract bool OnReceivedEvent(string sender, string instance, Port port);
 
         /// <summary>
-        /// Abstract method called right before disposing object
+        /// Abstract method called immediately before disposing an object.
         /// </summary>
         /// <since_tizen> 5 </since_tizen>
         protected abstract void OnTerminatedEvent();
@@ -189,7 +189,7 @@ namespace Tizen.Applications.RPCPort
         }
 
         /// <summary>
-        /// Finalizer of the class StubBase
+        /// Finalizer of the class StubBase.
         /// </summary>
         ~StubBase()
         {
@@ -197,7 +197,7 @@ namespace Tizen.Applications.RPCPort
         }
 
         /// <summary>
-        /// Release all resources used by the class StubBase
+        /// Release all the resources used by the class StubBase.
         /// </summary>
         public void Dispose()
         {