Fix due to the modified WebHeaderCollection.cs

This commit is contained in:
sta 2013-03-19 19:45:50 +09:00
parent e370d0f879
commit 01d97d02b6
70 changed files with 1824 additions and 688 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -69,12 +69,6 @@ namespace WebSocketSharp {
act(); act();
} }
private static void times(this ulong n, Action<ulong> act)
{
for (ulong i = 0; i < n; i++)
act(i);
}
#endregion #endregion
#region Internal Method #region Internal Method
@ -945,10 +939,10 @@ namespace WebSocketSharp {
/// Executes the specified <see cref="Action"/> delegate <paramref name="n"/> times. /// Executes the specified <see cref="Action"/> delegate <paramref name="n"/> times.
/// </summary> /// </summary>
/// <param name="n"> /// <param name="n">
/// An <see cref="int"/> that contains the number of times to execute. /// An <see cref="int"/> is the number of times to execute.
/// </param> /// </param>
/// <param name="act"> /// <param name="act">
/// An <see cref="Action"/> delegate that contains the method(s) to execute. /// An <see cref="Action"/> delegate that references the method(s) to execute.
/// </param> /// </param>
public static void Times(this int n, Action act) public static void Times(this int n, Action act)
{ {
@ -960,10 +954,10 @@ namespace WebSocketSharp {
/// Executes the specified <see cref="Action"/> delegate <paramref name="n"/> times. /// Executes the specified <see cref="Action"/> delegate <paramref name="n"/> times.
/// </summary> /// </summary>
/// <param name="n"> /// <param name="n">
/// A <see cref="long"/> that contains the number of times to execute. /// A <see cref="long"/> is the number of times to execute.
/// </param> /// </param>
/// <param name="act"> /// <param name="act">
/// An <see cref="Action"/> delegate that contains the method(s) to execute. /// An <see cref="Action"/> delegate that references the method(s) to execute.
/// </param> /// </param>
public static void Times(this long n, Action act) public static void Times(this long n, Action act)
{ {
@ -975,10 +969,10 @@ namespace WebSocketSharp {
/// Executes the specified <see cref="Action"/> delegate <paramref name="n"/> times. /// Executes the specified <see cref="Action"/> delegate <paramref name="n"/> times.
/// </summary> /// </summary>
/// <param name="n"> /// <param name="n">
/// A <see cref="uint"/> that contains the number of times to execute. /// A <see cref="uint"/> is the number of times to execute.
/// </param> /// </param>
/// <param name="act"> /// <param name="act">
/// An <see cref="Action"/> delegate that contains the method(s) to execute. /// An <see cref="Action"/> delegate that references the method(s) to execute.
/// </param> /// </param>
public static void Times(this uint n, Action act) public static void Times(this uint n, Action act)
{ {
@ -990,10 +984,10 @@ namespace WebSocketSharp {
/// Executes the specified <see cref="Action"/> delegate <paramref name="n"/> times. /// Executes the specified <see cref="Action"/> delegate <paramref name="n"/> times.
/// </summary> /// </summary>
/// <param name="n"> /// <param name="n">
/// A <see cref="ulong"/> that contains the number of times to execute. /// A <see cref="ulong"/> is the number of times to execute.
/// </param> /// </param>
/// <param name="act"> /// <param name="act">
/// An <see cref="Action"/> delegate that contains the method(s) to execute. /// An <see cref="Action"/> delegate that references the method(s) to execute.
/// </param> /// </param>
public static void Times(this ulong n, Action act) public static void Times(this ulong n, Action act)
{ {
@ -1002,67 +996,71 @@ namespace WebSocketSharp {
} }
/// <summary> /// <summary>
/// Executes the specified <b>Action&lt;ulong&gt;</b> delegate <paramref name="n"/> times. /// Executes the specified <b>Action&lt;int&gt;</b> delegate <paramref name="n"/> times.
/// </summary> /// </summary>
/// <param name="n"> /// <param name="n">
/// An <see cref="int"/> that contains the number of times to execute. /// An <see cref="int"/> is the number of times to execute.
/// </param> /// </param>
/// <param name="act"> /// <param name="act">
/// An <b>Action&lt;ulong&gt;</b> delegate that contains the method(s) to execute. /// An <b>Action&lt;int&gt;</b> delegate that references the method(s) to execute.
/// A <see cref="ulong"/> parameter to pass to this method(s) contains the zero-based count of iteration. /// An <see cref="int"/> parameter to pass to the method(s) is the zero-based count of iteration.
/// </param> /// </param>
public static void Times(this int n, Action<ulong> act) public static void Times(this int n, Action<int> act)
{ {
if (n > 0 && !act.IsNull()) if (n > 0 && !act.IsNull())
((ulong)n).times(act); for (int i = 0; i < n; i++)
act(i);
}
/// <summary>
/// Executes the specified <b>Action&lt;long&gt;</b> delegate <paramref name="n"/> times.
/// </summary>
/// <param name="n">
/// A <see cref="long"/> is the number of times to execute.
/// </param>
/// <param name="act">
/// An <b>Action&lt;long&gt;</b> delegate that references the method(s) to execute.
/// A <see cref="long"/> parameter to pass to the method(s) is the zero-based count of iteration.
/// </param>
public static void Times(this long n, Action<long> act)
{
if (n > 0 && !act.IsNull())
for (long i = 0; i < n; i++)
act(i);
}
/// <summary>
/// Executes the specified <b>Action&lt;uint&gt;</b> delegate <paramref name="n"/> times.
/// </summary>
/// <param name="n">
/// A <see cref="uint"/> is the number of times to execute.
/// </param>
/// <param name="act">
/// An <b>Action&lt;uint&gt;</b> delegate that references the method(s) to execute.
/// A <see cref="uint"/> parameter to pass to the method(s) is the zero-based count of iteration.
/// </param>
public static void Times(this uint n, Action<uint> act)
{
if (n > 0 && !act.IsNull())
for (uint i = 0; i < n; i++)
act(i);
} }
/// <summary> /// <summary>
/// Executes the specified <b>Action&lt;ulong&gt;</b> delegate <paramref name="n"/> times. /// Executes the specified <b>Action&lt;ulong&gt;</b> delegate <paramref name="n"/> times.
/// </summary> /// </summary>
/// <param name="n"> /// <param name="n">
/// A <see cref="long"/> that contains the number of times to execute. /// A <see cref="ulong"/> is the number of times to execute.
/// </param> /// </param>
/// <param name="act"> /// <param name="act">
/// An <b>Action&lt;ulong&gt;</b> delegate that contains the method(s) to execute. /// An <b>Action&lt;ulong&gt;</b> delegate that references the method(s) to execute.
/// A <see cref="ulong"/> parameter to pass to this method(s) contains the zero-based count of iteration. /// A <see cref="ulong"/> parameter to pass to this method(s) is the zero-based count of iteration.
/// </param>
public static void Times(this long n, Action<ulong> act)
{
if (n > 0 && !act.IsNull())
((ulong)n).times(act);
}
/// <summary>
/// Executes the specified <b>Action&lt;ulong&gt;</b> delegate <paramref name="n"/> times.
/// </summary>
/// <param name="n">
/// A <see cref="uint"/> that contains the number of times to execute.
/// </param>
/// <param name="act">
/// An <b>Action&lt;ulong&gt;</b> delegate that contains the method(s) to execute.
/// A <see cref="ulong"/> parameter to pass to this method(s) contains the zero-based count of iteration.
/// </param>
public static void Times(this uint n, Action<ulong> act)
{
if (n > 0 && !act.IsNull())
((ulong)n).times(act);
}
/// <summary>
/// Executes the specified <b>Action&lt;ulong&gt;</b> delegate <paramref name="n"/> times.
/// </summary>
/// <param name="n">
/// A <see cref="ulong"/> that contains the number of times to execute.
/// </param>
/// <param name="act">
/// An <b>Action&lt;ulong&gt;</b> delegate that contains the method(s) to execute.
/// A <see cref="ulong"/> parameter to pass to this method(s) contains the zero-based count of iteration.
/// </param> /// </param>
public static void Times(this ulong n, Action<ulong> act) public static void Times(this ulong n, Action<ulong> act)
{ {
if (n > 0 && !act.IsNull()) if (n > 0 && !act.IsNull())
n.times(act); for (ulong i = 0; i < n; i++)
act(i);
} }
/// <summary> /// <summary>

View File

@ -0,0 +1,99 @@
//
// HttpHeaderInfo.cs
//
// Authors:
// sta (sta.blockhead@gmail.com)
//
// Copyright (c) 2013 sta.blockhead (sta.blockhead@gmail.com)
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or sell copies of the Software, and to
// permit persons to whom the Software is furnished to do so, subject to
// the following conditions:
//
// The above copyright notice and this permission notice shall be
// included in all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
using System;
namespace WebSocketSharp.Net {
class HttpHeaderInfo {
#region Constructor
public HttpHeaderInfo ()
{
}
#endregion
#region Properties
public bool IsMultiValueInRequest {
get {
return (Type & HttpHeaderType.MultiValueInRequest) == HttpHeaderType.MultiValueInRequest;
}
}
public bool IsMultiValueInResponse {
get {
return (Type & HttpHeaderType.MultiValueInResponse) == HttpHeaderType.MultiValueInResponse;
}
}
public bool IsRequest {
get {
return (Type & HttpHeaderType.Request) == HttpHeaderType.Request;
}
}
public bool IsResponse {
get {
return (Type & HttpHeaderType.Response) == HttpHeaderType.Response;
}
}
public string Name { get; set; }
public HttpHeaderType Type { get; set; }
#endregion
#region Methods
public bool IsMultiValue (bool response)
{
return (Type & HttpHeaderType.MultiValue) != HttpHeaderType.MultiValue
? response
? IsMultiValueInResponse
: IsMultiValueInRequest
: response
? IsResponse
: IsRequest;
}
public bool IsRestricted (bool response)
{
return (Type & HttpHeaderType.Restricted) != HttpHeaderType.Restricted
? false
: response
? IsResponse
: IsRequest;
}
#endregion
}
}

View File

@ -0,0 +1,44 @@
//
// HttpHeaderType.cs
//
// Authors:
// sta (sta.blockhead@gmail.com)
//
// Copyright (c) 2013 sta.blockhead (sta.blockhead@gmail.com)
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or sell copies of the Software, and to
// permit persons to whom the Software is furnished to do so, subject to
// the following conditions:
//
// The above copyright notice and this permission notice shall be
// included in all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
using System;
namespace WebSocketSharp.Net {
[Flags]
enum HttpHeaderType
{
Undefined,
Request,
Response,
Restricted,
MultiValue,
MultiValueInRequest,
MultiValueInResponse
}
}

View File

@ -112,7 +112,7 @@ namespace WebSocketSharp.Net {
public int ClientCertificateError { public int ClientCertificateError {
// TODO: Always returns 0 // TODO: Always returns 0
get { get {
/* /*
if (no_get_certificate) if (no_get_certificate)
throw new InvalidOperationException ( throw new InvalidOperationException (
"Call GetClientCertificate() before calling this method."); "Call GetClientCertificate() before calling this method.");
@ -470,7 +470,7 @@ namespace WebSocketSharp.Net {
string name = header.Substring (0, colon).Trim (); string name = header.Substring (0, colon).Trim ();
string val = header.Substring (colon + 1).Trim (); string val = header.Substring (colon + 1).Trim ();
string lower = name.ToLower (CultureInfo.InvariantCulture); string lower = name.ToLower (CultureInfo.InvariantCulture);
headers.SetInternal (name, val); headers.SetInternal (name, val, false);
switch (lower) { switch (lower) {
case "accept-language": case "accept-language":
user_languages = val.Split (','); // yes, only split with a ',' user_languages = val.Split (','); // yes, only split with a ','

View File

@ -483,18 +483,18 @@ namespace WebSocketSharp.Net {
if (content_type != null) { if (content_type != null) {
if (content_encoding != null && content_type.IndexOf ("charset=", StringComparison.Ordinal) == -1) { if (content_encoding != null && content_type.IndexOf ("charset=", StringComparison.Ordinal) == -1) {
string enc_name = content_encoding.WebName; string enc_name = content_encoding.WebName;
headers.SetInternal ("Content-Type", content_type + "; charset=" + enc_name); headers.SetInternal ("Content-Type", content_type + "; charset=" + enc_name, true);
} else { } else {
headers.SetInternal ("Content-Type", content_type); headers.SetInternal ("Content-Type", content_type, true);
} }
} }
if (headers ["Server"] == null) if (headers ["Server"] == null)
headers.SetInternal ("Server", "WebSocketSharp-HTTPAPI/1.0"); headers.SetInternal ("Server", "WebSocketSharp-HTTPAPI/1.0", true);
CultureInfo inv = CultureInfo.InvariantCulture; CultureInfo inv = CultureInfo.InvariantCulture;
if (headers ["Date"] == null) if (headers ["Date"] == null)
headers.SetInternal ("Date", DateTime.UtcNow.ToString ("r", inv)); headers.SetInternal ("Date", DateTime.UtcNow.ToString ("r", inv), true);
if (!chunked) { if (!chunked) {
if (!cl_set && closing) { if (!cl_set && closing) {
@ -503,7 +503,7 @@ namespace WebSocketSharp.Net {
} }
if (cl_set) if (cl_set)
headers.SetInternal ("Content-Length", content_length.ToString (inv)); headers.SetInternal ("Content-Length", content_length.ToString (inv), true);
} }
Version v = context.Request.ProtocolVersion; Version v = context.Request.ProtocolVersion;
@ -528,39 +528,39 @@ namespace WebSocketSharp.Net {
// They sent both KeepAlive: true and Connection: close!? // They sent both KeepAlive: true and Connection: close!?
if (!keep_alive || conn_close) { if (!keep_alive || conn_close) {
headers.SetInternal ("Connection", "close"); headers.SetInternal ("Connection", "close", true);
conn_close = true; conn_close = true;
} }
if (chunked) if (chunked)
headers.SetInternal ("Transfer-Encoding", "chunked"); headers.SetInternal ("Transfer-Encoding", "chunked", true);
int reuses = context.Connection.Reuses; int reuses = context.Connection.Reuses;
if (reuses >= 100) { if (reuses >= 100) {
force_close_chunked = true; force_close_chunked = true;
if (!conn_close) { if (!conn_close) {
headers.SetInternal ("Connection", "close"); headers.SetInternal ("Connection", "close", true);
conn_close = true; conn_close = true;
} }
} }
if (!conn_close) { if (!conn_close) {
headers.SetInternal ("Keep-Alive", String.Format ("timeout=15,max={0}", 100 - reuses)); headers.SetInternal ("Keep-Alive", String.Format ("timeout=15,max={0}", 100 - reuses), true);
if (context.Request.ProtocolVersion <= HttpVersion.Version10) if (context.Request.ProtocolVersion <= HttpVersion.Version10)
headers.SetInternal ("Connection", "keep-alive"); headers.SetInternal ("Connection", "keep-alive", true);
} }
if (location != null) if (location != null)
headers.SetInternal ("Location", location); headers.SetInternal ("Location", location, true);
if (cookies != null) { if (cookies != null) {
foreach (Cookie cookie in cookies) foreach (Cookie cookie in cookies)
headers.SetInternal ("Set-Cookie", cookie.ToClientString ()); headers.SetInternal ("Set-Cookie", cookie.ToClientString (), true);
} }
StreamWriter writer = new StreamWriter (ms, encoding, 256); StreamWriter writer = new StreamWriter (ms, encoding, 256);
writer.Write ("HTTP/{0} {1} {2}\r\n", version, status_code, status_description); writer.Write ("HTTP/{0} {1} {2}\r\n", version, status_code, status_description);
string headers_str = headers.ToStringMultiValue (); string headers_str = headers.ToStringMultiValue (true);
writer.Write (headers_str); writer.Write (headers_str);
writer.Flush (); writer.Flush ();
int preamble = (encoding.CodePage == 65001) ? 3 : encoding.GetPreamble ().Length; int preamble = (encoding.CodePage == 65001) ? 3 : encoding.GetPreamble ().Length;

File diff suppressed because it is too large Load Diff

View File

@ -148,7 +148,7 @@ namespace WebSocketSharp {
var headers = new WebHeaderCollection(); var headers = new WebHeaderCollection();
for (int i = 1; i < request.Length; i++) for (int i = 1; i < request.Length; i++)
headers.Add(request[i]); headers.SetInternal (request[i], false);
return new RequestHandshake { return new RequestHandshake {
Headers = headers, Headers = headers,

View File

@ -96,7 +96,7 @@ namespace WebSocketSharp {
var headers = new WebHeaderCollection(); var headers = new WebHeaderCollection();
for (int i = 1; i < response.Length; i++) for (int i = 1; i < response.Length; i++)
headers.Add(response[i]); headers.SetInternal (response[i], true);
return new ResponseHandshake { return new ResponseHandshake {
Headers = headers, Headers = headers,

View File

@ -462,10 +462,10 @@
Executes the specified <see cref="T:System.Action" /> delegate <paramref name="n" /> times. Executes the specified <see cref="T:System.Action" /> delegate <paramref name="n" /> times.
</summary> </summary>
<param name="n"> <param name="n">
An <see cref="T:System.Int32" /> that contains the number of times to execute. An <see cref="T:System.Int32" /> is the number of times to execute.
</param> </param>
<param name="act"> <param name="act">
An <see cref="T:System.Action" /> delegate that contains the method(s) to execute. An <see cref="T:System.Action" /> delegate that references the method(s) to execute.
</param> </param>
</member> </member>
<member name="M:WebSocketSharp.Ext.Times(System.Int64,System.Action)"> <member name="M:WebSocketSharp.Ext.Times(System.Int64,System.Action)">
@ -473,10 +473,10 @@
Executes the specified <see cref="T:System.Action" /> delegate <paramref name="n" /> times. Executes the specified <see cref="T:System.Action" /> delegate <paramref name="n" /> times.
</summary> </summary>
<param name="n"> <param name="n">
A <see cref="T:System.Int64" /> that contains the number of times to execute. A <see cref="T:System.Int64" /> is the number of times to execute.
</param> </param>
<param name="act"> <param name="act">
An <see cref="T:System.Action" /> delegate that contains the method(s) to execute. An <see cref="T:System.Action" /> delegate that references the method(s) to execute.
</param> </param>
</member> </member>
<member name="M:WebSocketSharp.Ext.Times(System.UInt32,System.Action)"> <member name="M:WebSocketSharp.Ext.Times(System.UInt32,System.Action)">
@ -484,10 +484,10 @@
Executes the specified <see cref="T:System.Action" /> delegate <paramref name="n" /> times. Executes the specified <see cref="T:System.Action" /> delegate <paramref name="n" /> times.
</summary> </summary>
<param name="n"> <param name="n">
A <see cref="T:System.UInt32" /> that contains the number of times to execute. A <see cref="T:System.UInt32" /> is the number of times to execute.
</param> </param>
<param name="act"> <param name="act">
An <see cref="T:System.Action" /> delegate that contains the method(s) to execute. An <see cref="T:System.Action" /> delegate that references the method(s) to execute.
</param> </param>
</member> </member>
<member name="M:WebSocketSharp.Ext.Times(System.UInt64,System.Action)"> <member name="M:WebSocketSharp.Ext.Times(System.UInt64,System.Action)">
@ -495,46 +495,46 @@
Executes the specified <see cref="T:System.Action" /> delegate <paramref name="n" /> times. Executes the specified <see cref="T:System.Action" /> delegate <paramref name="n" /> times.
</summary> </summary>
<param name="n"> <param name="n">
A <see cref="T:System.UInt64" /> that contains the number of times to execute. A <see cref="T:System.UInt64" /> is the number of times to execute.
</param> </param>
<param name="act"> <param name="act">
An <see cref="T:System.Action" /> delegate that contains the method(s) to execute. An <see cref="T:System.Action" /> delegate that references the method(s) to execute.
</param> </param>
</member> </member>
<member name="M:WebSocketSharp.Ext.Times(System.Int32,System.Action{System.UInt64})"> <member name="M:WebSocketSharp.Ext.Times(System.Int32,System.Action{System.Int32})">
<summary> <summary>
Executes the specified <b>Action&lt;ulong&gt;</b> delegate <paramref name="n" /> times. Executes the specified <b>Action&lt;int&gt;</b> delegate <paramref name="n" /> times.
</summary> </summary>
<param name="n"> <param name="n">
An <see cref="T:System.Int32" /> that contains the number of times to execute. An <see cref="T:System.Int32" /> is the number of times to execute.
</param> </param>
<param name="act"> <param name="act">
An <b>Action&lt;ulong&gt;</b> delegate that contains the method(s) to execute. An <b>Action&lt;int&gt;</b> delegate that references the method(s) to execute.
A <see cref="T:System.UInt64" /> parameter to pass to this method(s) contains the zero-based count of iteration. An <see cref="T:System.Int32" /> parameter to pass to the method(s) is the zero-based count of iteration.
</param> </param>
</member> </member>
<member name="M:WebSocketSharp.Ext.Times(System.Int64,System.Action{System.UInt64})"> <member name="M:WebSocketSharp.Ext.Times(System.Int64,System.Action{System.Int64})">
<summary> <summary>
Executes the specified <b>Action&lt;ulong&gt;</b> delegate <paramref name="n" /> times. Executes the specified <b>Action&lt;long&gt;</b> delegate <paramref name="n" /> times.
</summary> </summary>
<param name="n"> <param name="n">
A <see cref="T:System.Int64" /> that contains the number of times to execute. A <see cref="T:System.Int64" /> is the number of times to execute.
</param> </param>
<param name="act"> <param name="act">
An <b>Action&lt;ulong&gt;</b> delegate that contains the method(s) to execute. An <b>Action&lt;long&gt;</b> delegate that references the method(s) to execute.
A <see cref="T:System.UInt64" /> parameter to pass to this method(s) contains the zero-based count of iteration. A <see cref="T:System.Int64" /> parameter to pass to the method(s) is the zero-based count of iteration.
</param> </param>
</member> </member>
<member name="M:WebSocketSharp.Ext.Times(System.UInt32,System.Action{System.UInt64})"> <member name="M:WebSocketSharp.Ext.Times(System.UInt32,System.Action{System.UInt32})">
<summary> <summary>
Executes the specified <b>Action&lt;ulong&gt;</b> delegate <paramref name="n" /> times. Executes the specified <b>Action&lt;uint&gt;</b> delegate <paramref name="n" /> times.
</summary> </summary>
<param name="n"> <param name="n">
A <see cref="T:System.UInt32" /> that contains the number of times to execute. A <see cref="T:System.UInt32" /> is the number of times to execute.
</param> </param>
<param name="act"> <param name="act">
An <b>Action&lt;ulong&gt;</b> delegate that contains the method(s) to execute. An <b>Action&lt;uint&gt;</b> delegate that references the method(s) to execute.
A <see cref="T:System.UInt64" /> parameter to pass to this method(s) contains the zero-based count of iteration. A <see cref="T:System.UInt32" /> parameter to pass to the method(s) is the zero-based count of iteration.
</param> </param>
</member> </member>
<member name="M:WebSocketSharp.Ext.Times(System.UInt64,System.Action{System.UInt64})"> <member name="M:WebSocketSharp.Ext.Times(System.UInt64,System.Action{System.UInt64})">
@ -542,11 +542,11 @@
Executes the specified <b>Action&lt;ulong&gt;</b> delegate <paramref name="n" /> times. Executes the specified <b>Action&lt;ulong&gt;</b> delegate <paramref name="n" /> times.
</summary> </summary>
<param name="n"> <param name="n">
A <see cref="T:System.UInt64" /> that contains the number of times to execute. A <see cref="T:System.UInt64" /> is the number of times to execute.
</param> </param>
<param name="act"> <param name="act">
An <b>Action&lt;ulong&gt;</b> delegate that contains the method(s) to execute. An <b>Action&lt;ulong&gt;</b> delegate that references the method(s) to execute.
A <see cref="T:System.UInt64" /> parameter to pass to this method(s) contains the zero-based count of iteration. A <see cref="T:System.UInt64" /> parameter to pass to this method(s) is the zero-based count of iteration.
</param> </param>
</member> </member>
<member name="M:WebSocketSharp.Ext.To``1(System.Byte[],WebSocketSharp.ByteOrder)"> <member name="M:WebSocketSharp.Ext.To``1(System.Byte[],WebSocketSharp.ByteOrder)">
@ -2965,11 +2965,17 @@
with the specified <see cref="T:System.Runtime.Serialization.SerializationInfo" /> and <see cref="T:System.Runtime.Serialization.StreamingContext" />. with the specified <see cref="T:System.Runtime.Serialization.SerializationInfo" /> and <see cref="T:System.Runtime.Serialization.StreamingContext" />.
</summary> </summary>
<param name="serializationInfo"> <param name="serializationInfo">
A <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data. A <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that contains the data to need to serialize the <see cref="T:WebSocketSharp.Net.WebHeaderCollection" /> object.
</param> </param>
<param name="streamingContext"> <param name="streamingContext">
A <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains the contextual information about the source or destination. A <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains the source of the serialized stream associated with the new <see cref="T:WebSocketSharp.Net.WebHeaderCollection" />.
</param> </param>
<exception cref="T:System.ArgumentNullException">
<paramref name="serializationInfo" /> is <see langword="null" />.
</exception>
<exception cref="T:System.ArgumentException">
An element with the specified name is not found in <paramref name="serializationInfo" />.
</exception>
</member> </member>
<member name="M:WebSocketSharp.Net.WebHeaderCollection.#ctor"> <member name="M:WebSocketSharp.Net.WebHeaderCollection.#ctor">
<summary> <summary>
@ -2984,8 +2990,25 @@
A <see cref="T:System.String" /> that contains the value of the specified request <paramref name="header" />. A <see cref="T:System.String" /> that contains the value of the specified request <paramref name="header" />.
</value> </value>
<param name="header"> <param name="header">
A <see cref="T:System.Net.HttpRequestHeader" /> that contains a request header name. A <see cref="T:System.Net.HttpRequestHeader" /> that indicates a request header.
</param> </param>
<exception cref="T:System.InvalidOperationException">
The current <see cref="T:WebSocketSharp.Net.WebHeaderCollection" /> instance does not allow any of <see cref="T:System.Net.HttpRequestHeader" /> values.
</exception>
<exception cref="T:System.ArgumentException">
<para>
<paramref name="header" /> is a restricted header.
</para>
<para>
-or-
</para>
<para>
<paramref name="value" /> contains invalid characters.
</para>
</exception>
<exception cref="T:System.ArgumentOutOfRangeException">
The length of <paramref name="value" /> is greater than 65535.
</exception>
</member> </member>
<member name="P:WebSocketSharp.Net.WebHeaderCollection.Item(System.Net.HttpResponseHeader)"> <member name="P:WebSocketSharp.Net.WebHeaderCollection.Item(System.Net.HttpResponseHeader)">
<summary> <summary>
@ -2995,8 +3018,25 @@
A <see cref="T:System.String" /> that contains the value of the specified response <paramref name="header" />. A <see cref="T:System.String" /> that contains the value of the specified response <paramref name="header" />.
</value> </value>
<param name="header"> <param name="header">
A <see cref="T:System.Net.HttpResponseHeader" /> that contains a response header name. A <see cref="T:System.Net.HttpResponseHeader" /> that indicates a response header.
</param> </param>
<exception cref="T:System.InvalidOperationException">
The current <see cref="T:WebSocketSharp.Net.WebHeaderCollection" /> instance does not allow any of <see cref="T:System.Net.HttpResponseHeader" /> values.
</exception>
<exception cref="T:System.ArgumentException">
<para>
<paramref name="header" /> is a restricted header.
</para>
<para>
-or-
</para>
<para>
<paramref name="value" /> contains invalid characters.
</para>
</exception>
<exception cref="T:System.ArgumentOutOfRangeException">
The length of <paramref name="value" /> is greater than 65535.
</exception>
</member> </member>
<member name="P:WebSocketSharp.Net.WebHeaderCollection.AllKeys"> <member name="P:WebSocketSharp.Net.WebHeaderCollection.AllKeys">
<summary> <summary>
@ -3024,14 +3064,18 @@
</member> </member>
<member name="M:WebSocketSharp.Net.WebHeaderCollection.System#Runtime#Serialization#ISerializable#GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)"> <member name="M:WebSocketSharp.Net.WebHeaderCollection.System#Runtime#Serialization#ISerializable#GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
<summary> <summary>
Populates the specified <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with the data needed to serialize the <see cref="T:WebSocketSharp.Net.WebHeaderCollection" />. Populates the specified <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with the data to need to
serialize the <see cref="T:WebSocketSharp.Net.WebHeaderCollection" /> object.
</summary> </summary>
<param name="serializationInfo"> <param name="serializationInfo">
A <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data. A <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the data to need to serialize the <see cref="T:WebSocketSharp.Net.WebHeaderCollection" /> object.
</param> </param>
<param name="streamingContext"> <param name="streamingContext">
A <see cref="T:System.Runtime.Serialization.StreamingContext" /> that specifies the destination for the serialization. A <see cref="T:System.Runtime.Serialization.StreamingContext" /> that specifies the destination for the serialization.
</param> </param>
<exception cref="T:System.ArgumentNullException">
<paramref name="serializationInfo" /> is <see langword="null" />.
</exception>
</member> </member>
<member name="M:WebSocketSharp.Net.WebHeaderCollection.AddWithoutValidate(System.String,System.String)"> <member name="M:WebSocketSharp.Net.WebHeaderCollection.AddWithoutValidate(System.String,System.String)">
<summary> <summary>
@ -3043,17 +3087,17 @@
<param name="headerValue"> <param name="headerValue">
A <see cref="T:System.String" /> that contains the value of the header to add. A <see cref="T:System.String" /> that contains the value of the header to add.
</param> </param>
<exception cref="T:System.ArgumentNullException">
<paramref name="headerName" /> is <see langword="null" /> or <see cref="F:System.String.Empty" />.
</exception>
<exception cref="T:System.ArgumentException"> <exception cref="T:System.ArgumentException">
<para> <paramref name="headerName" /> or <paramref name="headerValue" /> contains invalid characters.
<paramref name="headerName" /> is <see langword="null" />, <see cref="F:System.String.Empty" />, or </exception>
contains invalid characters. <exception cref="T:System.ArgumentOutOfRangeException">
</para> The length of <paramref name="headerValue" /> is greater than 65535.
<para> </exception>
-or- <exception cref="T:System.InvalidOperationException">
</para> The current <see cref="T:WebSocketSharp.Net.WebHeaderCollection" /> instance does not allow the <paramref name="headerName" />.
<para>
<paramref name="headerValue" /> contains invalid characters.
</para>
</exception> </exception>
</member> </member>
<member name="M:WebSocketSharp.Net.WebHeaderCollection.Add(System.String)"> <member name="M:WebSocketSharp.Net.WebHeaderCollection.Add(System.String)">
@ -3064,10 +3108,31 @@
A <see cref="T:System.String" /> that contains a header with the name and value separated by a colon (:). A <see cref="T:System.String" /> that contains a header with the name and value separated by a colon (:).
</param> </param>
<exception cref="T:System.ArgumentNullException"> <exception cref="T:System.ArgumentNullException">
<paramref name="header" /> is <see langword="null" /> or a <see cref="F:System.String.Empty" />. <paramref name="header" /> is <see langword="null" />, <see cref="F:System.String.Empty" />, or
the name part of <paramref name="header" /> is <see cref="F:System.String.Empty" />.
</exception> </exception>
<exception cref="T:System.ArgumentException"> <exception cref="T:System.ArgumentException">
<paramref name="header" /> does not contain a colon. <para>
<paramref name="header" /> does not contain a colon.
</para>
<para>
-or-
</para>
<para>
<paramref name="header" /> is a restricted header.
</para>
<para>
-or-
</para>
<para>
The name or value part of <paramref name="header" /> contains invalid characters.
</para>
</exception>
<exception cref="T:System.ArgumentOutOfRangeException">
The length of the value part of <paramref name="header" /> is greater than 65535.
</exception>
<exception cref="T:System.InvalidOperationException">
The current <see cref="T:WebSocketSharp.Net.WebHeaderCollection" /> instance does not allow the <paramref name="header" />.
</exception> </exception>
</member> </member>
<member name="M:WebSocketSharp.Net.WebHeaderCollection.Add(System.Net.HttpRequestHeader,System.String)"> <member name="M:WebSocketSharp.Net.WebHeaderCollection.Add(System.Net.HttpRequestHeader,System.String)">
@ -3075,22 +3140,56 @@
Adds the specified request <paramref name="header" /> with the specified <paramref name="value" /> to the collection. Adds the specified request <paramref name="header" /> with the specified <paramref name="value" /> to the collection.
</summary> </summary>
<param name="header"> <param name="header">
A <see cref="T:System.Net.HttpRequestHeader" /> that contains the name of the request header to add. A <see cref="T:System.Net.HttpRequestHeader" /> is a request header to add.
</param> </param>
<param name="value"> <param name="value">
A <see cref="T:System.String" /> that contains the value of the header to add. A <see cref="T:System.String" /> that contains the value of the header to add.
</param> </param>
<exception cref="T:System.InvalidOperationException">
The current <see cref="T:WebSocketSharp.Net.WebHeaderCollection" /> instance does not allow any of <see cref="T:System.Net.HttpRequestHeader" /> values.
</exception>
<exception cref="T:System.ArgumentException">
<para>
<paramref name="header" /> is a restricted header.
</para>
<para>
-or-
</para>
<para>
<paramref name="value" /> contains invalid characters.
</para>
</exception>
<exception cref="T:System.ArgumentOutOfRangeException">
The length of <paramref name="value" /> is greater than 65535.
</exception>
</member> </member>
<member name="M:WebSocketSharp.Net.WebHeaderCollection.Add(System.Net.HttpResponseHeader,System.String)"> <member name="M:WebSocketSharp.Net.WebHeaderCollection.Add(System.Net.HttpResponseHeader,System.String)">
<summary> <summary>
Adds the specified response <paramref name="header" /> with the specified <paramref name="value" /> to the collection. Adds the specified response <paramref name="header" /> with the specified <paramref name="value" /> to the collection.
</summary> </summary>
<param name="header"> <param name="header">
A <see cref="T:System.Net.HttpResponseHeader" /> that contains the name of the response header to add. A <see cref="T:System.Net.HttpResponseHeader" /> is a response header to add.
</param> </param>
<param name="value"> <param name="value">
A <see cref="T:System.String" /> that contains the value of the header to add. A <see cref="T:System.String" /> that contains the value of the header to add.
</param> </param>
<exception cref="T:System.InvalidOperationException">
The current <see cref="T:WebSocketSharp.Net.WebHeaderCollection" /> instance does not allow any of <see cref="T:System.Net.HttpResponseHeader" /> values.
</exception>
<exception cref="T:System.ArgumentException">
<para>
<paramref name="header" /> is a restricted header.
</para>
<para>
-or-
</para>
<para>
<paramref name="value" /> contains invalid characters.
</para>
</exception>
<exception cref="T:System.ArgumentOutOfRangeException">
The length of <paramref name="value" /> is greater than 65535.
</exception>
</member> </member>
<member name="M:WebSocketSharp.Net.WebHeaderCollection.Add(System.String,System.String)"> <member name="M:WebSocketSharp.Net.WebHeaderCollection.Add(System.String,System.String)">
<summary> <summary>
@ -3102,23 +3201,26 @@
<param name="value"> <param name="value">
A <see cref="T:System.String" /> that contains the value of the header to add. A <see cref="T:System.String" /> that contains the value of the header to add.
</param> </param>
<exception cref="T:System.ArgumentNullException">
<paramref name="name" /> is <see langword="null" /> or <see cref="F:System.String.Empty" />.
</exception>
<exception cref="T:System.ArgumentException"> <exception cref="T:System.ArgumentException">
<para> <para>
<paramref name="name" /> is <see langword="null" /> or a <see cref="F:System.String.Empty" />. <paramref name="name" /> or <paramref name="value" /> contains invalid characters.
</para> </para>
<para> <para>
-or- -or-
</para> </para>
<para> <para>
<paramref name="name" /> is a restricted header that must be set with a property setting. <paramref name="name" /> is a restricted header name.
</para>
<para>
-or-
</para> </para>
</exception> </exception>
<exception cref="T:System.ArgumentOutOfRangeException"> <exception cref="T:System.ArgumentOutOfRangeException">
The length of <paramref name="value" /> is greater than 65535. The length of <paramref name="value" /> is greater than 65535.
</exception> </exception>
<exception cref="T:System.InvalidOperationException">
The current <see cref="T:WebSocketSharp.Net.WebHeaderCollection" /> instance does not allow the header <paramref name="name" />.
</exception>
</member> </member>
<member name="M:WebSocketSharp.Net.WebHeaderCollection.Clear"> <member name="M:WebSocketSharp.Net.WebHeaderCollection.Clear">
<summary> <summary>
@ -3192,14 +3294,18 @@
</member> </member>
<member name="M:WebSocketSharp.Net.WebHeaderCollection.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)"> <member name="M:WebSocketSharp.Net.WebHeaderCollection.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
<summary> <summary>
Populates the specified <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with the data needed to serialize the <see cref="T:WebSocketSharp.Net.WebHeaderCollection" />. Populates the specified <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with the data to need to
serialize the <see cref="T:WebSocketSharp.Net.WebHeaderCollection" /> object.
</summary> </summary>
<param name="serializationInfo"> <param name="serializationInfo">
A <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data. A <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the data to need to serialize the <see cref="T:WebSocketSharp.Net.WebHeaderCollection" /> object.
</param> </param>
<param name="streamingContext"> <param name="streamingContext">
A <see cref="T:System.Runtime.Serialization.StreamingContext" /> that specifies the destination for the serialization. A <see cref="T:System.Runtime.Serialization.StreamingContext" /> that specifies the destination for the serialization.
</param> </param>
<exception cref="T:System.ArgumentNullException">
<paramref name="serializationInfo" /> is <see langword="null" />.
</exception>
</member> </member>
<member name="M:WebSocketSharp.Net.WebHeaderCollection.IsRestricted(System.String)"> <member name="M:WebSocketSharp.Net.WebHeaderCollection.IsRestricted(System.String)">
<summary> <summary>
@ -3254,6 +3360,12 @@
<param name="header"> <param name="header">
A <see cref="T:System.Net.HttpRequestHeader" /> to remove from the collection. A <see cref="T:System.Net.HttpRequestHeader" /> to remove from the collection.
</param> </param>
<exception cref="T:System.InvalidOperationException">
The current <see cref="T:WebSocketSharp.Net.WebHeaderCollection" /> instance does not allow any of <see cref="T:System.Net.HttpRequestHeader" /> values.
</exception>
<exception cref="T:System.ArgumentException">
<paramref name="header" /> is a restricted header.
</exception>
</member> </member>
<member name="M:WebSocketSharp.Net.WebHeaderCollection.Remove(System.Net.HttpResponseHeader)"> <member name="M:WebSocketSharp.Net.WebHeaderCollection.Remove(System.Net.HttpResponseHeader)">
<summary> <summary>
@ -3262,6 +3374,12 @@
<param name="header"> <param name="header">
A <see cref="T:System.Net.HttpResponseHeader" /> to remove from the collection. A <see cref="T:System.Net.HttpResponseHeader" /> to remove from the collection.
</param> </param>
<exception cref="T:System.InvalidOperationException">
The current <see cref="T:WebSocketSharp.Net.WebHeaderCollection" /> instance does not allow any of <see cref="T:System.Net.HttpResponseHeader" /> values.
</exception>
<exception cref="T:System.ArgumentException">
<paramref name="header" /> is a restricted header.
</exception>
</member> </member>
<member name="M:WebSocketSharp.Net.WebHeaderCollection.Remove(System.String)"> <member name="M:WebSocketSharp.Net.WebHeaderCollection.Remove(System.String)">
<summary> <summary>
@ -3284,6 +3402,9 @@
<paramref name="name" /> is a restricted header name. <paramref name="name" /> is a restricted header name.
</para> </para>
</exception> </exception>
<exception cref="T:System.InvalidOperationException">
The current <see cref="T:WebSocketSharp.Net.WebHeaderCollection" /> instance does not allow the header <paramref name="name" />.
</exception>
</member> </member>
<member name="M:WebSocketSharp.Net.WebHeaderCollection.Set(System.Net.HttpRequestHeader,System.String)"> <member name="M:WebSocketSharp.Net.WebHeaderCollection.Set(System.Net.HttpRequestHeader,System.String)">
<summary> <summary>
@ -3295,6 +3416,23 @@
<param name="value"> <param name="value">
A <see cref="T:System.String" /> that contains the value of the header to set. A <see cref="T:System.String" /> that contains the value of the header to set.
</param> </param>
<exception cref="T:System.InvalidOperationException">
The current <see cref="T:WebSocketSharp.Net.WebHeaderCollection" /> instance does not allow any of <see cref="T:System.Net.HttpRequestHeader" /> values.
</exception>
<exception cref="T:System.ArgumentException">
<para>
<paramref name="header" /> is a restricted header.
</para>
<para>
-or-
</para>
<para>
<paramref name="value" /> contains invalid characters.
</para>
</exception>
<exception cref="T:System.ArgumentOutOfRangeException">
The length of <paramref name="value" /> is greater than 65535.
</exception>
</member> </member>
<member name="M:WebSocketSharp.Net.WebHeaderCollection.Set(System.Net.HttpResponseHeader,System.String)"> <member name="M:WebSocketSharp.Net.WebHeaderCollection.Set(System.Net.HttpResponseHeader,System.String)">
<summary> <summary>
@ -3306,6 +3444,23 @@
<param name="value"> <param name="value">
A <see cref="T:System.String" /> that contains the value of the header to set. A <see cref="T:System.String" /> that contains the value of the header to set.
</param> </param>
<exception cref="T:System.InvalidOperationException">
The current <see cref="T:WebSocketSharp.Net.WebHeaderCollection" /> instance does not allow any of <see cref="T:System.Net.HttpResponseHeader" /> values.
</exception>
<exception cref="T:System.ArgumentException">
<para>
<paramref name="header" /> is a restricted header.
</para>
<para>
-or-
</para>
<para>
<paramref name="value" /> contains invalid characters.
</para>
</exception>
<exception cref="T:System.ArgumentOutOfRangeException">
The length of <paramref name="value" /> is greater than 65535.
</exception>
</member> </member>
<member name="M:WebSocketSharp.Net.WebHeaderCollection.Set(System.String,System.String)"> <member name="M:WebSocketSharp.Net.WebHeaderCollection.Set(System.String,System.String)">
<summary> <summary>
@ -3334,6 +3489,9 @@
<exception cref="T:System.ArgumentOutOfRangeException"> <exception cref="T:System.ArgumentOutOfRangeException">
The length of <paramref name="value" /> is greater than 65535. The length of <paramref name="value" /> is greater than 65535.
</exception> </exception>
<exception cref="T:System.InvalidOperationException">
The current <see cref="T:WebSocketSharp.Net.WebHeaderCollection" /> instance does not allow the header <paramref name="name" />.
</exception>
</member> </member>
<member name="M:WebSocketSharp.Net.WebHeaderCollection.ToByteArray"> <member name="M:WebSocketSharp.Net.WebHeaderCollection.ToByteArray">
<summary> <summary>

View File

@ -472,7 +472,8 @@
<b> <b>
<a href="#M:WebSocketSharp.Net.WebHeaderCollection.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">GetObjectData</a> <a href="#M:WebSocketSharp.Net.WebHeaderCollection.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">GetObjectData</a>
</b>(<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Runtime.Serialization.SerializationInfo">System.Runtime.Serialization.SerializationInfo</a>, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Runtime.Serialization.StreamingContext">System.Runtime.Serialization.StreamingContext</a>)<blockquote> </b>(<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Runtime.Serialization.SerializationInfo">System.Runtime.Serialization.SerializationInfo</a>, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Runtime.Serialization.StreamingContext">System.Runtime.Serialization.StreamingContext</a>)<blockquote>
Populates the specified <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Runtime.Serialization.SerializationInfo">System.Runtime.Serialization.SerializationInfo</a> with the data needed to serialize the <a href="../WebSocketSharp.Net/WebHeaderCollection.html">WebSocketSharp.Net.WebHeaderCollection</a>. Populates the specified <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Runtime.Serialization.SerializationInfo">System.Runtime.Serialization.SerializationInfo</a> with the data to need to
serialize the <a href="../WebSocketSharp.Net/WebHeaderCollection.html">WebSocketSharp.Net.WebHeaderCollection</a> object.
</blockquote></td> </blockquote></td>
</tr> </tr>
<tr valign="top"> <tr valign="top">
@ -661,7 +662,8 @@
</a> </a>
</td> </td>
<td> <td>
Populates the specified <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Runtime.Serialization.SerializationInfo">System.Runtime.Serialization.SerializationInfo</a> with the data needed to serialize the <a href="../WebSocketSharp.Net/WebHeaderCollection.html">WebSocketSharp.Net.WebHeaderCollection</a>. Populates the specified <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Runtime.Serialization.SerializationInfo">System.Runtime.Serialization.SerializationInfo</a> with the data to need to
serialize the <a href="../WebSocketSharp.Net/WebHeaderCollection.html">WebSocketSharp.Net.WebHeaderCollection</a> object.
</td> </td>
</tr> </tr>
</table> </table>
@ -755,16 +757,41 @@
<i>serializationInfo</i> <i>serializationInfo</i>
</dt> </dt>
<dd> <dd>
A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Runtime.Serialization.SerializationInfo">System.Runtime.Serialization.SerializationInfo</a> that holds the serialized object data. A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Runtime.Serialization.SerializationInfo">System.Runtime.Serialization.SerializationInfo</a> that contains the data to need to serialize the <a href="../WebSocketSharp.Net/WebHeaderCollection.html">WebSocketSharp.Net.WebHeaderCollection</a> object.
</dd> </dd>
<dt> <dt>
<i>streamingContext</i> <i>streamingContext</i>
</dt> </dt>
<dd> <dd>
A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Runtime.Serialization.StreamingContext">System.Runtime.Serialization.StreamingContext</a> that contains the contextual information about the source or destination. A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Runtime.Serialization.StreamingContext">System.Runtime.Serialization.StreamingContext</a> that contains the source of the serialized stream associated with the new <a href="../WebSocketSharp.Net/WebHeaderCollection.html">WebSocketSharp.Net.WebHeaderCollection</a>.
</dd> </dd>
</dl> </dl>
</blockquote> </blockquote>
<h4 class="Subsection">Exceptions</h4>
<blockquote class="SubsectionBox" id="C:WebSocketSharp.Net.WebHeaderCollection(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext):Exceptions">
<table class="TypeDocumentation">
<tr>
<th>Type</th>
<th>Reason</th>
</tr>
<tr valign="top">
<td>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.ArgumentNullException">ArgumentNullException</a>
</td>
<td>
<i>serializationInfo</i> is <tt>null</tt>.
</td>
</tr>
<tr valign="top">
<td>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.ArgumentException">ArgumentException</a>
</td>
<td>
An element with the specified name is not found in <i>serializationInfo</i>.
</td>
</tr>
</table>
</blockquote>
<h2 class="Section">Remarks</h2> <h2 class="Section">Remarks</h2>
<div class="SectionBox" id="C:WebSocketSharp.Net.WebHeaderCollection(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext):Remarks"> <div class="SectionBox" id="C:WebSocketSharp.Net.WebHeaderCollection(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext):Remarks">
<span class="NotEntered">Documentation for this section has not yet been entered.</span> <span class="NotEntered">Documentation for this section has not yet been entered.</span>
@ -804,7 +831,8 @@
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.ArgumentNullException">ArgumentNullException</a> <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.ArgumentNullException">ArgumentNullException</a>
</td> </td>
<td> <td>
<i>header</i> is <tt>null</tt> or a <a href="http://www.go-mono.com/docs/monodoc.ashx?link=F:System.String.Empty">string.Empty</a>. <i>header</i> is <tt>null</tt>, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=F:System.String.Empty">string.Empty</a>, or
the name part of <i>header</i> is <a href="http://www.go-mono.com/docs/monodoc.ashx?link=F:System.String.Empty">string.Empty</a>.
</td> </td>
</tr> </tr>
<tr valign="top"> <tr valign="top">
@ -812,7 +840,37 @@
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.ArgumentException">ArgumentException</a> <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.ArgumentException">ArgumentException</a>
</td> </td>
<td> <td>
<i>header</i> does not contain a colon. <p>
<i>header</i> does not contain a colon.
</p>
<p>
-or-
</p>
<p>
<i>header</i> is a restricted header.
</p>
<p>
-or-
</p>
<p>
The name or value part of <i>header</i> contains invalid characters.
</p>
</td>
</tr>
<tr valign="top">
<td>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.ArgumentOutOfRangeException">ArgumentOutOfRangeException</a>
</td>
<td>
The length of the value part of <i>header</i> is greater than 65535.
</td>
</tr>
<tr valign="top">
<td>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.InvalidOperationException">InvalidOperationException</a>
</td>
<td>
The current <a href="../WebSocketSharp.Net/WebHeaderCollection.html">WebSocketSharp.Net.WebHeaderCollection</a> instance does not allow the <i>header</i>.
</td> </td>
</tr> </tr>
</table> </table>
@ -840,7 +898,7 @@
<i>header</i> <i>header</i>
</dt> </dt>
<dd> <dd>
A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Net.HttpRequestHeader">System.Net.HttpRequestHeader</a> that contains the name of the request header to add. A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Net.HttpRequestHeader">System.Net.HttpRequestHeader</a> is a request header to add.
</dd> </dd>
<dt> <dt>
<i>value</i> <i>value</i>
@ -850,6 +908,47 @@
</dd> </dd>
</dl> </dl>
</blockquote> </blockquote>
<h4 class="Subsection">Exceptions</h4>
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Net.WebHeaderCollection.Add(System.Net.HttpRequestHeader,System.String):Exceptions">
<table class="TypeDocumentation">
<tr>
<th>Type</th>
<th>Reason</th>
</tr>
<tr valign="top">
<td>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.ArgumentOutOfRangeException">ArgumentOutOfRangeException</a>
</td>
<td>
The length of <i>value</i> is greater than 65535.
</td>
</tr>
<tr valign="top">
<td>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.InvalidOperationException">InvalidOperationException</a>
</td>
<td>
The current <a href="../WebSocketSharp.Net/WebHeaderCollection.html">WebSocketSharp.Net.WebHeaderCollection</a> instance does not allow any of <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Net.HttpRequestHeader">System.Net.HttpRequestHeader</a> values.
</td>
</tr>
<tr valign="top">
<td>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.ArgumentException">ArgumentException</a>
</td>
<td>
<p>
<i>header</i> is a restricted header.
</p>
<p>
-or-
</p>
<p>
<i>value</i> contains invalid characters.
</p>
</td>
</tr>
</table>
</blockquote>
<h2 class="Section">Remarks</h2> <h2 class="Section">Remarks</h2>
<div class="SectionBox" id="M:WebSocketSharp.Net.WebHeaderCollection.Add(System.Net.HttpRequestHeader,System.String):Remarks"> <div class="SectionBox" id="M:WebSocketSharp.Net.WebHeaderCollection.Add(System.Net.HttpRequestHeader,System.String):Remarks">
<span class="NotEntered">Documentation for this section has not yet been entered.</span> <span class="NotEntered">Documentation for this section has not yet been entered.</span>
@ -873,7 +972,7 @@
<i>header</i> <i>header</i>
</dt> </dt>
<dd> <dd>
A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Net.HttpResponseHeader">System.Net.HttpResponseHeader</a> that contains the name of the response header to add. A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Net.HttpResponseHeader">System.Net.HttpResponseHeader</a> is a response header to add.
</dd> </dd>
<dt> <dt>
<i>value</i> <i>value</i>
@ -883,6 +982,47 @@
</dd> </dd>
</dl> </dl>
</blockquote> </blockquote>
<h4 class="Subsection">Exceptions</h4>
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Net.WebHeaderCollection.Add(System.Net.HttpResponseHeader,System.String):Exceptions">
<table class="TypeDocumentation">
<tr>
<th>Type</th>
<th>Reason</th>
</tr>
<tr valign="top">
<td>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.ArgumentOutOfRangeException">ArgumentOutOfRangeException</a>
</td>
<td>
The length of <i>value</i> is greater than 65535.
</td>
</tr>
<tr valign="top">
<td>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.InvalidOperationException">InvalidOperationException</a>
</td>
<td>
The current <a href="../WebSocketSharp.Net/WebHeaderCollection.html">WebSocketSharp.Net.WebHeaderCollection</a> instance does not allow any of <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Net.HttpResponseHeader">System.Net.HttpResponseHeader</a> values.
</td>
</tr>
<tr valign="top">
<td>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.ArgumentException">ArgumentException</a>
</td>
<td>
<p>
<i>header</i> is a restricted header.
</p>
<p>
-or-
</p>
<p>
<i>value</i> contains invalid characters.
</p>
</td>
</tr>
</table>
</blockquote>
<h2 class="Section">Remarks</h2> <h2 class="Section">Remarks</h2>
<div class="SectionBox" id="M:WebSocketSharp.Net.WebHeaderCollection.Add(System.Net.HttpResponseHeader,System.String):Remarks"> <div class="SectionBox" id="M:WebSocketSharp.Net.WebHeaderCollection.Add(System.Net.HttpResponseHeader,System.String):Remarks">
<span class="NotEntered">Documentation for this section has not yet been entered.</span> <span class="NotEntered">Documentation for this section has not yet been entered.</span>
@ -929,16 +1069,13 @@
</td> </td>
<td> <td>
<p> <p>
<i>name</i> is <tt>null</tt> or a <a href="http://www.go-mono.com/docs/monodoc.ashx?link=F:System.String.Empty">string.Empty</a>. <i>name</i> or <i>value</i> contains invalid characters.
</p> </p>
<p> <p>
-or- -or-
</p> </p>
<p> <p>
<i>name</i> is a restricted header that must be set with a property setting. <i>name</i> is a restricted header name.
</p>
<p>
-or-
</p> </p>
</td> </td>
</tr> </tr>
@ -948,6 +1085,22 @@
</td> </td>
<td> <td>
The length of <i>value</i> is greater than 65535. The length of <i>value</i> is greater than 65535.
</td>
</tr>
<tr valign="top">
<td>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.ArgumentNullException">ArgumentNullException</a>
</td>
<td>
<i>name</i> is <tt>null</tt> or <a href="http://www.go-mono.com/docs/monodoc.ashx?link=F:System.String.Empty">string.Empty</a>.
</td>
</tr>
<tr valign="top">
<td>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.InvalidOperationException">InvalidOperationException</a>
</td>
<td>
The current <a href="../WebSocketSharp.Net/WebHeaderCollection.html">WebSocketSharp.Net.WebHeaderCollection</a> instance does not allow the header <i>name</i>.
</td> </td>
</tr> </tr>
</table> </table>
@ -997,17 +1150,32 @@
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.ArgumentException">ArgumentException</a> <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.ArgumentException">ArgumentException</a>
</td> </td>
<td> <td>
<p> <i>headerName</i> or <i>headerValue</i> contains invalid characters.
<i>headerName</i> is <tt>null</tt>, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=F:System.String.Empty">string.Empty</a>, or </td>
contains invalid characters. </tr>
</p> <tr valign="top">
<p> <td>
-or- <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.ArgumentNullException">ArgumentNullException</a>
</p>
<p>
<i>headerValue</i> contains invalid characters.
</p>
</td> </td>
<td>
<i>headerName</i> is <tt>null</tt> or <a href="http://www.go-mono.com/docs/monodoc.ashx?link=F:System.String.Empty">string.Empty</a>.
</td>
</tr>
<tr valign="top">
<td>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.ArgumentOutOfRangeException">ArgumentOutOfRangeException</a>
</td>
<td>
The length of <i>headerValue</i> is greater than 65535.
</td>
</tr>
<tr valign="top">
<td>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.InvalidOperationException">InvalidOperationException</a>
</td>
<td>
The current <a href="../WebSocketSharp.Net/WebHeaderCollection.html">WebSocketSharp.Net.WebHeaderCollection</a> instance does not allow the <i>headerName</i>.
</td>
</tr> </tr>
</table> </table>
</blockquote> </blockquote>
@ -1194,7 +1362,8 @@
<h3 id="M:WebSocketSharp.Net.WebHeaderCollection.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">GetObjectData Method</h3> <h3 id="M:WebSocketSharp.Net.WebHeaderCollection.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">GetObjectData Method</h3>
<blockquote id="M:WebSocketSharp.Net.WebHeaderCollection.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext):member"> <blockquote id="M:WebSocketSharp.Net.WebHeaderCollection.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext):member">
<p class="Summary"> <p class="Summary">
Populates the specified <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Runtime.Serialization.SerializationInfo">System.Runtime.Serialization.SerializationInfo</a> with the data needed to serialize the <a href="../WebSocketSharp.Net/WebHeaderCollection.html">WebSocketSharp.Net.WebHeaderCollection</a>. Populates the specified <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Runtime.Serialization.SerializationInfo">System.Runtime.Serialization.SerializationInfo</a> with the data to need to
serialize the <a href="../WebSocketSharp.Net/WebHeaderCollection.html">WebSocketSharp.Net.WebHeaderCollection</a> object.
</p> </p>
<h2>Syntax</h2> <h2>Syntax</h2>
<div class="Signature">public override <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Void">void</a> <b>GetObjectData</b> (<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Runtime.Serialization.SerializationInfo">System.Runtime.Serialization.SerializationInfo</a> serializationInfo, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Runtime.Serialization.StreamingContext">System.Runtime.Serialization.StreamingContext</a> streamingContext)</div> <div class="Signature">public override <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Void">void</a> <b>GetObjectData</b> (<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Runtime.Serialization.SerializationInfo">System.Runtime.Serialization.SerializationInfo</a> serializationInfo, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Runtime.Serialization.StreamingContext">System.Runtime.Serialization.StreamingContext</a> streamingContext)</div>
@ -1205,7 +1374,7 @@
<i>serializationInfo</i> <i>serializationInfo</i>
</dt> </dt>
<dd> <dd>
A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Runtime.Serialization.SerializationInfo">System.Runtime.Serialization.SerializationInfo</a> that holds the serialized object data. A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Runtime.Serialization.SerializationInfo">System.Runtime.Serialization.SerializationInfo</a> that holds the data to need to serialize the <a href="../WebSocketSharp.Net/WebHeaderCollection.html">WebSocketSharp.Net.WebHeaderCollection</a> object.
</dd> </dd>
<dt> <dt>
<i>streamingContext</i> <i>streamingContext</i>
@ -1215,6 +1384,23 @@
</dd> </dd>
</dl> </dl>
</blockquote> </blockquote>
<h4 class="Subsection">Exceptions</h4>
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Net.WebHeaderCollection.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext):Exceptions">
<table class="TypeDocumentation">
<tr>
<th>Type</th>
<th>Reason</th>
</tr>
<tr valign="top">
<td>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.ArgumentNullException">ArgumentNullException</a>
</td>
<td>
<i>serializationInfo</i> is <tt>null</tt>.
</td>
</tr>
</table>
</blockquote>
<h2 class="Section">Remarks</h2> <h2 class="Section">Remarks</h2>
<div class="SectionBox" id="M:WebSocketSharp.Net.WebHeaderCollection.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext):Remarks"> <div class="SectionBox" id="M:WebSocketSharp.Net.WebHeaderCollection.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext):Remarks">
<span class="NotEntered">Documentation for this section has not yet been entered.</span> <span class="NotEntered">Documentation for this section has not yet been entered.</span>
@ -1421,7 +1607,7 @@
<i>header</i> <i>header</i>
</dt> </dt>
<dd> <dd>
A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Net.HttpRequestHeader">System.Net.HttpRequestHeader</a> that contains a request header name. A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Net.HttpRequestHeader">System.Net.HttpRequestHeader</a> that indicates a request header.
</dd> </dd>
</dl> </dl>
</blockquote> </blockquote>
@ -1429,6 +1615,47 @@
<blockquote class="SubsectionBox" id="P:WebSocketSharp.Net.WebHeaderCollection.Item(System.Net.HttpRequestHeader):Value"> <blockquote class="SubsectionBox" id="P:WebSocketSharp.Net.WebHeaderCollection.Item(System.Net.HttpRequestHeader):Value">
A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> that contains the value of the specified request <i>header</i>. A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> that contains the value of the specified request <i>header</i>.
</blockquote> </blockquote>
<h4 class="Subsection">Exceptions</h4>
<blockquote class="SubsectionBox" id="P:WebSocketSharp.Net.WebHeaderCollection.Item(System.Net.HttpRequestHeader):Exceptions">
<table class="TypeDocumentation">
<tr>
<th>Type</th>
<th>Reason</th>
</tr>
<tr valign="top">
<td>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.InvalidOperationException">InvalidOperationException</a>
</td>
<td>
The current <a href="../WebSocketSharp.Net/WebHeaderCollection.html">WebSocketSharp.Net.WebHeaderCollection</a> instance does not allow any of <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Net.HttpRequestHeader">System.Net.HttpRequestHeader</a> values.
</td>
</tr>
<tr valign="top">
<td>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.ArgumentException">ArgumentException</a>
</td>
<td>
<p>
<i>header</i> is a restricted header.
</p>
<p>
-or-
</p>
<p>
<i>value</i> contains invalid characters.
</p>
</td>
</tr>
<tr valign="top">
<td>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.ArgumentOutOfRangeException">ArgumentOutOfRangeException</a>
</td>
<td>
The length of <i>value</i> is greater than 65535.
</td>
</tr>
</table>
</blockquote>
<h2 class="Section">Remarks</h2> <h2 class="Section">Remarks</h2>
<div class="SectionBox" id="P:WebSocketSharp.Net.WebHeaderCollection.Item(System.Net.HttpRequestHeader):Remarks"> <div class="SectionBox" id="P:WebSocketSharp.Net.WebHeaderCollection.Item(System.Net.HttpRequestHeader):Remarks">
<span class="NotEntered">Documentation for this section has not yet been entered.</span> <span class="NotEntered">Documentation for this section has not yet been entered.</span>
@ -1455,7 +1682,7 @@
<i>header</i> <i>header</i>
</dt> </dt>
<dd> <dd>
A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Net.HttpResponseHeader">System.Net.HttpResponseHeader</a> that contains a response header name. A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Net.HttpResponseHeader">System.Net.HttpResponseHeader</a> that indicates a response header.
</dd> </dd>
</dl> </dl>
</blockquote> </blockquote>
@ -1463,6 +1690,47 @@
<blockquote class="SubsectionBox" id="P:WebSocketSharp.Net.WebHeaderCollection.Item(System.Net.HttpResponseHeader):Value"> <blockquote class="SubsectionBox" id="P:WebSocketSharp.Net.WebHeaderCollection.Item(System.Net.HttpResponseHeader):Value">
A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> that contains the value of the specified response <i>header</i>. A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> that contains the value of the specified response <i>header</i>.
</blockquote> </blockquote>
<h4 class="Subsection">Exceptions</h4>
<blockquote class="SubsectionBox" id="P:WebSocketSharp.Net.WebHeaderCollection.Item(System.Net.HttpResponseHeader):Exceptions">
<table class="TypeDocumentation">
<tr>
<th>Type</th>
<th>Reason</th>
</tr>
<tr valign="top">
<td>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.InvalidOperationException">InvalidOperationException</a>
</td>
<td>
The current <a href="../WebSocketSharp.Net/WebHeaderCollection.html">WebSocketSharp.Net.WebHeaderCollection</a> instance does not allow any of <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Net.HttpResponseHeader">System.Net.HttpResponseHeader</a> values.
</td>
</tr>
<tr valign="top">
<td>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.ArgumentException">ArgumentException</a>
</td>
<td>
<p>
<i>header</i> is a restricted header.
</p>
<p>
-or-
</p>
<p>
<i>value</i> contains invalid characters.
</p>
</td>
</tr>
<tr valign="top">
<td>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.ArgumentOutOfRangeException">ArgumentOutOfRangeException</a>
</td>
<td>
The length of <i>value</i> is greater than 65535.
</td>
</tr>
</table>
</blockquote>
<h2 class="Section">Remarks</h2> <h2 class="Section">Remarks</h2>
<div class="SectionBox" id="P:WebSocketSharp.Net.WebHeaderCollection.Item(System.Net.HttpResponseHeader):Remarks"> <div class="SectionBox" id="P:WebSocketSharp.Net.WebHeaderCollection.Item(System.Net.HttpResponseHeader):Remarks">
<span class="NotEntered">Documentation for this section has not yet been entered.</span> <span class="NotEntered">Documentation for this section has not yet been entered.</span>
@ -1538,6 +1806,31 @@
</dd> </dd>
</dl> </dl>
</blockquote> </blockquote>
<h4 class="Subsection">Exceptions</h4>
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Net.WebHeaderCollection.Remove(System.Net.HttpRequestHeader):Exceptions">
<table class="TypeDocumentation">
<tr>
<th>Type</th>
<th>Reason</th>
</tr>
<tr valign="top">
<td>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.InvalidOperationException">InvalidOperationException</a>
</td>
<td>
The current <a href="../WebSocketSharp.Net/WebHeaderCollection.html">WebSocketSharp.Net.WebHeaderCollection</a> instance does not allow any of <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Net.HttpRequestHeader">System.Net.HttpRequestHeader</a> values.
</td>
</tr>
<tr valign="top">
<td>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.ArgumentException">ArgumentException</a>
</td>
<td>
<i>header</i> is a restricted header.
</td>
</tr>
</table>
</blockquote>
<h2 class="Section">Remarks</h2> <h2 class="Section">Remarks</h2>
<div class="SectionBox" id="M:WebSocketSharp.Net.WebHeaderCollection.Remove(System.Net.HttpRequestHeader):Remarks"> <div class="SectionBox" id="M:WebSocketSharp.Net.WebHeaderCollection.Remove(System.Net.HttpRequestHeader):Remarks">
<span class="NotEntered">Documentation for this section has not yet been entered.</span> <span class="NotEntered">Documentation for this section has not yet been entered.</span>
@ -1565,6 +1858,31 @@
</dd> </dd>
</dl> </dl>
</blockquote> </blockquote>
<h4 class="Subsection">Exceptions</h4>
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Net.WebHeaderCollection.Remove(System.Net.HttpResponseHeader):Exceptions">
<table class="TypeDocumentation">
<tr>
<th>Type</th>
<th>Reason</th>
</tr>
<tr valign="top">
<td>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.InvalidOperationException">InvalidOperationException</a>
</td>
<td>
The current <a href="../WebSocketSharp.Net/WebHeaderCollection.html">WebSocketSharp.Net.WebHeaderCollection</a> instance does not allow any of <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Net.HttpResponseHeader">System.Net.HttpResponseHeader</a> values.
</td>
</tr>
<tr valign="top">
<td>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.ArgumentException">ArgumentException</a>
</td>
<td>
<i>header</i> is a restricted header.
</td>
</tr>
</table>
</blockquote>
<h2 class="Section">Remarks</h2> <h2 class="Section">Remarks</h2>
<div class="SectionBox" id="M:WebSocketSharp.Net.WebHeaderCollection.Remove(System.Net.HttpResponseHeader):Remarks"> <div class="SectionBox" id="M:WebSocketSharp.Net.WebHeaderCollection.Remove(System.Net.HttpResponseHeader):Remarks">
<span class="NotEntered">Documentation for this section has not yet been entered.</span> <span class="NotEntered">Documentation for this section has not yet been entered.</span>
@ -1623,6 +1941,14 @@
</p> </p>
</td> </td>
</tr> </tr>
<tr valign="top">
<td>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.InvalidOperationException">InvalidOperationException</a>
</td>
<td>
The current <a href="../WebSocketSharp.Net/WebHeaderCollection.html">WebSocketSharp.Net.WebHeaderCollection</a> instance does not allow the header <i>name</i>.
</td>
</tr>
</table> </table>
</blockquote> </blockquote>
<h2 class="Section">Remarks</h2> <h2 class="Section">Remarks</h2>
@ -1658,6 +1984,47 @@
</dd> </dd>
</dl> </dl>
</blockquote> </blockquote>
<h4 class="Subsection">Exceptions</h4>
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Net.WebHeaderCollection.Set(System.Net.HttpRequestHeader,System.String):Exceptions">
<table class="TypeDocumentation">
<tr>
<th>Type</th>
<th>Reason</th>
</tr>
<tr valign="top">
<td>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.InvalidOperationException">InvalidOperationException</a>
</td>
<td>
The current <a href="../WebSocketSharp.Net/WebHeaderCollection.html">WebSocketSharp.Net.WebHeaderCollection</a> instance does not allow any of <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Net.HttpRequestHeader">System.Net.HttpRequestHeader</a> values.
</td>
</tr>
<tr valign="top">
<td>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.ArgumentException">ArgumentException</a>
</td>
<td>
<p>
<i>header</i> is a restricted header.
</p>
<p>
-or-
</p>
<p>
<i>value</i> contains invalid characters.
</p>
</td>
</tr>
<tr valign="top">
<td>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.ArgumentOutOfRangeException">ArgumentOutOfRangeException</a>
</td>
<td>
The length of <i>value</i> is greater than 65535.
</td>
</tr>
</table>
</blockquote>
<h2 class="Section">Remarks</h2> <h2 class="Section">Remarks</h2>
<div class="SectionBox" id="M:WebSocketSharp.Net.WebHeaderCollection.Set(System.Net.HttpRequestHeader,System.String):Remarks"> <div class="SectionBox" id="M:WebSocketSharp.Net.WebHeaderCollection.Set(System.Net.HttpRequestHeader,System.String):Remarks">
<span class="NotEntered">Documentation for this section has not yet been entered.</span> <span class="NotEntered">Documentation for this section has not yet been entered.</span>
@ -1691,6 +2058,47 @@
</dd> </dd>
</dl> </dl>
</blockquote> </blockquote>
<h4 class="Subsection">Exceptions</h4>
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Net.WebHeaderCollection.Set(System.Net.HttpResponseHeader,System.String):Exceptions">
<table class="TypeDocumentation">
<tr>
<th>Type</th>
<th>Reason</th>
</tr>
<tr valign="top">
<td>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.InvalidOperationException">InvalidOperationException</a>
</td>
<td>
The current <a href="../WebSocketSharp.Net/WebHeaderCollection.html">WebSocketSharp.Net.WebHeaderCollection</a> instance does not allow any of <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Net.HttpResponseHeader">System.Net.HttpResponseHeader</a> values.
</td>
</tr>
<tr valign="top">
<td>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.ArgumentException">ArgumentException</a>
</td>
<td>
<p>
<i>header</i> is a restricted header.
</p>
<p>
-or-
</p>
<p>
<i>value</i> contains invalid characters.
</p>
</td>
</tr>
<tr valign="top">
<td>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.ArgumentOutOfRangeException">ArgumentOutOfRangeException</a>
</td>
<td>
The length of <i>value</i> is greater than 65535.
</td>
</tr>
</table>
</blockquote>
<h2 class="Section">Remarks</h2> <h2 class="Section">Remarks</h2>
<div class="SectionBox" id="M:WebSocketSharp.Net.WebHeaderCollection.Set(System.Net.HttpResponseHeader,System.String):Remarks"> <div class="SectionBox" id="M:WebSocketSharp.Net.WebHeaderCollection.Set(System.Net.HttpResponseHeader,System.String):Remarks">
<span class="NotEntered">Documentation for this section has not yet been entered.</span> <span class="NotEntered">Documentation for this section has not yet been entered.</span>
@ -1761,6 +2169,14 @@
</td> </td>
<td> <td>
The length of <i>value</i> is greater than 65535. The length of <i>value</i> is greater than 65535.
</td>
</tr>
<tr valign="top">
<td>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.InvalidOperationException">InvalidOperationException</a>
</td>
<td>
The current <a href="../WebSocketSharp.Net/WebHeaderCollection.html">WebSocketSharp.Net.WebHeaderCollection</a> instance does not allow the header <i>name</i>.
</td> </td>
</tr> </tr>
</table> </table>
@ -1777,7 +2193,8 @@
<h3 id="M:WebSocketSharp.Net.WebHeaderCollection.System#Runtime#Serialization#ISerializable#GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">System.Runtime.Serialization.ISerializable.GetObjectData Method</h3> <h3 id="M:WebSocketSharp.Net.WebHeaderCollection.System#Runtime#Serialization#ISerializable#GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">System.Runtime.Serialization.ISerializable.GetObjectData Method</h3>
<blockquote id="M:WebSocketSharp.Net.WebHeaderCollection.System#Runtime#Serialization#ISerializable#GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext):member"> <blockquote id="M:WebSocketSharp.Net.WebHeaderCollection.System#Runtime#Serialization#ISerializable#GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext):member">
<p class="Summary"> <p class="Summary">
Populates the specified <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Runtime.Serialization.SerializationInfo">System.Runtime.Serialization.SerializationInfo</a> with the data needed to serialize the <a href="../WebSocketSharp.Net/WebHeaderCollection.html">WebSocketSharp.Net.WebHeaderCollection</a>. Populates the specified <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Runtime.Serialization.SerializationInfo">System.Runtime.Serialization.SerializationInfo</a> with the data to need to
serialize the <a href="../WebSocketSharp.Net/WebHeaderCollection.html">WebSocketSharp.Net.WebHeaderCollection</a> object.
</p> </p>
<h2>Syntax</h2> <h2>Syntax</h2>
<div class="Signature"> <div class="Signature">
@ -1789,7 +2206,7 @@
<i>serializationInfo</i> <i>serializationInfo</i>
</dt> </dt>
<dd> <dd>
A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Runtime.Serialization.SerializationInfo">System.Runtime.Serialization.SerializationInfo</a> that holds the serialized object data. A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Runtime.Serialization.SerializationInfo">System.Runtime.Serialization.SerializationInfo</a> that holds the data to need to serialize the <a href="../WebSocketSharp.Net/WebHeaderCollection.html">WebSocketSharp.Net.WebHeaderCollection</a> object.
</dd> </dd>
<dt> <dt>
<i>streamingContext</i> <i>streamingContext</i>
@ -1799,6 +2216,23 @@
</dd> </dd>
</dl> </dl>
</blockquote> </blockquote>
<h4 class="Subsection">Exceptions</h4>
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Net.WebHeaderCollection.System#Runtime#Serialization#ISerializable#GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext):Exceptions">
<table class="TypeDocumentation">
<tr>
<th>Type</th>
<th>Reason</th>
</tr>
<tr valign="top">
<td>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.ArgumentNullException">ArgumentNullException</a>
</td>
<td>
<i>serializationInfo</i> is <tt>null</tt>.
</td>
</tr>
</table>
</blockquote>
<h2 class="Section">Remarks</h2> <h2 class="Section">Remarks</h2>
<div class="SectionBox" id="M:WebSocketSharp.Net.WebHeaderCollection.System#Runtime#Serialization#ISerializable#GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext):Remarks"> <div class="SectionBox" id="M:WebSocketSharp.Net.WebHeaderCollection.System#Runtime#Serialization#ISerializable#GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext):Remarks">
<span class="NotEntered">Documentation for this section has not yet been entered.</span> <span class="NotEntered">Documentation for this section has not yet been entered.</span>

View File

@ -582,9 +582,9 @@
</td> </td>
<td colspan="2"> <td colspan="2">
<b> <b>
<a href="#M:WebSocketSharp.Ext.Times(System.Int32,System.Action{System.UInt64})">Times</a> <a href="#M:WebSocketSharp.Ext.Times(System.Int32,System.Action{System.Int32})">Times</a>
</b>(<i>this</i> <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Int32">int</a>, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Action`1">Action&lt;ulong&gt;</a>)<blockquote> </b>(<i>this</i> <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Int32">int</a>, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Action`1">Action&lt;int&gt;</a>)<blockquote>
Executes the specified Action&lt;ulong&gt; delegate <i>n</i> times. Executes the specified Action&lt;int&gt; delegate <i>n</i> times.
</blockquote></td> </blockquote></td>
</tr> </tr>
<tr valign="top"> <tr valign="top">
@ -604,9 +604,9 @@
</td> </td>
<td colspan="2"> <td colspan="2">
<b> <b>
<a href="#M:WebSocketSharp.Ext.Times(System.Int64,System.Action{System.UInt64})">Times</a> <a href="#M:WebSocketSharp.Ext.Times(System.Int64,System.Action{System.Int64})">Times</a>
</b>(<i>this</i> <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Int64">long</a>, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Action`1">Action&lt;ulong&gt;</a>)<blockquote> </b>(<i>this</i> <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Int64">long</a>, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Action`1">Action&lt;long&gt;</a>)<blockquote>
Executes the specified Action&lt;ulong&gt; delegate <i>n</i> times. Executes the specified Action&lt;long&gt; delegate <i>n</i> times.
</blockquote></td> </blockquote></td>
</tr> </tr>
<tr valign="top"> <tr valign="top">
@ -626,9 +626,9 @@
</td> </td>
<td colspan="2"> <td colspan="2">
<b> <b>
<a href="#M:WebSocketSharp.Ext.Times(System.UInt32,System.Action{System.UInt64})">Times</a> <a href="#M:WebSocketSharp.Ext.Times(System.UInt32,System.Action{System.UInt32})">Times</a>
</b>(<i>this</i> <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.UInt32">uint</a>, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Action`1">Action&lt;ulong&gt;</a>)<blockquote> </b>(<i>this</i> <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.UInt32">uint</a>, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Action`1">Action&lt;uint&gt;</a>)<blockquote>
Executes the specified Action&lt;ulong&gt; delegate <i>n</i> times. Executes the specified Action&lt;uint&gt; delegate <i>n</i> times.
</blockquote></td> </blockquote></td>
</tr> </tr>
<tr valign="top"> <tr valign="top">
@ -2011,13 +2011,13 @@
<i>n</i> <i>n</i>
</dt> </dt>
<dd> <dd>
An <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Int32">int</a> that contains the number of times to execute. An <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Int32">int</a> is the number of times to execute.
</dd> </dd>
<dt> <dt>
<i>act</i> <i>act</i>
</dt> </dt>
<dd> <dd>
An <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Action">Action</a> delegate that contains the method(s) to execute. An <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Action">Action</a> delegate that references the method(s) to execute.
</dd> </dd>
</dl> </dl>
</blockquote> </blockquote>
@ -2030,37 +2030,37 @@
<b>Namespace: </b>WebSocketSharp<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div> <b>Namespace: </b>WebSocketSharp<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
<hr size="1" /> <hr size="1" />
</blockquote> </blockquote>
<h3 id="M:WebSocketSharp.Ext.Times(System.Int32,System.Action{System.UInt64})">Times Method</h3> <h3 id="M:WebSocketSharp.Ext.Times(System.Int32,System.Action{System.Int32})">Times Method</h3>
<blockquote id="M:WebSocketSharp.Ext.Times(System.Int32,System.Action{System.UInt64}):member"> <blockquote id="M:WebSocketSharp.Ext.Times(System.Int32,System.Action{System.Int32}):member">
<p class="Summary"> <p class="Summary">
Executes the specified Action&lt;ulong&gt; delegate <i>n</i> times. Executes the specified Action&lt;int&gt; delegate <i>n</i> times.
</p> </p>
<h2>Syntax</h2> <h2>Syntax</h2>
<div class="Signature">public static <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Void">void</a> <b>Times</b> (<i>this</i> <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Int32">int</a> n, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Action`1">Action&lt;ulong&gt;</a> act)</div> <div class="Signature">public static <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Void">void</a> <b>Times</b> (<i>this</i> <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Int32">int</a> n, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Action`1">Action&lt;int&gt;</a> act)</div>
<h4 class="Subsection">Parameters</h4> <h4 class="Subsection">Parameters</h4>
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Ext.Times(System.Int32,System.Action{System.UInt64}):Parameters"> <blockquote class="SubsectionBox" id="M:WebSocketSharp.Ext.Times(System.Int32,System.Action{System.Int32}):Parameters">
<dl> <dl>
<dt> <dt>
<i>n</i> <i>n</i>
</dt> </dt>
<dd> <dd>
An <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Int32">int</a> that contains the number of times to execute. An <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Int32">int</a> is the number of times to execute.
</dd> </dd>
<dt> <dt>
<i>act</i> <i>act</i>
</dt> </dt>
<dd> <dd>
An Action&lt;ulong&gt; delegate that contains the method(s) to execute. An Action&lt;int&gt; delegate that references the method(s) to execute.
A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.UInt64">ulong</a> parameter to pass to this method(s) contains the zero-based count of iteration. An <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Int32">int</a> parameter to pass to the method(s) is the zero-based count of iteration.
</dd> </dd>
</dl> </dl>
</blockquote> </blockquote>
<h2 class="Section">Remarks</h2> <h2 class="Section">Remarks</h2>
<div class="SectionBox" id="M:WebSocketSharp.Ext.Times(System.Int32,System.Action{System.UInt64}):Remarks"> <div class="SectionBox" id="M:WebSocketSharp.Ext.Times(System.Int32,System.Action{System.Int32}):Remarks">
<span class="NotEntered">Documentation for this section has not yet been entered.</span> <span class="NotEntered">Documentation for this section has not yet been entered.</span>
</div> </div>
<h2 class="Section">Requirements</h2> <h2 class="Section">Requirements</h2>
<div class="SectionBox" id="M:WebSocketSharp.Ext.Times(System.Int32,System.Action{System.UInt64}):Version Information"> <div class="SectionBox" id="M:WebSocketSharp.Ext.Times(System.Int32,System.Action{System.Int32}):Version Information">
<b>Namespace: </b>WebSocketSharp<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div> <b>Namespace: </b>WebSocketSharp<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
<hr size="1" /> <hr size="1" />
</blockquote> </blockquote>
@ -2078,13 +2078,13 @@
<i>n</i> <i>n</i>
</dt> </dt>
<dd> <dd>
A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Int64">long</a> that contains the number of times to execute. A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Int64">long</a> is the number of times to execute.
</dd> </dd>
<dt> <dt>
<i>act</i> <i>act</i>
</dt> </dt>
<dd> <dd>
An <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Action">Action</a> delegate that contains the method(s) to execute. An <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Action">Action</a> delegate that references the method(s) to execute.
</dd> </dd>
</dl> </dl>
</blockquote> </blockquote>
@ -2097,37 +2097,37 @@
<b>Namespace: </b>WebSocketSharp<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div> <b>Namespace: </b>WebSocketSharp<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
<hr size="1" /> <hr size="1" />
</blockquote> </blockquote>
<h3 id="M:WebSocketSharp.Ext.Times(System.Int64,System.Action{System.UInt64})">Times Method</h3> <h3 id="M:WebSocketSharp.Ext.Times(System.Int64,System.Action{System.Int64})">Times Method</h3>
<blockquote id="M:WebSocketSharp.Ext.Times(System.Int64,System.Action{System.UInt64}):member"> <blockquote id="M:WebSocketSharp.Ext.Times(System.Int64,System.Action{System.Int64}):member">
<p class="Summary"> <p class="Summary">
Executes the specified Action&lt;ulong&gt; delegate <i>n</i> times. Executes the specified Action&lt;long&gt; delegate <i>n</i> times.
</p> </p>
<h2>Syntax</h2> <h2>Syntax</h2>
<div class="Signature">public static <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Void">void</a> <b>Times</b> (<i>this</i> <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Int64">long</a> n, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Action`1">Action&lt;ulong&gt;</a> act)</div> <div class="Signature">public static <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Void">void</a> <b>Times</b> (<i>this</i> <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Int64">long</a> n, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Action`1">Action&lt;long&gt;</a> act)</div>
<h4 class="Subsection">Parameters</h4> <h4 class="Subsection">Parameters</h4>
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Ext.Times(System.Int64,System.Action{System.UInt64}):Parameters"> <blockquote class="SubsectionBox" id="M:WebSocketSharp.Ext.Times(System.Int64,System.Action{System.Int64}):Parameters">
<dl> <dl>
<dt> <dt>
<i>n</i> <i>n</i>
</dt> </dt>
<dd> <dd>
A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Int64">long</a> that contains the number of times to execute. A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Int64">long</a> is the number of times to execute.
</dd> </dd>
<dt> <dt>
<i>act</i> <i>act</i>
</dt> </dt>
<dd> <dd>
An Action&lt;ulong&gt; delegate that contains the method(s) to execute. An Action&lt;long&gt; delegate that references the method(s) to execute.
A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.UInt64">ulong</a> parameter to pass to this method(s) contains the zero-based count of iteration. A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Int64">long</a> parameter to pass to the method(s) is the zero-based count of iteration.
</dd> </dd>
</dl> </dl>
</blockquote> </blockquote>
<h2 class="Section">Remarks</h2> <h2 class="Section">Remarks</h2>
<div class="SectionBox" id="M:WebSocketSharp.Ext.Times(System.Int64,System.Action{System.UInt64}):Remarks"> <div class="SectionBox" id="M:WebSocketSharp.Ext.Times(System.Int64,System.Action{System.Int64}):Remarks">
<span class="NotEntered">Documentation for this section has not yet been entered.</span> <span class="NotEntered">Documentation for this section has not yet been entered.</span>
</div> </div>
<h2 class="Section">Requirements</h2> <h2 class="Section">Requirements</h2>
<div class="SectionBox" id="M:WebSocketSharp.Ext.Times(System.Int64,System.Action{System.UInt64}):Version Information"> <div class="SectionBox" id="M:WebSocketSharp.Ext.Times(System.Int64,System.Action{System.Int64}):Version Information">
<b>Namespace: </b>WebSocketSharp<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div> <b>Namespace: </b>WebSocketSharp<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
<hr size="1" /> <hr size="1" />
</blockquote> </blockquote>
@ -2145,13 +2145,13 @@
<i>n</i> <i>n</i>
</dt> </dt>
<dd> <dd>
A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.UInt32">uint</a> that contains the number of times to execute. A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.UInt32">uint</a> is the number of times to execute.
</dd> </dd>
<dt> <dt>
<i>act</i> <i>act</i>
</dt> </dt>
<dd> <dd>
An <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Action">Action</a> delegate that contains the method(s) to execute. An <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Action">Action</a> delegate that references the method(s) to execute.
</dd> </dd>
</dl> </dl>
</blockquote> </blockquote>
@ -2164,37 +2164,37 @@
<b>Namespace: </b>WebSocketSharp<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div> <b>Namespace: </b>WebSocketSharp<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
<hr size="1" /> <hr size="1" />
</blockquote> </blockquote>
<h3 id="M:WebSocketSharp.Ext.Times(System.UInt32,System.Action{System.UInt64})">Times Method</h3> <h3 id="M:WebSocketSharp.Ext.Times(System.UInt32,System.Action{System.UInt32})">Times Method</h3>
<blockquote id="M:WebSocketSharp.Ext.Times(System.UInt32,System.Action{System.UInt64}):member"> <blockquote id="M:WebSocketSharp.Ext.Times(System.UInt32,System.Action{System.UInt32}):member">
<p class="Summary"> <p class="Summary">
Executes the specified Action&lt;ulong&gt; delegate <i>n</i> times. Executes the specified Action&lt;uint&gt; delegate <i>n</i> times.
</p> </p>
<h2>Syntax</h2> <h2>Syntax</h2>
<div class="Signature">public static <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Void">void</a> <b>Times</b> (<i>this</i> <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.UInt32">uint</a> n, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Action`1">Action&lt;ulong&gt;</a> act)</div> <div class="Signature">public static <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Void">void</a> <b>Times</b> (<i>this</i> <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.UInt32">uint</a> n, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Action`1">Action&lt;uint&gt;</a> act)</div>
<h4 class="Subsection">Parameters</h4> <h4 class="Subsection">Parameters</h4>
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Ext.Times(System.UInt32,System.Action{System.UInt64}):Parameters"> <blockquote class="SubsectionBox" id="M:WebSocketSharp.Ext.Times(System.UInt32,System.Action{System.UInt32}):Parameters">
<dl> <dl>
<dt> <dt>
<i>n</i> <i>n</i>
</dt> </dt>
<dd> <dd>
A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.UInt32">uint</a> that contains the number of times to execute. A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.UInt32">uint</a> is the number of times to execute.
</dd> </dd>
<dt> <dt>
<i>act</i> <i>act</i>
</dt> </dt>
<dd> <dd>
An Action&lt;ulong&gt; delegate that contains the method(s) to execute. An Action&lt;uint&gt; delegate that references the method(s) to execute.
A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.UInt64">ulong</a> parameter to pass to this method(s) contains the zero-based count of iteration. A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.UInt32">uint</a> parameter to pass to the method(s) is the zero-based count of iteration.
</dd> </dd>
</dl> </dl>
</blockquote> </blockquote>
<h2 class="Section">Remarks</h2> <h2 class="Section">Remarks</h2>
<div class="SectionBox" id="M:WebSocketSharp.Ext.Times(System.UInt32,System.Action{System.UInt64}):Remarks"> <div class="SectionBox" id="M:WebSocketSharp.Ext.Times(System.UInt32,System.Action{System.UInt32}):Remarks">
<span class="NotEntered">Documentation for this section has not yet been entered.</span> <span class="NotEntered">Documentation for this section has not yet been entered.</span>
</div> </div>
<h2 class="Section">Requirements</h2> <h2 class="Section">Requirements</h2>
<div class="SectionBox" id="M:WebSocketSharp.Ext.Times(System.UInt32,System.Action{System.UInt64}):Version Information"> <div class="SectionBox" id="M:WebSocketSharp.Ext.Times(System.UInt32,System.Action{System.UInt32}):Version Information">
<b>Namespace: </b>WebSocketSharp<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div> <b>Namespace: </b>WebSocketSharp<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
<hr size="1" /> <hr size="1" />
</blockquote> </blockquote>
@ -2212,13 +2212,13 @@
<i>n</i> <i>n</i>
</dt> </dt>
<dd> <dd>
A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.UInt64">ulong</a> that contains the number of times to execute. A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.UInt64">ulong</a> is the number of times to execute.
</dd> </dd>
<dt> <dt>
<i>act</i> <i>act</i>
</dt> </dt>
<dd> <dd>
An <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Action">Action</a> delegate that contains the method(s) to execute. An <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Action">Action</a> delegate that references the method(s) to execute.
</dd> </dd>
</dl> </dl>
</blockquote> </blockquote>
@ -2245,14 +2245,14 @@
<i>n</i> <i>n</i>
</dt> </dt>
<dd> <dd>
A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.UInt64">ulong</a> that contains the number of times to execute. A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.UInt64">ulong</a> is the number of times to execute.
</dd> </dd>
<dt> <dt>
<i>act</i> <i>act</i>
</dt> </dt>
<dd> <dd>
An Action&lt;ulong&gt; delegate that contains the method(s) to execute. An Action&lt;ulong&gt; delegate that references the method(s) to execute.
A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.UInt64">ulong</a> parameter to pass to this method(s) contains the zero-based count of iteration. A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.UInt64">ulong</a> parameter to pass to this method(s) is the zero-based count of iteration.
</dd> </dd>
</dl> </dl>
</blockquote> </blockquote>

View File

@ -46,16 +46,22 @@
</Parameters> </Parameters>
<Docs> <Docs>
<param name="serializationInfo"> <param name="serializationInfo">
A <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data. A <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that contains the data to need to serialize the <see cref="T:WebSocketSharp.Net.WebHeaderCollection" /> object.
</param> </param>
<param name="streamingContext"> <param name="streamingContext">
A <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains the contextual information about the source or destination. A <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains the source of the serialized stream associated with the new <see cref="T:WebSocketSharp.Net.WebHeaderCollection" />.
</param> </param>
<summary> <summary>
Initializes a new instance of the <see cref="T:WebSocketSharp.Net.WebHeaderCollection" /> class Initializes a new instance of the <see cref="T:WebSocketSharp.Net.WebHeaderCollection" /> class
with the specified <see cref="T:System.Runtime.Serialization.SerializationInfo" /> and <see cref="T:System.Runtime.Serialization.StreamingContext" />. with the specified <see cref="T:System.Runtime.Serialization.SerializationInfo" /> and <see cref="T:System.Runtime.Serialization.StreamingContext" />.
</summary> </summary>
<remarks>To be added.</remarks> <remarks>To be added.</remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="serializationInfo" /> is <see langword="null" />.
</exception>
<exception cref="T:System.ArgumentException">
An element with the specified name is not found in <paramref name="serializationInfo" />.
</exception>
</Docs> </Docs>
</Member> </Member>
<Member MemberName="Add"> <Member MemberName="Add">
@ -77,10 +83,31 @@
</summary> </summary>
<remarks>To be added.</remarks> <remarks>To be added.</remarks>
<exception cref="T:System.ArgumentNullException"> <exception cref="T:System.ArgumentNullException">
<paramref name="header" /> is <see langword="null" /> or a <see cref="F:System.String.Empty" />. <paramref name="header" /> is <see langword="null" />, <see cref="F:System.String.Empty" />, or
the name part of <paramref name="header" /> is <see cref="F:System.String.Empty" />.
</exception> </exception>
<exception cref="T:System.ArgumentException"> <exception cref="T:System.ArgumentException">
<paramref name="header" /> does not contain a colon. <para>
<paramref name="header" /> does not contain a colon.
</para>
<para>
-or-
</para>
<para>
<paramref name="header" /> is a restricted header.
</para>
<para>
-or-
</para>
<para>
The name or value part of <paramref name="header" /> contains invalid characters.
</para>
</exception>
<exception cref="T:System.ArgumentOutOfRangeException">
The length of the value part of <paramref name="header" /> is greater than 65535.
</exception>
<exception cref="T:System.InvalidOperationException">
The current <see cref="T:WebSocketSharp.Net.WebHeaderCollection" /> instance does not allow the <paramref name="header" />.
</exception> </exception>
</Docs> </Docs>
</Member> </Member>
@ -97,7 +124,7 @@
</Parameters> </Parameters>
<Docs> <Docs>
<param name="header"> <param name="header">
A <see cref="T:System.Net.HttpRequestHeader" /> that contains the name of the request header to add. A <see cref="T:System.Net.HttpRequestHeader" /> is a request header to add.
</param> </param>
<param name="value"> <param name="value">
A <see cref="T:System.String" /> that contains the value of the header to add. A <see cref="T:System.String" /> that contains the value of the header to add.
@ -106,6 +133,23 @@
Adds the specified request <paramref name="header" /> with the specified <paramref name="value" /> to the collection. Adds the specified request <paramref name="header" /> with the specified <paramref name="value" /> to the collection.
</summary> </summary>
<remarks>To be added.</remarks> <remarks>To be added.</remarks>
<exception cref="T:System.ArgumentOutOfRangeException">
The length of <paramref name="value" /> is greater than 65535.
</exception>
<exception cref="T:System.InvalidOperationException">
The current <see cref="T:WebSocketSharp.Net.WebHeaderCollection" /> instance does not allow any of <see cref="T:System.Net.HttpRequestHeader" /> values.
</exception>
<exception cref="T:System.ArgumentException">
<para>
<paramref name="header" /> is a restricted header.
</para>
<para>
-or-
</para>
<para>
<paramref name="value" /> contains invalid characters.
</para>
</exception>
</Docs> </Docs>
</Member> </Member>
<Member MemberName="Add"> <Member MemberName="Add">
@ -121,7 +165,7 @@
</Parameters> </Parameters>
<Docs> <Docs>
<param name="header"> <param name="header">
A <see cref="T:System.Net.HttpResponseHeader" /> that contains the name of the response header to add. A <see cref="T:System.Net.HttpResponseHeader" /> is a response header to add.
</param> </param>
<param name="value"> <param name="value">
A <see cref="T:System.String" /> that contains the value of the header to add. A <see cref="T:System.String" /> that contains the value of the header to add.
@ -130,6 +174,23 @@
Adds the specified response <paramref name="header" /> with the specified <paramref name="value" /> to the collection. Adds the specified response <paramref name="header" /> with the specified <paramref name="value" /> to the collection.
</summary> </summary>
<remarks>To be added.</remarks> <remarks>To be added.</remarks>
<exception cref="T:System.ArgumentOutOfRangeException">
The length of <paramref name="value" /> is greater than 65535.
</exception>
<exception cref="T:System.InvalidOperationException">
The current <see cref="T:WebSocketSharp.Net.WebHeaderCollection" /> instance does not allow any of <see cref="T:System.Net.HttpResponseHeader" /> values.
</exception>
<exception cref="T:System.ArgumentException">
<para>
<paramref name="header" /> is a restricted header.
</para>
<para>
-or-
</para>
<para>
<paramref name="value" /> contains invalid characters.
</para>
</exception>
</Docs> </Docs>
</Member> </Member>
<Member MemberName="Add"> <Member MemberName="Add">
@ -156,21 +217,24 @@
<remarks>To be added.</remarks> <remarks>To be added.</remarks>
<exception cref="T:System.ArgumentException"> <exception cref="T:System.ArgumentException">
<para> <para>
<paramref name="name" /> is <see langword="null" /> or a <see cref="F:System.String.Empty" />. <paramref name="name" /> or <paramref name="value" /> contains invalid characters.
</para> </para>
<para> <para>
-or- -or-
</para> </para>
<para> <para>
<paramref name="name" /> is a restricted header that must be set with a property setting. <paramref name="name" /> is a restricted header name.
</para>
<para>
-or-
</para> </para>
</exception> </exception>
<exception cref="T:System.ArgumentOutOfRangeException"> <exception cref="T:System.ArgumentOutOfRangeException">
The length of <paramref name="value" /> is greater than 65535. The length of <paramref name="value" /> is greater than 65535.
</exception> </exception>
<exception cref="T:System.ArgumentNullException">
<paramref name="name" /> is <see langword="null" /> or <see cref="F:System.String.Empty" />.
</exception>
<exception cref="T:System.InvalidOperationException">
The current <see cref="T:WebSocketSharp.Net.WebHeaderCollection" /> instance does not allow the header <paramref name="name" />.
</exception>
</Docs> </Docs>
</Member> </Member>
<Member MemberName="AddWithoutValidate"> <Member MemberName="AddWithoutValidate">
@ -196,17 +260,17 @@
</summary> </summary>
<remarks>To be added.</remarks> <remarks>To be added.</remarks>
<exception cref="T:System.ArgumentException"> <exception cref="T:System.ArgumentException">
<para> <paramref name="headerName" /> or <paramref name="headerValue" /> contains invalid characters.
<paramref name="headerName" /> is <see langword="null" />, <see cref="F:System.String.Empty" />, or </exception>
contains invalid characters. <exception cref="T:System.ArgumentNullException">
</para> <paramref name="headerName" /> is <see langword="null" /> or <see cref="F:System.String.Empty" />.
<para> </exception>
-or- <exception cref="T:System.ArgumentOutOfRangeException">
</para> The length of <paramref name="headerValue" /> is greater than 65535.
<para> </exception>
<paramref name="headerValue" /> contains invalid characters. <exception cref="T:System.InvalidOperationException">
</para> The current <see cref="T:WebSocketSharp.Net.WebHeaderCollection" /> instance does not allow the <paramref name="headerName" />.
</exception> </exception>
</Docs> </Docs>
</Member> </Member>
<Member MemberName="AllKeys"> <Member MemberName="AllKeys">
@ -360,15 +424,19 @@
</Parameters> </Parameters>
<Docs> <Docs>
<param name="serializationInfo"> <param name="serializationInfo">
A <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data. A <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the data to need to serialize the <see cref="T:WebSocketSharp.Net.WebHeaderCollection" /> object.
</param> </param>
<param name="streamingContext"> <param name="streamingContext">
A <see cref="T:System.Runtime.Serialization.StreamingContext" /> that specifies the destination for the serialization. A <see cref="T:System.Runtime.Serialization.StreamingContext" /> that specifies the destination for the serialization.
</param> </param>
<summary> <summary>
Populates the specified <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with the data needed to serialize the <see cref="T:WebSocketSharp.Net.WebHeaderCollection" />. Populates the specified <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with the data to need to
serialize the <see cref="T:WebSocketSharp.Net.WebHeaderCollection" /> object.
</summary> </summary>
<remarks>To be added.</remarks> <remarks>To be added.</remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="serializationInfo" /> is <see langword="null" />.
</exception>
</Docs> </Docs>
</Member> </Member>
<Member MemberName="GetValues"> <Member MemberName="GetValues">
@ -491,7 +559,7 @@
</Parameters> </Parameters>
<Docs> <Docs>
<param name="header"> <param name="header">
A <see cref="T:System.Net.HttpRequestHeader" /> that contains a request header name. A <see cref="T:System.Net.HttpRequestHeader" /> that indicates a request header.
</param> </param>
<summary> <summary>
Gets or sets the specified request <paramref name="header" /> in the collection. Gets or sets the specified request <paramref name="header" /> in the collection.
@ -500,6 +568,23 @@
A <see cref="T:System.String" /> that contains the value of the specified request <paramref name="header" />. A <see cref="T:System.String" /> that contains the value of the specified request <paramref name="header" />.
</value> </value>
<remarks>To be added.</remarks> <remarks>To be added.</remarks>
<exception cref="T:System.InvalidOperationException">
The current <see cref="T:WebSocketSharp.Net.WebHeaderCollection" /> instance does not allow any of <see cref="T:System.Net.HttpRequestHeader" /> values.
</exception>
<exception cref="T:System.ArgumentException">
<para>
<paramref name="header" /> is a restricted header.
</para>
<para>
-or-
</para>
<para>
<paramref name="value" /> contains invalid characters.
</para>
</exception>
<exception cref="T:System.ArgumentOutOfRangeException">
The length of <paramref name="value" /> is greater than 65535.
</exception>
</Docs> </Docs>
</Member> </Member>
<Member MemberName="Item"> <Member MemberName="Item">
@ -514,7 +599,7 @@
</Parameters> </Parameters>
<Docs> <Docs>
<param name="header"> <param name="header">
A <see cref="T:System.Net.HttpResponseHeader" /> that contains a response header name. A <see cref="T:System.Net.HttpResponseHeader" /> that indicates a response header.
</param> </param>
<summary> <summary>
Gets or sets the specified response <paramref name="header" /> in the collection. Gets or sets the specified response <paramref name="header" /> in the collection.
@ -523,6 +608,23 @@
A <see cref="T:System.String" /> that contains the value of the specified response <paramref name="header" />. A <see cref="T:System.String" /> that contains the value of the specified response <paramref name="header" />.
</value> </value>
<remarks>To be added.</remarks> <remarks>To be added.</remarks>
<exception cref="T:System.InvalidOperationException">
The current <see cref="T:WebSocketSharp.Net.WebHeaderCollection" /> instance does not allow any of <see cref="T:System.Net.HttpResponseHeader" /> values.
</exception>
<exception cref="T:System.ArgumentException">
<para>
<paramref name="header" /> is a restricted header.
</para>
<para>
-or-
</para>
<para>
<paramref name="value" /> contains invalid characters.
</para>
</exception>
<exception cref="T:System.ArgumentOutOfRangeException">
The length of <paramref name="value" /> is greater than 65535.
</exception>
</Docs> </Docs>
</Member> </Member>
<Member MemberName="Keys"> <Member MemberName="Keys">
@ -581,6 +683,12 @@
Removes the specified header from the collection. Removes the specified header from the collection.
</summary> </summary>
<remarks>To be added.</remarks> <remarks>To be added.</remarks>
<exception cref="T:System.InvalidOperationException">
The current <see cref="T:WebSocketSharp.Net.WebHeaderCollection" /> instance does not allow any of <see cref="T:System.Net.HttpRequestHeader" /> values.
</exception>
<exception cref="T:System.ArgumentException">
<paramref name="header" /> is a restricted header.
</exception>
</Docs> </Docs>
</Member> </Member>
<Member MemberName="Remove"> <Member MemberName="Remove">
@ -601,6 +709,12 @@
Removes the specified header from the collection. Removes the specified header from the collection.
</summary> </summary>
<remarks>To be added.</remarks> <remarks>To be added.</remarks>
<exception cref="T:System.InvalidOperationException">
The current <see cref="T:WebSocketSharp.Net.WebHeaderCollection" /> instance does not allow any of <see cref="T:System.Net.HttpResponseHeader" /> values.
</exception>
<exception cref="T:System.ArgumentException">
<paramref name="header" /> is a restricted header.
</exception>
</Docs> </Docs>
</Member> </Member>
<Member MemberName="Remove"> <Member MemberName="Remove">
@ -635,6 +749,9 @@
<paramref name="name" /> is a restricted header name. <paramref name="name" /> is a restricted header name.
</para> </para>
</exception> </exception>
<exception cref="T:System.InvalidOperationException">
The current <see cref="T:WebSocketSharp.Net.WebHeaderCollection" /> instance does not allow the header <paramref name="name" />.
</exception>
</Docs> </Docs>
</Member> </Member>
<Member MemberName="Set"> <Member MemberName="Set">
@ -659,6 +776,23 @@
Sets the specified header to the specified value. Sets the specified header to the specified value.
</summary> </summary>
<remarks>To be added.</remarks> <remarks>To be added.</remarks>
<exception cref="T:System.InvalidOperationException">
The current <see cref="T:WebSocketSharp.Net.WebHeaderCollection" /> instance does not allow any of <see cref="T:System.Net.HttpRequestHeader" /> values.
</exception>
<exception cref="T:System.ArgumentException">
<para>
<paramref name="header" /> is a restricted header.
</para>
<para>
-or-
</para>
<para>
<paramref name="value" /> contains invalid characters.
</para>
</exception>
<exception cref="T:System.ArgumentOutOfRangeException">
The length of <paramref name="value" /> is greater than 65535.
</exception>
</Docs> </Docs>
</Member> </Member>
<Member MemberName="Set"> <Member MemberName="Set">
@ -683,6 +817,23 @@
Sets the specified header to the specified value. Sets the specified header to the specified value.
</summary> </summary>
<remarks>To be added.</remarks> <remarks>To be added.</remarks>
<exception cref="T:System.InvalidOperationException">
The current <see cref="T:WebSocketSharp.Net.WebHeaderCollection" /> instance does not allow any of <see cref="T:System.Net.HttpResponseHeader" /> values.
</exception>
<exception cref="T:System.ArgumentException">
<para>
<paramref name="header" /> is a restricted header.
</para>
<para>
-or-
</para>
<para>
<paramref name="value" /> contains invalid characters.
</para>
</exception>
<exception cref="T:System.ArgumentOutOfRangeException">
The length of <paramref name="value" /> is greater than 65535.
</exception>
</Docs> </Docs>
</Member> </Member>
<Member MemberName="Set"> <Member MemberName="Set">
@ -724,6 +875,9 @@
<exception cref="T:System.ArgumentOutOfRangeException"> <exception cref="T:System.ArgumentOutOfRangeException">
The length of <paramref name="value" /> is greater than 65535. The length of <paramref name="value" /> is greater than 65535.
</exception> </exception>
<exception cref="T:System.InvalidOperationException">
The current <see cref="T:WebSocketSharp.Net.WebHeaderCollection" /> instance does not allow the header <paramref name="name" />.
</exception>
</Docs> </Docs>
</Member> </Member>
<Member MemberName="System.Runtime.Serialization.ISerializable.GetObjectData"> <Member MemberName="System.Runtime.Serialization.ISerializable.GetObjectData">
@ -739,15 +893,19 @@
</Parameters> </Parameters>
<Docs> <Docs>
<param name="serializationInfo"> <param name="serializationInfo">
A <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data. A <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the data to need to serialize the <see cref="T:WebSocketSharp.Net.WebHeaderCollection" /> object.
</param> </param>
<param name="streamingContext"> <param name="streamingContext">
A <see cref="T:System.Runtime.Serialization.StreamingContext" /> that specifies the destination for the serialization. A <see cref="T:System.Runtime.Serialization.StreamingContext" /> that specifies the destination for the serialization.
</param> </param>
<summary> <summary>
Populates the specified <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with the data needed to serialize the <see cref="T:WebSocketSharp.Net.WebHeaderCollection" />. Populates the specified <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with the data to need to
serialize the <see cref="T:WebSocketSharp.Net.WebHeaderCollection" /> object.
</summary> </summary>
<remarks>To be added.</remarks> <remarks>To be added.</remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="serializationInfo" /> is <see langword="null" />.
</exception>
</Docs> </Docs>
</Member> </Member>
<Member MemberName="ToByteArray"> <Member MemberName="ToByteArray">

View File

@ -894,10 +894,10 @@
</Parameters> </Parameters>
<Docs> <Docs>
<param name="n"> <param name="n">
An <see cref="T:System.Int32" /> that contains the number of times to execute. An <see cref="T:System.Int32" /> is the number of times to execute.
</param> </param>
<param name="act"> <param name="act">
An <see cref="T:System.Action" /> delegate that contains the method(s) to execute. An <see cref="T:System.Action" /> delegate that references the method(s) to execute.
</param> </param>
<summary> <summary>
Executes the specified <see cref="T:System.Action" /> delegate <paramref name="n" /> times. Executes the specified <see cref="T:System.Action" /> delegate <paramref name="n" /> times.
@ -906,26 +906,26 @@
</Docs> </Docs>
</Member> </Member>
<Member MemberName="Times"> <Member MemberName="Times">
<MemberSignature Language="C#" Value="public static void Times (this int n, Action&lt;ulong&gt; act);" /> <MemberSignature Language="C#" Value="public static void Times (this int n, Action&lt;int&gt; act);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig void Times(int32 n, class System.Action`1&lt;unsigned int64&gt; act) cil managed" /> <MemberSignature Language="ILAsm" Value=".method public static hidebysig void Times(int32 n, class System.Action`1&lt;int32&gt; act) cil managed" />
<MemberType>Method</MemberType> <MemberType>Method</MemberType>
<ReturnValue> <ReturnValue>
<ReturnType>System.Void</ReturnType> <ReturnType>System.Void</ReturnType>
</ReturnValue> </ReturnValue>
<Parameters> <Parameters>
<Parameter Name="n" Type="System.Int32" RefType="this" /> <Parameter Name="n" Type="System.Int32" RefType="this" />
<Parameter Name="act" Type="System.Action&lt;System.UInt64&gt;" /> <Parameter Name="act" Type="System.Action&lt;System.Int32&gt;" />
</Parameters> </Parameters>
<Docs> <Docs>
<param name="n"> <param name="n">
An <see cref="T:System.Int32" /> that contains the number of times to execute. An <see cref="T:System.Int32" /> is the number of times to execute.
</param> </param>
<param name="act"> <param name="act">
An <b>Action&lt;ulong&gt;</b> delegate that contains the method(s) to execute. An <b>Action&lt;int&gt;</b> delegate that references the method(s) to execute.
A <see cref="T:System.UInt64" /> parameter to pass to this method(s) contains the zero-based count of iteration. An <see cref="T:System.Int32" /> parameter to pass to the method(s) is the zero-based count of iteration.
</param> </param>
<summary> <summary>
Executes the specified <b>Action&lt;ulong&gt;</b> delegate <paramref name="n" /> times. Executes the specified <b>Action&lt;int&gt;</b> delegate <paramref name="n" /> times.
</summary> </summary>
<remarks>To be added.</remarks> <remarks>To be added.</remarks>
</Docs> </Docs>
@ -943,10 +943,10 @@
</Parameters> </Parameters>
<Docs> <Docs>
<param name="n"> <param name="n">
A <see cref="T:System.Int64" /> that contains the number of times to execute. A <see cref="T:System.Int64" /> is the number of times to execute.
</param> </param>
<param name="act"> <param name="act">
An <see cref="T:System.Action" /> delegate that contains the method(s) to execute. An <see cref="T:System.Action" /> delegate that references the method(s) to execute.
</param> </param>
<summary> <summary>
Executes the specified <see cref="T:System.Action" /> delegate <paramref name="n" /> times. Executes the specified <see cref="T:System.Action" /> delegate <paramref name="n" /> times.
@ -955,26 +955,26 @@
</Docs> </Docs>
</Member> </Member>
<Member MemberName="Times"> <Member MemberName="Times">
<MemberSignature Language="C#" Value="public static void Times (this long n, Action&lt;ulong&gt; act);" /> <MemberSignature Language="C#" Value="public static void Times (this long n, Action&lt;long&gt; act);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig void Times(int64 n, class System.Action`1&lt;unsigned int64&gt; act) cil managed" /> <MemberSignature Language="ILAsm" Value=".method public static hidebysig void Times(int64 n, class System.Action`1&lt;int64&gt; act) cil managed" />
<MemberType>Method</MemberType> <MemberType>Method</MemberType>
<ReturnValue> <ReturnValue>
<ReturnType>System.Void</ReturnType> <ReturnType>System.Void</ReturnType>
</ReturnValue> </ReturnValue>
<Parameters> <Parameters>
<Parameter Name="n" Type="System.Int64" RefType="this" /> <Parameter Name="n" Type="System.Int64" RefType="this" />
<Parameter Name="act" Type="System.Action&lt;System.UInt64&gt;" /> <Parameter Name="act" Type="System.Action&lt;System.Int64&gt;" />
</Parameters> </Parameters>
<Docs> <Docs>
<param name="n"> <param name="n">
A <see cref="T:System.Int64" /> that contains the number of times to execute. A <see cref="T:System.Int64" /> is the number of times to execute.
</param> </param>
<param name="act"> <param name="act">
An <b>Action&lt;ulong&gt;</b> delegate that contains the method(s) to execute. An <b>Action&lt;long&gt;</b> delegate that references the method(s) to execute.
A <see cref="T:System.UInt64" /> parameter to pass to this method(s) contains the zero-based count of iteration. A <see cref="T:System.Int64" /> parameter to pass to the method(s) is the zero-based count of iteration.
</param> </param>
<summary> <summary>
Executes the specified <b>Action&lt;ulong&gt;</b> delegate <paramref name="n" /> times. Executes the specified <b>Action&lt;long&gt;</b> delegate <paramref name="n" /> times.
</summary> </summary>
<remarks>To be added.</remarks> <remarks>To be added.</remarks>
</Docs> </Docs>
@ -992,10 +992,10 @@
</Parameters> </Parameters>
<Docs> <Docs>
<param name="n"> <param name="n">
A <see cref="T:System.UInt32" /> that contains the number of times to execute. A <see cref="T:System.UInt32" /> is the number of times to execute.
</param> </param>
<param name="act"> <param name="act">
An <see cref="T:System.Action" /> delegate that contains the method(s) to execute. An <see cref="T:System.Action" /> delegate that references the method(s) to execute.
</param> </param>
<summary> <summary>
Executes the specified <see cref="T:System.Action" /> delegate <paramref name="n" /> times. Executes the specified <see cref="T:System.Action" /> delegate <paramref name="n" /> times.
@ -1004,26 +1004,26 @@
</Docs> </Docs>
</Member> </Member>
<Member MemberName="Times"> <Member MemberName="Times">
<MemberSignature Language="C#" Value="public static void Times (this uint n, Action&lt;ulong&gt; act);" /> <MemberSignature Language="C#" Value="public static void Times (this uint n, Action&lt;uint&gt; act);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig void Times(unsigned int32 n, class System.Action`1&lt;unsigned int64&gt; act) cil managed" /> <MemberSignature Language="ILAsm" Value=".method public static hidebysig void Times(unsigned int32 n, class System.Action`1&lt;unsigned int32&gt; act) cil managed" />
<MemberType>Method</MemberType> <MemberType>Method</MemberType>
<ReturnValue> <ReturnValue>
<ReturnType>System.Void</ReturnType> <ReturnType>System.Void</ReturnType>
</ReturnValue> </ReturnValue>
<Parameters> <Parameters>
<Parameter Name="n" Type="System.UInt32" RefType="this" /> <Parameter Name="n" Type="System.UInt32" RefType="this" />
<Parameter Name="act" Type="System.Action&lt;System.UInt64&gt;" /> <Parameter Name="act" Type="System.Action&lt;System.UInt32&gt;" />
</Parameters> </Parameters>
<Docs> <Docs>
<param name="n"> <param name="n">
A <see cref="T:System.UInt32" /> that contains the number of times to execute. A <see cref="T:System.UInt32" /> is the number of times to execute.
</param> </param>
<param name="act"> <param name="act">
An <b>Action&lt;ulong&gt;</b> delegate that contains the method(s) to execute. An <b>Action&lt;uint&gt;</b> delegate that references the method(s) to execute.
A <see cref="T:System.UInt64" /> parameter to pass to this method(s) contains the zero-based count of iteration. A <see cref="T:System.UInt32" /> parameter to pass to the method(s) is the zero-based count of iteration.
</param> </param>
<summary> <summary>
Executes the specified <b>Action&lt;ulong&gt;</b> delegate <paramref name="n" /> times. Executes the specified <b>Action&lt;uint&gt;</b> delegate <paramref name="n" /> times.
</summary> </summary>
<remarks>To be added.</remarks> <remarks>To be added.</remarks>
</Docs> </Docs>
@ -1041,10 +1041,10 @@
</Parameters> </Parameters>
<Docs> <Docs>
<param name="n"> <param name="n">
A <see cref="T:System.UInt64" /> that contains the number of times to execute. A <see cref="T:System.UInt64" /> is the number of times to execute.
</param> </param>
<param name="act"> <param name="act">
An <see cref="T:System.Action" /> delegate that contains the method(s) to execute. An <see cref="T:System.Action" /> delegate that references the method(s) to execute.
</param> </param>
<summary> <summary>
Executes the specified <see cref="T:System.Action" /> delegate <paramref name="n" /> times. Executes the specified <see cref="T:System.Action" /> delegate <paramref name="n" /> times.
@ -1065,11 +1065,11 @@
</Parameters> </Parameters>
<Docs> <Docs>
<param name="n"> <param name="n">
A <see cref="T:System.UInt64" /> that contains the number of times to execute. A <see cref="T:System.UInt64" /> is the number of times to execute.
</param> </param>
<param name="act"> <param name="act">
An <b>Action&lt;ulong&gt;</b> delegate that contains the method(s) to execute. An <b>Action&lt;ulong&gt;</b> delegate that references the method(s) to execute.
A <see cref="T:System.UInt64" /> parameter to pass to this method(s) contains the zero-based count of iteration. A <see cref="T:System.UInt64" /> parameter to pass to this method(s) is the zero-based count of iteration.
</param> </param>
<summary> <summary>
Executes the specified <b>Action&lt;ulong&gt;</b> delegate <paramref name="n" /> times. Executes the specified <b>Action&lt;ulong&gt;</b> delegate <paramref name="n" /> times.

View File

@ -1,6 +1,6 @@
<Overview> <Overview>
<Assemblies> <Assemblies>
<Assembly Name="websocket-sharp" Version="1.0.2.28338"> <Assembly Name="websocket-sharp" Version="1.0.2.35266">
<AssemblyPublicKey>[00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 11 00 00 00 29 17 fb 89 fe c3 91 f7 2b cb 8b e2 61 d2 3f 05 93 6d 65 a8 9e 63 72 a6 f5 d5 2c f2 9d 20 fa 0b c0 70 6a f6 88 7e 8b 90 3f 39 f5 76 c8 48 e0 bb 7b b2 7b ed d3 10 a7 1a 0f 70 98 0f 7f f4 4b 53 09 d2 a5 ef 36 c3 56 b4 aa f0 91 72 63 25 07 89 e0 93 3e 3f 2e f2 b9 73 0e 12 15 5d 43 56 c3 f4 70 a5 89 fe f7 f6 ac 3e 77 c2 d8 d0 84 91 f4 0c d1 f3 8e dc c3 c3 b8 38 3d 0c bf 17 de 20 78 c1 ]</AssemblyPublicKey> <AssemblyPublicKey>[00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 11 00 00 00 29 17 fb 89 fe c3 91 f7 2b cb 8b e2 61 d2 3f 05 93 6d 65 a8 9e 63 72 a6 f5 d5 2c f2 9d 20 fa 0b c0 70 6a f6 88 7e 8b 90 3f 39 f5 76 c8 48 e0 bb 7b b2 7b ed d3 10 a7 1a 0f 70 98 0f 7f f4 4b 53 09 d2 a5 ef 36 c3 56 b4 aa f0 91 72 63 25 07 89 e0 93 3e 3f 2e f2 b9 73 0e 12 15 5d 43 56 c3 f4 70 a5 89 fe f7 f6 ac 3e 77 c2 d8 d0 84 91 f4 0c d1 f3 8e dc c3 c3 b8 38 3d 0c bf 17 de 20 78 c1 ]</AssemblyPublicKey>
<Attributes> <Attributes>
<Attribute> <Attribute>
@ -1004,10 +1004,10 @@
</Parameters> </Parameters>
<Docs> <Docs>
<param name="n"> <param name="n">
An <see cref="T:System.Int32" /> that contains the number of times to execute. An <see cref="T:System.Int32" /> is the number of times to execute.
</param> </param>
<param name="act"> <param name="act">
An <see cref="T:System.Action" /> delegate that contains the method(s) to execute. An <see cref="T:System.Action" /> delegate that references the method(s) to execute.
</param> </param>
<summary> <summary>
Executes the specified <see cref="T:System.Action" /> delegate <paramref name="n" /> times. Executes the specified <see cref="T:System.Action" /> delegate <paramref name="n" /> times.
@ -1021,29 +1021,29 @@
<Target Type="T:System.Int32" /> <Target Type="T:System.Int32" />
</Targets> </Targets>
<Member MemberName="Times"> <Member MemberName="Times">
<MemberSignature Language="C#" Value="public static void Times (this int n, Action&lt;ulong&gt; act);" /> <MemberSignature Language="C#" Value="public static void Times (this int n, Action&lt;int&gt; act);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig void Times(int32 n, class System.Action`1&lt;unsigned int64&gt; act) cil managed" /> <MemberSignature Language="ILAsm" Value=".method public static hidebysig void Times(int32 n, class System.Action`1&lt;int32&gt; act) cil managed" />
<MemberType>ExtensionMethod</MemberType> <MemberType>ExtensionMethod</MemberType>
<ReturnValue> <ReturnValue>
<ReturnType>System.Void</ReturnType> <ReturnType>System.Void</ReturnType>
</ReturnValue> </ReturnValue>
<Parameters> <Parameters>
<Parameter Name="n" Type="System.Int32" RefType="this" /> <Parameter Name="n" Type="System.Int32" RefType="this" />
<Parameter Name="act" Type="System.Action&lt;System.UInt64&gt;" /> <Parameter Name="act" Type="System.Action&lt;System.Int32&gt;" />
</Parameters> </Parameters>
<Docs> <Docs>
<param name="n"> <param name="n">
An <see cref="T:System.Int32" /> that contains the number of times to execute. An <see cref="T:System.Int32" /> is the number of times to execute.
</param> </param>
<param name="act"> <param name="act">
An <b>Action&lt;ulong&gt;</b> delegate that contains the method(s) to execute. An <b>Action&lt;int&gt;</b> delegate that references the method(s) to execute.
A <see cref="T:System.UInt64" /> parameter to pass to this method(s) contains the zero-based count of iteration. An <see cref="T:System.Int32" /> parameter to pass to the method(s) is the zero-based count of iteration.
</param> </param>
<summary> <summary>
Executes the specified <b>Action&lt;ulong&gt;</b> delegate <paramref name="n" /> times. Executes the specified <b>Action&lt;int&gt;</b> delegate <paramref name="n" /> times.
</summary> </summary>
</Docs> </Docs>
<Link Type="WebSocketSharp.Ext" Member="M:WebSocketSharp.Ext.Times(System.Int32,System.Action{System.UInt64})" /> <Link Type="WebSocketSharp.Ext" Member="M:WebSocketSharp.Ext.Times(System.Int32,System.Action{System.Int32})" />
</Member> </Member>
</ExtensionMethod> </ExtensionMethod>
<ExtensionMethod> <ExtensionMethod>
@ -1063,10 +1063,10 @@
</Parameters> </Parameters>
<Docs> <Docs>
<param name="n"> <param name="n">
A <see cref="T:System.Int64" /> that contains the number of times to execute. A <see cref="T:System.Int64" /> is the number of times to execute.
</param> </param>
<param name="act"> <param name="act">
An <see cref="T:System.Action" /> delegate that contains the method(s) to execute. An <see cref="T:System.Action" /> delegate that references the method(s) to execute.
</param> </param>
<summary> <summary>
Executes the specified <see cref="T:System.Action" /> delegate <paramref name="n" /> times. Executes the specified <see cref="T:System.Action" /> delegate <paramref name="n" /> times.
@ -1080,29 +1080,29 @@
<Target Type="T:System.Int64" /> <Target Type="T:System.Int64" />
</Targets> </Targets>
<Member MemberName="Times"> <Member MemberName="Times">
<MemberSignature Language="C#" Value="public static void Times (this long n, Action&lt;ulong&gt; act);" /> <MemberSignature Language="C#" Value="public static void Times (this long n, Action&lt;long&gt; act);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig void Times(int64 n, class System.Action`1&lt;unsigned int64&gt; act) cil managed" /> <MemberSignature Language="ILAsm" Value=".method public static hidebysig void Times(int64 n, class System.Action`1&lt;int64&gt; act) cil managed" />
<MemberType>ExtensionMethod</MemberType> <MemberType>ExtensionMethod</MemberType>
<ReturnValue> <ReturnValue>
<ReturnType>System.Void</ReturnType> <ReturnType>System.Void</ReturnType>
</ReturnValue> </ReturnValue>
<Parameters> <Parameters>
<Parameter Name="n" Type="System.Int64" RefType="this" /> <Parameter Name="n" Type="System.Int64" RefType="this" />
<Parameter Name="act" Type="System.Action&lt;System.UInt64&gt;" /> <Parameter Name="act" Type="System.Action&lt;System.Int64&gt;" />
</Parameters> </Parameters>
<Docs> <Docs>
<param name="n"> <param name="n">
A <see cref="T:System.Int64" /> that contains the number of times to execute. A <see cref="T:System.Int64" /> is the number of times to execute.
</param> </param>
<param name="act"> <param name="act">
An <b>Action&lt;ulong&gt;</b> delegate that contains the method(s) to execute. An <b>Action&lt;long&gt;</b> delegate that references the method(s) to execute.
A <see cref="T:System.UInt64" /> parameter to pass to this method(s) contains the zero-based count of iteration. A <see cref="T:System.Int64" /> parameter to pass to the method(s) is the zero-based count of iteration.
</param> </param>
<summary> <summary>
Executes the specified <b>Action&lt;ulong&gt;</b> delegate <paramref name="n" /> times. Executes the specified <b>Action&lt;long&gt;</b> delegate <paramref name="n" /> times.
</summary> </summary>
</Docs> </Docs>
<Link Type="WebSocketSharp.Ext" Member="M:WebSocketSharp.Ext.Times(System.Int64,System.Action{System.UInt64})" /> <Link Type="WebSocketSharp.Ext" Member="M:WebSocketSharp.Ext.Times(System.Int64,System.Action{System.Int64})" />
</Member> </Member>
</ExtensionMethod> </ExtensionMethod>
<ExtensionMethod> <ExtensionMethod>
@ -1122,10 +1122,10 @@
</Parameters> </Parameters>
<Docs> <Docs>
<param name="n"> <param name="n">
A <see cref="T:System.UInt32" /> that contains the number of times to execute. A <see cref="T:System.UInt32" /> is the number of times to execute.
</param> </param>
<param name="act"> <param name="act">
An <see cref="T:System.Action" /> delegate that contains the method(s) to execute. An <see cref="T:System.Action" /> delegate that references the method(s) to execute.
</param> </param>
<summary> <summary>
Executes the specified <see cref="T:System.Action" /> delegate <paramref name="n" /> times. Executes the specified <see cref="T:System.Action" /> delegate <paramref name="n" /> times.
@ -1139,29 +1139,29 @@
<Target Type="T:System.UInt32" /> <Target Type="T:System.UInt32" />
</Targets> </Targets>
<Member MemberName="Times"> <Member MemberName="Times">
<MemberSignature Language="C#" Value="public static void Times (this uint n, Action&lt;ulong&gt; act);" /> <MemberSignature Language="C#" Value="public static void Times (this uint n, Action&lt;uint&gt; act);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig void Times(unsigned int32 n, class System.Action`1&lt;unsigned int64&gt; act) cil managed" /> <MemberSignature Language="ILAsm" Value=".method public static hidebysig void Times(unsigned int32 n, class System.Action`1&lt;unsigned int32&gt; act) cil managed" />
<MemberType>ExtensionMethod</MemberType> <MemberType>ExtensionMethod</MemberType>
<ReturnValue> <ReturnValue>
<ReturnType>System.Void</ReturnType> <ReturnType>System.Void</ReturnType>
</ReturnValue> </ReturnValue>
<Parameters> <Parameters>
<Parameter Name="n" Type="System.UInt32" RefType="this" /> <Parameter Name="n" Type="System.UInt32" RefType="this" />
<Parameter Name="act" Type="System.Action&lt;System.UInt64&gt;" /> <Parameter Name="act" Type="System.Action&lt;System.UInt32&gt;" />
</Parameters> </Parameters>
<Docs> <Docs>
<param name="n"> <param name="n">
A <see cref="T:System.UInt32" /> that contains the number of times to execute. A <see cref="T:System.UInt32" /> is the number of times to execute.
</param> </param>
<param name="act"> <param name="act">
An <b>Action&lt;ulong&gt;</b> delegate that contains the method(s) to execute. An <b>Action&lt;uint&gt;</b> delegate that references the method(s) to execute.
A <see cref="T:System.UInt64" /> parameter to pass to this method(s) contains the zero-based count of iteration. A <see cref="T:System.UInt32" /> parameter to pass to the method(s) is the zero-based count of iteration.
</param> </param>
<summary> <summary>
Executes the specified <b>Action&lt;ulong&gt;</b> delegate <paramref name="n" /> times. Executes the specified <b>Action&lt;uint&gt;</b> delegate <paramref name="n" /> times.
</summary> </summary>
</Docs> </Docs>
<Link Type="WebSocketSharp.Ext" Member="M:WebSocketSharp.Ext.Times(System.UInt32,System.Action{System.UInt64})" /> <Link Type="WebSocketSharp.Ext" Member="M:WebSocketSharp.Ext.Times(System.UInt32,System.Action{System.UInt32})" />
</Member> </Member>
</ExtensionMethod> </ExtensionMethod>
<ExtensionMethod> <ExtensionMethod>
@ -1181,10 +1181,10 @@
</Parameters> </Parameters>
<Docs> <Docs>
<param name="n"> <param name="n">
A <see cref="T:System.UInt64" /> that contains the number of times to execute. A <see cref="T:System.UInt64" /> is the number of times to execute.
</param> </param>
<param name="act"> <param name="act">
An <see cref="T:System.Action" /> delegate that contains the method(s) to execute. An <see cref="T:System.Action" /> delegate that references the method(s) to execute.
</param> </param>
<summary> <summary>
Executes the specified <see cref="T:System.Action" /> delegate <paramref name="n" /> times. Executes the specified <see cref="T:System.Action" /> delegate <paramref name="n" /> times.
@ -1210,11 +1210,11 @@
</Parameters> </Parameters>
<Docs> <Docs>
<param name="n"> <param name="n">
A <see cref="T:System.UInt64" /> that contains the number of times to execute. A <see cref="T:System.UInt64" /> is the number of times to execute.
</param> </param>
<param name="act"> <param name="act">
An <b>Action&lt;ulong&gt;</b> delegate that contains the method(s) to execute. An <b>Action&lt;ulong&gt;</b> delegate that references the method(s) to execute.
A <see cref="T:System.UInt64" /> parameter to pass to this method(s) contains the zero-based count of iteration. A <see cref="T:System.UInt64" /> parameter to pass to this method(s) is the zero-based count of iteration.
</param> </param>
<summary> <summary>
Executes the specified <b>Action&lt;ulong&gt;</b> delegate <paramref name="n" /> times. Executes the specified <b>Action&lt;ulong&gt;</b> delegate <paramref name="n" /> times.

View File

@ -120,6 +120,8 @@
<Compile Include="Server\ServiceHostManager.cs" /> <Compile Include="Server\ServiceHostManager.cs" />
<Compile Include="Server\WebSocketServiceManager.cs" /> <Compile Include="Server\WebSocketServiceManager.cs" />
<Compile Include="Server\HttpRequestEventArgs.cs" /> <Compile Include="Server\HttpRequestEventArgs.cs" />
<Compile Include="Net\HttpHeaderType.cs" />
<Compile Include="Net\HttpHeaderInfo.cs" />
</ItemGroup> </ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<ItemGroup> <ItemGroup>

Binary file not shown.