diff --git a/websocket-sharp/Net/CookieCollection.cs b/websocket-sharp/Net/CookieCollection.cs index 2dd80210..389674eb 100644 --- a/websocket-sharp/Net/CookieCollection.cs +++ b/websocket-sharp/Net/CookieCollection.cs @@ -95,11 +95,10 @@ namespace WebSocketSharp.Net #region Public Properties /// - /// Gets the number of cookies contained in the . + /// Gets the number of cookies in the collection. /// /// - /// An that represents the number of cookies contained in - /// the . + /// An that represents the number of cookies in the collection. /// public int Count { get { @@ -108,10 +107,10 @@ namespace WebSocketSharp.Net } /// - /// Gets a value indicating whether the is read-only. + /// Gets a value indicating whether the collection is read-only. /// /// - /// true if the is read-only; otherwise, false. + /// true if the collection is read-only; otherwise, false. /// The default value is true. /// public bool IsReadOnly { @@ -123,12 +122,11 @@ namespace WebSocketSharp.Net } /// - /// Gets a value indicating whether the access to the is - /// thread safe. + /// Gets a value indicating whether the access to the collection is thread safe. /// /// - /// true if the access to the is thread safe; - /// otherwise, false. The default value is false. + /// true if the access to the collection is thread safe; otherwise, false. + /// The default value is false. /// public bool IsSynchronized { get { @@ -137,19 +135,18 @@ namespace WebSocketSharp.Net } /// - /// Gets the with the specified from - /// the . + /// Gets the at the specified from + /// the collection. /// /// - /// A with the specified in - /// the . + /// A at the specified in the collection. /// /// /// An that represents the zero-based index of the /// to find. /// /// - /// isn't between zero and . + /// is out of allowable range of indexes for the collection. /// public Cookie this [int index] { get { @@ -162,11 +159,10 @@ namespace WebSocketSharp.Net /// /// Gets the with the specified from - /// the . + /// the collection. /// /// - /// A with the specified in - /// the . + /// A with the specified in the collection. /// /// /// A that represents the name of the to find. @@ -188,10 +184,10 @@ namespace WebSocketSharp.Net } /// - /// Gets an object used to synchronize access to the . + /// Gets an object used to synchronize access to the collection. /// /// - /// An used to synchronize access to the . + /// An used to synchronize access to the collection. /// public Object SyncRoot { get { @@ -453,10 +449,10 @@ namespace WebSocketSharp.Net #region Public Methods /// - /// Add the specified to the . + /// Adds the specified to the collection. /// /// - /// A to add to the . + /// A to add. /// /// /// is . @@ -476,11 +472,10 @@ namespace WebSocketSharp.Net } /// - /// Add the elements of the specified to the current - /// . + /// Adds the specified to the collection. /// /// - /// A to add to the current . + /// A that contains the cookies to add. /// /// /// is . @@ -495,13 +490,12 @@ namespace WebSocketSharp.Net } /// - /// Copies the elements of the to the specified - /// , starting at the specified in - /// the . + /// Copies the elements of the collection to the specified , starting at + /// the specified in the . /// /// - /// An is the destination of the elements copied from - /// the . + /// An that represents the destination of the elements copied from + /// the collection. /// /// /// An that represents the zero-based index in @@ -521,13 +515,13 @@ namespace WebSocketSharp.Net /// -or- /// /// - /// The number of elements in the is greater than the available - /// space from index to the end of the destination . + /// The number of elements in the collection is greater than the available space from + /// to the end of the destination . /// /// /// - /// The elements in the cannot be cast automatically to the type - /// of the destination . + /// The elements in the collection cannot be cast automatically to the type of the destination + /// . /// public void CopyTo (Array array, int index) { @@ -535,10 +529,10 @@ namespace WebSocketSharp.Net throw new ArgumentNullException ("array"); if (index < 0) - throw new ArgumentOutOfRangeException ("index", "Must not be less than zero."); + throw new ArgumentOutOfRangeException ("index", "Less than zero."); if (array.Rank > 1) - throw new ArgumentException ("Must not be multidimensional.", "array"); + throw new ArgumentException ("Multidimensional.", "array"); if (array.Length - index < _list.Count) throw new ArgumentException ( @@ -552,13 +546,12 @@ namespace WebSocketSharp.Net } /// - /// Copies the elements of the to the specified array of - /// , starting at the specified in - /// the . + /// Copies the elements of the collection to the specified array of , + /// starting at the specified in the . /// /// - /// An array of is the destination of the elements copied from - /// the . + /// An array of that represents the destination of the elements + /// copied from the collection. /// /// /// An that represents the zero-based index in @@ -571,8 +564,8 @@ namespace WebSocketSharp.Net /// is less than zero. /// /// - /// The number of elements in the is greater than the available - /// space from index to the end of the destination . + /// The number of elements in the collection is greater than the available space from + /// to the end of the destination . /// public void CopyTo (Cookie [] array, int index) { @@ -580,7 +573,7 @@ namespace WebSocketSharp.Net throw new ArgumentNullException ("array"); if (index < 0) - throw new ArgumentOutOfRangeException ("index", "Must not be less than zero."); + throw new ArgumentOutOfRangeException ("index", "Less than zero."); if (array.Length - index < _list.Count) throw new ArgumentException ( @@ -590,11 +583,10 @@ namespace WebSocketSharp.Net } /// - /// Gets the enumerator used to iterate through the . + /// Gets the enumerator used to iterate through the collection. /// /// - /// An instance used to iterate through - /// the . + /// An instance used to iterate through the collection. /// public IEnumerator GetEnumerator () {