diff --git a/websocket-sharp/Net/HttpListenerPrefix.cs b/websocket-sharp/Net/HttpListenerPrefix.cs
index e470f082..cbbfbf02 100644
--- a/websocket-sharp/Net/HttpListenerPrefix.cs
+++ b/websocket-sharp/Net/HttpListenerPrefix.cs
@@ -59,7 +59,16 @@ namespace WebSocketSharp.Net
#region Internal Constructors
- // Must be called after calling the CheckPrefix method.
+ ///
+ /// Initializes a new instance of the class with
+ /// the specified .
+ ///
+ ///
+ /// This constructor must be called after calling the CheckPrefix method.
+ ///
+ ///
+ /// A that represents the URI prefix.
+ ///
internal HttpListenerPrefix (string uriPrefix)
{
_original = uriPrefix;
@@ -176,13 +185,34 @@ namespace WebSocketSharp.Net
throw new ArgumentException ("No path is specified.", "uriPrefix");
}
- // The Equals and GetHashCode methods are required to detect duplicates in any collection.
+ ///
+ /// Determines whether this instance and the specified have the same value.
+ ///
+ ///
+ /// This method will be required to detect duplicates in any collection.
+ ///
+ ///
+ /// An to compare to this instance.
+ ///
+ ///
+ /// true if is a and
+ /// its value is the same as this instance; otherwise, false.
+ ///
public override bool Equals (Object obj)
{
var pref = obj as HttpListenerPrefix;
return pref != null && pref._prefix == _prefix;
}
+ ///
+ /// Gets the hash code for this instance.
+ ///
+ ///
+ /// This method will be required to detect duplicates in any collection.
+ ///
+ ///
+ /// An that represents the hash code.
+ ///
public override int GetHashCode ()
{
return _prefix.GetHashCode ();