You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1301 lines
62 KiB
XML
1301 lines
62 KiB
XML
<Type Name="Ext" FullName="WebSocketSharp.Ext">
|
|
<TypeSignature Language="C#" Value="public static class Ext" />
|
|
<TypeSignature Language="ILAsm" Value=".class public auto ansi abstract sealed beforefieldinit Ext extends System.Object" />
|
|
<AssemblyInfo>
|
|
<AssemblyName>websocket-sharp</AssemblyName>
|
|
</AssemblyInfo>
|
|
<Base>
|
|
<BaseTypeName>System.Object</BaseTypeName>
|
|
</Base>
|
|
<Interfaces />
|
|
<Docs>
|
|
<summary>
|
|
Provides a set of static methods for the websocket-sharp.
|
|
</summary>
|
|
<remarks>To be added.</remarks>
|
|
</Docs>
|
|
<Members>
|
|
<Member MemberName="AcceptWebSocket">
|
|
<MemberSignature Language="C#" Value="public static WebSocketSharp.Net.WebSockets.TcpListenerWebSocketContext AcceptWebSocket (this System.Net.Sockets.TcpListener listener, bool secure);" />
|
|
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class WebSocketSharp.Net.WebSockets.TcpListenerWebSocketContext AcceptWebSocket(class System.Net.Sockets.TcpListener listener, bool secure) cil managed" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>WebSocketSharp.Net.WebSockets.TcpListenerWebSocketContext</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="listener" Type="System.Net.Sockets.TcpListener" RefType="this" />
|
|
<Parameter Name="secure" Type="System.Boolean" />
|
|
</Parameters>
|
|
<Docs>
|
|
<param name="listener">
|
|
A <see cref="T:System.Net.Sockets.TcpListener" /> that provides a TCP connection to accept a WebSocket connection.
|
|
</param>
|
|
<param name="secure">
|
|
A <see cref="T:System.Boolean" /> that indicates a secure connection or not. (<c>true</c> indicates a secure connection.)
|
|
</param>
|
|
<summary>
|
|
Accepts a WebSocket connection by the <see cref="T:System.Net.Sockets.TcpListener" />.
|
|
</summary>
|
|
<returns>
|
|
A <see cref="T:WebSocketSharp.Net.WebSockets.TcpListenerWebSocketContext" /> that contains a WebSocket connection.
|
|
</returns>
|
|
<remarks>To be added.</remarks>
|
|
<exception cref="T:System.ArgumentNullException">
|
|
<paramref name="listener" /> is <see langword="null" />.
|
|
</exception>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="AcceptWebSocketAsync">
|
|
<MemberSignature Language="C#" Value="public static void AcceptWebSocketAsync (this System.Net.Sockets.TcpListener listener, bool secure, Action<WebSocketSharp.Net.WebSockets.TcpListenerWebSocketContext> completed);" />
|
|
<MemberSignature Language="ILAsm" Value=".method public static hidebysig void AcceptWebSocketAsync(class System.Net.Sockets.TcpListener listener, bool secure, class System.Action`1<class WebSocketSharp.Net.WebSockets.TcpListenerWebSocketContext> completed) cil managed" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Void</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="listener" Type="System.Net.Sockets.TcpListener" RefType="this" />
|
|
<Parameter Name="secure" Type="System.Boolean" />
|
|
<Parameter Name="completed" Type="System.Action<WebSocketSharp.Net.WebSockets.TcpListenerWebSocketContext>" />
|
|
</Parameters>
|
|
<Docs>
|
|
<param name="listener">
|
|
A <see cref="T:System.Net.Sockets.TcpListener" /> that provides a TCP connection to accept a WebSocket connection.
|
|
</param>
|
|
<param name="secure">
|
|
A <see cref="T:System.Boolean" /> that indicates a secure connection or not. (<c>true</c> indicates a secure connection.)
|
|
</param>
|
|
<param name="completed">
|
|
An Action<TcpListenerWebSocketContext> delegate that contains the method(s) that is called when an asynchronous operation completes.
|
|
</param>
|
|
<summary>
|
|
Accepts a WebSocket connection asynchronously by the <see cref="T:System.Net.Sockets.TcpListener" />.
|
|
</summary>
|
|
<remarks>To be added.</remarks>
|
|
<exception cref="T:System.ArgumentNullException">
|
|
<paramref name="listener" /> is <see langword="null" />.
|
|
</exception>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="Contains">
|
|
<MemberSignature Language="C#" Value="public static bool Contains (this System.Collections.Specialized.NameValueCollection collection, string name);" />
|
|
<MemberSignature Language="ILAsm" Value=".method public static hidebysig bool Contains(class System.Collections.Specialized.NameValueCollection collection, string name) cil managed" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Boolean</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="collection" Type="System.Collections.Specialized.NameValueCollection" RefType="this" />
|
|
<Parameter Name="name" Type="System.String" />
|
|
</Parameters>
|
|
<Docs>
|
|
<param name="collection">
|
|
A <see cref="T:System.Collections.Specialized.NameValueCollection" /> that contains the entries.
|
|
</param>
|
|
<param name="name">
|
|
A <see cref="T:System.String" /> that contains the key of the entry to find.
|
|
</param>
|
|
<summary>
|
|
Determines whether the specified <see cref="T:System.Collections.Specialized.NameValueCollection" /> contains the entry
|
|
with the specified <paramref name="name" />.
|
|
</summary>
|
|
<returns>
|
|
<c>true</c> if <paramref name="collection" /> contains the entry with <paramref name="name" />;
|
|
otherwise, <c>false</c>.
|
|
</returns>
|
|
<remarks>To be added.</remarks>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="Contains">
|
|
<MemberSignature Language="C#" Value="public static bool Contains (this string value, char[] chars);" />
|
|
<MemberSignature Language="ILAsm" Value=".method public static hidebysig bool Contains(string value, char[] chars) cil managed" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Boolean</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="value" Type="System.String" RefType="this" />
|
|
<Parameter Name="chars" Type="System.Char[]">
|
|
<Attributes>
|
|
<Attribute>
|
|
<AttributeName>System.ParamArray</AttributeName>
|
|
</Attribute>
|
|
</Attributes>
|
|
</Parameter>
|
|
</Parameters>
|
|
<Docs>
|
|
<param name="value">
|
|
A <see cref="T:System.String" /> to test.
|
|
</param>
|
|
<param name="chars">
|
|
An array of <see cref="T:System.Char" /> that contains characters to find.
|
|
</param>
|
|
<summary>
|
|
Determines whether the specified <see cref="T:System.String" /> contains any of characters
|
|
in the specified array of <see cref="T:System.Char" />.
|
|
</summary>
|
|
<returns>
|
|
<c>true</c> if <paramref name="value" /> contains any of <paramref name="chars" />; otherwise, <c>false</c>.
|
|
</returns>
|
|
<remarks>To be added.</remarks>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="Contains">
|
|
<MemberSignature Language="C#" Value="public static bool Contains (this System.Collections.Specialized.NameValueCollection collection, string name, string value);" />
|
|
<MemberSignature Language="ILAsm" Value=".method public static hidebysig bool Contains(class System.Collections.Specialized.NameValueCollection collection, string name, string value) cil managed" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Boolean</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="collection" Type="System.Collections.Specialized.NameValueCollection" RefType="this" />
|
|
<Parameter Name="name" Type="System.String" />
|
|
<Parameter Name="value" Type="System.String" />
|
|
</Parameters>
|
|
<Docs>
|
|
<param name="collection">
|
|
A <see cref="T:System.Collections.Specialized.NameValueCollection" /> that contains the entries.
|
|
</param>
|
|
<param name="name">
|
|
A <see cref="T:System.String" /> that contains the key of the entry to find.
|
|
</param>
|
|
<param name="value">
|
|
A <see cref="T:System.String" /> that contains the value of the entry to find.
|
|
</param>
|
|
<summary>
|
|
Determines whether the specified <see cref="T:System.Collections.Specialized.NameValueCollection" /> contains the entry
|
|
with the specified both <paramref name="name" /> and <paramref name="value" />.
|
|
</summary>
|
|
<returns>
|
|
<c>true</c> if <paramref name="collection" /> contains the entry with both <paramref name="name" /> and <paramref name="value" />;
|
|
otherwise, <c>false</c>.
|
|
</returns>
|
|
<remarks>To be added.</remarks>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="Emit">
|
|
<MemberSignature Language="C#" Value="public static void Emit (this EventHandler eventHandler, object sender, EventArgs e);" />
|
|
<MemberSignature Language="ILAsm" Value=".method public static hidebysig void Emit(class System.EventHandler eventHandler, object sender, class System.EventArgs e) cil managed" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Void</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="eventHandler" Type="System.EventHandler" RefType="this" />
|
|
<Parameter Name="sender" Type="System.Object" />
|
|
<Parameter Name="e" Type="System.EventArgs" />
|
|
</Parameters>
|
|
<Docs>
|
|
<param name="eventHandler">
|
|
An <see cref="T:System.EventHandler" /> to emit.
|
|
</param>
|
|
<param name="sender">
|
|
An <see cref="T:System.Object" /> that emits the <paramref name="eventHandler" />.
|
|
</param>
|
|
<param name="e">
|
|
An <see cref="T:System.EventArgs" /> that contains no event data.
|
|
</param>
|
|
<summary>
|
|
Emit the specified <see cref="T:System.EventHandler" /> delegate if is not <see langword="null" />.
|
|
</summary>
|
|
<remarks>To be added.</remarks>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="Emit<TEventArgs>">
|
|
<MemberSignature Language="C#" Value="public static void Emit<TEventArgs> (this EventHandler<TEventArgs> eventHandler, object sender, TEventArgs e) where TEventArgs : EventArgs;" />
|
|
<MemberSignature Language="ILAsm" Value=".method public static hidebysig void Emit<(class System.EventArgs) TEventArgs>(class System.EventHandler`1<!!TEventArgs> eventHandler, object sender, !!TEventArgs e) cil managed" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Void</ReturnType>
|
|
</ReturnValue>
|
|
<TypeParameters>
|
|
<TypeParameter Name="TEventArgs">
|
|
<Constraints>
|
|
<BaseTypeName>System.EventArgs</BaseTypeName>
|
|
</Constraints>
|
|
</TypeParameter>
|
|
</TypeParameters>
|
|
<Parameters>
|
|
<Parameter Name="eventHandler" Type="System.EventHandler<TEventArgs>" RefType="this" />
|
|
<Parameter Name="sender" Type="System.Object" />
|
|
<Parameter Name="e" Type="TEventArgs" />
|
|
</Parameters>
|
|
<Docs>
|
|
<typeparam name="TEventArgs">
|
|
The type of the event data generated by the event.
|
|
</typeparam>
|
|
<param name="eventHandler">
|
|
An <b>EventHandler<TEventArgs></b> to emit.
|
|
</param>
|
|
<param name="sender">
|
|
An <see cref="T:System.Object" /> that emits the <paramref name="eventHandler" />.
|
|
</param>
|
|
<param name="e">
|
|
A <b>TEventArgs</b> that contains the event data.
|
|
</param>
|
|
<summary>
|
|
Emit the specified <b>EventHandler<TEventArgs></b> delegate if is not <see langword="null" />.
|
|
</summary>
|
|
<remarks>To be added.</remarks>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="EqualsAndSaveTo">
|
|
<MemberSignature Language="C#" Value="public static bool EqualsAndSaveTo (this int value, char c, System.Collections.Generic.List<byte> dest);" />
|
|
<MemberSignature Language="ILAsm" Value=".method public static hidebysig bool EqualsAndSaveTo(int32 value, char c, class System.Collections.Generic.List`1<unsigned int8> dest) cil managed" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Boolean</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="value" Type="System.Int32" RefType="this" />
|
|
<Parameter Name="c" Type="System.Char" />
|
|
<Parameter Name="dest" Type="System.Collections.Generic.List<System.Byte>" />
|
|
</Parameters>
|
|
<Docs>
|
|
<param name="value">
|
|
An <see cref="T:System.Int32" /> to compare.
|
|
</param>
|
|
<param name="c">
|
|
A <see cref="T:System.Char" /> to compare.
|
|
</param>
|
|
<param name="dest">
|
|
A <strong>List<byte></strong> to save the <paramref name="value" /> as <see cref="T:System.Byte" />.
|
|
</param>
|
|
<summary>
|
|
Determines whether the specified <see cref="T:System.Int32" /> equals the specified <see cref="T:System.Char" /> as <see cref="T:System.Byte" />.
|
|
And save this specified <see cref="T:System.Int32" /> as <see cref="T:System.Byte" /> to the specified <strong>List<byte></strong>.
|
|
</summary>
|
|
<returns>
|
|
<c>true</c> if the <paramref name="value" /> parameter equals the <paramref name="c" /> parameter as <see cref="T:System.Byte" />; otherwise, <c>false</c>.
|
|
</returns>
|
|
<remarks>To be added.</remarks>
|
|
<exception cref="T:System.ArgumentOutOfRangeException">
|
|
Is thrown when the <paramref name="value" /> parameter passed to a method is invalid because it is outside the allowable range of values as <see cref="T:System.Byte" />.
|
|
</exception>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="GetAbsolutePath">
|
|
<MemberSignature Language="C#" Value="public static string GetAbsolutePath (this Uri uri);" />
|
|
<MemberSignature Language="ILAsm" Value=".method public static hidebysig string GetAbsolutePath(class System.Uri uri) cil managed" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.String</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="uri" Type="System.Uri" RefType="this" />
|
|
</Parameters>
|
|
<Docs>
|
|
<param name="uri">
|
|
A <see cref="T:System.Uri" /> that contains the URI to get the absolute path from.
|
|
</param>
|
|
<summary>
|
|
Gets the absolute path from the specified <see cref="T:System.Uri" />.
|
|
</summary>
|
|
<returns>
|
|
A <see cref="T:System.String" /> that contains the absolute path if got successfully; otherwise, <see langword="null" />.
|
|
</returns>
|
|
<remarks>To be added.</remarks>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="GetCookies">
|
|
<MemberSignature Language="C#" Value="public static WebSocketSharp.Net.CookieCollection GetCookies (this System.Collections.Specialized.NameValueCollection headers, bool response);" />
|
|
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class WebSocketSharp.Net.CookieCollection GetCookies(class System.Collections.Specialized.NameValueCollection headers, bool response) cil managed" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>WebSocketSharp.Net.CookieCollection</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="headers" Type="System.Collections.Specialized.NameValueCollection" RefType="this" />
|
|
<Parameter Name="response" Type="System.Boolean" />
|
|
</Parameters>
|
|
<Docs>
|
|
<param name="headers">
|
|
A <see cref="T:System.Collections.Specialized.NameValueCollection" /> that contains a collection of the HTTP Headers.
|
|
</param>
|
|
<param name="response">
|
|
<c>true</c> if gets from the response <paramref name="headers" />;
|
|
from the request <paramref name="headers" />, <c>false</c>.
|
|
</param>
|
|
<summary>
|
|
Gets the collection of cookies from the specified <see cref="T:System.Collections.Specialized.NameValueCollection" />.
|
|
</summary>
|
|
<returns>
|
|
A <see cref="T:WebSocketSharp.Net.CookieCollection" /> that receives a collection of the HTTP Cookies.
|
|
</returns>
|
|
<remarks>To be added.</remarks>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="GetDescription">
|
|
<MemberSignature Language="C#" Value="public static string GetDescription (this WebSocketSharp.Net.HttpStatusCode code);" />
|
|
<MemberSignature Language="ILAsm" Value=".method public static hidebysig string GetDescription(valuetype WebSocketSharp.Net.HttpStatusCode code) cil managed" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.String</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="code" Type="WebSocketSharp.Net.HttpStatusCode" RefType="this" />
|
|
</Parameters>
|
|
<Docs>
|
|
<param name="code">
|
|
One of <see cref="T:WebSocketSharp.Net.HttpStatusCode" /> values that contains an HTTP status code.
|
|
</param>
|
|
<summary>
|
|
Gets the description of the HTTP status code using the specified <see cref="T:WebSocketSharp.Net.HttpStatusCode" />.
|
|
</summary>
|
|
<returns>
|
|
A <see cref="T:System.String" /> that contains the description of the HTTP status code.
|
|
</returns>
|
|
<remarks>To be added.</remarks>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="GetName">
|
|
<MemberSignature Language="C#" Value="public static string GetName (this string nameAndValue, string separator);" />
|
|
<MemberSignature Language="ILAsm" Value=".method public static hidebysig string GetName(string nameAndValue, string separator) cil managed" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.String</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="nameAndValue" Type="System.String" RefType="this" />
|
|
<Parameter Name="separator" Type="System.String" />
|
|
</Parameters>
|
|
<Docs>
|
|
<param name="nameAndValue">
|
|
A <see cref="T:System.String" /> that contains a pair of name and value separated by a separator string.
|
|
</param>
|
|
<param name="separator">
|
|
A <see cref="T:System.String" /> that contains a separator string.
|
|
</param>
|
|
<summary>
|
|
Gets the name from the specified <see cref="T:System.String" /> that contains a pair of name and value
|
|
separated by a separator string.
|
|
</summary>
|
|
<returns>
|
|
A <see cref="T:System.String" /> that contains the name if any; otherwise, <c>null</c>.
|
|
</returns>
|
|
<remarks>To be added.</remarks>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="GetNameAndValue">
|
|
<MemberSignature Language="C#" Value="public static System.Collections.Generic.KeyValuePair<string,string> GetNameAndValue (this string nameAndValue, string separator);" />
|
|
<MemberSignature Language="ILAsm" Value=".method public static hidebysig valuetype System.Collections.Generic.KeyValuePair`2<string, string> GetNameAndValue(string nameAndValue, string separator) cil managed" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Collections.Generic.KeyValuePair<System.String,System.String></ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="nameAndValue" Type="System.String" RefType="this" />
|
|
<Parameter Name="separator" Type="System.String" />
|
|
</Parameters>
|
|
<Docs>
|
|
<param name="nameAndValue">
|
|
A <see cref="T:System.String" /> that contains a pair of name and value are separated by a separator string.
|
|
</param>
|
|
<param name="separator">
|
|
A <see cref="T:System.String" /> that contains a separator string.
|
|
</param>
|
|
<summary>
|
|
Gets the name and value from the specified <see cref="T:System.String" /> that contains a pair of name and value are separated by a separator string.
|
|
</summary>
|
|
<returns>
|
|
A <b>KeyValuePair<string, string></b> that contains the name and value if any.
|
|
</returns>
|
|
<remarks>To be added.</remarks>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="GetStatusDescription">
|
|
<MemberSignature Language="C#" Value="public static string GetStatusDescription (this int code);" />
|
|
<MemberSignature Language="ILAsm" Value=".method public static hidebysig string GetStatusDescription(int32 code) cil managed" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.String</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="code" Type="System.Int32" RefType="this" />
|
|
</Parameters>
|
|
<Docs>
|
|
<param name="code">
|
|
An <see cref="T:System.Int32" /> that contains an HTTP status code.
|
|
</param>
|
|
<summary>
|
|
Gets the description of the HTTP status code using the specified <see cref="T:System.Int32" />.
|
|
</summary>
|
|
<returns>
|
|
A <see cref="T:System.String" /> that contains the description of the HTTP status code.
|
|
</returns>
|
|
<remarks>To be added.</remarks>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="GetValue">
|
|
<MemberSignature Language="C#" Value="public static string GetValue (this string nameAndValue, string separator);" />
|
|
<MemberSignature Language="ILAsm" Value=".method public static hidebysig string GetValue(string nameAndValue, string separator) cil managed" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.String</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="nameAndValue" Type="System.String" RefType="this" />
|
|
<Parameter Name="separator" Type="System.String" />
|
|
</Parameters>
|
|
<Docs>
|
|
<param name="nameAndValue">
|
|
A <see cref="T:System.String" /> that contains a pair of name and value separated by a separator string.
|
|
</param>
|
|
<param name="separator">
|
|
A <see cref="T:System.String" /> that contains a separator string.
|
|
</param>
|
|
<summary>
|
|
Gets the value from the specified <see cref="T:System.String" /> that contains a pair of name and value
|
|
separated by a separator string.
|
|
</summary>
|
|
<returns>
|
|
A <see cref="T:System.String" /> that contains the value if any; otherwise, <c>null</c>.
|
|
</returns>
|
|
<remarks>To be added.</remarks>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="IsCloseStatusCode">
|
|
<MemberSignature Language="C#" Value="public static bool IsCloseStatusCode (this ushort code);" />
|
|
<MemberSignature Language="ILAsm" Value=".method public static hidebysig bool IsCloseStatusCode(unsigned int16 code) cil managed" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Boolean</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="code" Type="System.UInt16" RefType="this" />
|
|
</Parameters>
|
|
<Docs>
|
|
<param name="code">
|
|
A <see cref="T:System.UInt16" /> to test.
|
|
</param>
|
|
<summary>
|
|
Determines whether the specified <see cref="T:System.UInt16" /> is in the allowable range of
|
|
the WebSocket close status code.
|
|
</summary>
|
|
<returns>
|
|
<c>true</c> if <paramref name="code" /> is in the allowable range of the WebSocket close status code; otherwise, <c>false</c>.
|
|
</returns>
|
|
<remarks>
|
|
Not allowable ranges are the followings.
|
|
<list type="bullet"><item><term>
|
|
Numbers in the range 0-999 are not used.
|
|
</term></item><item><term>
|
|
Numbers which are greater than 4999 are out of the reserved close status code ranges.
|
|
</term></item></list></remarks>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="IsEmpty">
|
|
<MemberSignature Language="C#" Value="public static bool IsEmpty (this string value);" />
|
|
<MemberSignature Language="ILAsm" Value=".method public static hidebysig bool IsEmpty(string value) cil managed" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Boolean</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="value" Type="System.String" RefType="this" />
|
|
</Parameters>
|
|
<Docs>
|
|
<param name="value">
|
|
A <see cref="T:System.String" /> to test.
|
|
</param>
|
|
<summary>
|
|
Determines whether the specified <see cref="T:System.String" /> is empty.
|
|
</summary>
|
|
<returns>
|
|
<c>true</c> if <paramref name="value" /> is empty; otherwise, <c>false</c>.
|
|
</returns>
|
|
<remarks>To be added.</remarks>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="IsEnclosedIn">
|
|
<MemberSignature Language="C#" Value="public static bool IsEnclosedIn (this string value, char c);" />
|
|
<MemberSignature Language="ILAsm" Value=".method public static hidebysig bool IsEnclosedIn(string value, char c) cil managed" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Boolean</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="value" Type="System.String" RefType="this" />
|
|
<Parameter Name="c" Type="System.Char" />
|
|
</Parameters>
|
|
<Docs>
|
|
<param name="value">
|
|
A <see cref="T:System.String" /> to test.
|
|
</param>
|
|
<param name="c">
|
|
A <see cref="T:System.Char" /> that contains character to find.
|
|
</param>
|
|
<summary>
|
|
Determines whether the specified <see cref="T:System.String" /> is enclosed in the specified <see cref="T:System.Char" />.
|
|
</summary>
|
|
<returns>
|
|
<c>true</c> if <paramref name="value" /> is enclosed in <paramref name="c" />; otherwise, <c>false</c>.
|
|
</returns>
|
|
<remarks>To be added.</remarks>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="IsHostOrder">
|
|
<MemberSignature Language="C#" Value="public static bool IsHostOrder (this WebSocketSharp.ByteOrder order);" />
|
|
<MemberSignature Language="ILAsm" Value=".method public static hidebysig bool IsHostOrder(valuetype WebSocketSharp.ByteOrder order) cil managed" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Boolean</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="order" Type="WebSocketSharp.ByteOrder" RefType="this" />
|
|
</Parameters>
|
|
<Docs>
|
|
<param name="order">
|
|
A <see cref="T:WebSocketSharp.ByteOrder" /> to test.
|
|
</param>
|
|
<summary>
|
|
Determines whether the specified <see cref="T:WebSocketSharp.ByteOrder" /> is host (this computer architecture) byte order.
|
|
</summary>
|
|
<returns>
|
|
<c>true</c> if the <paramref name="order" /> parameter is host byte order; otherwise, <c>false</c>.
|
|
</returns>
|
|
<remarks>To be added.</remarks>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="IsLocal">
|
|
<MemberSignature Language="C#" Value="public static bool IsLocal (this System.Net.IPAddress address);" />
|
|
<MemberSignature Language="ILAsm" Value=".method public static hidebysig bool IsLocal(class System.Net.IPAddress address) cil managed" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Boolean</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="address" Type="System.Net.IPAddress" RefType="this" />
|
|
</Parameters>
|
|
<Docs>
|
|
<param name="address">
|
|
A <see cref="T:System.Net.IPAddress" /> to test.
|
|
</param>
|
|
<summary>
|
|
Determines whether the specified <see cref="T:System.Net.IPAddress" /> represents a local IP address.
|
|
</summary>
|
|
<returns>
|
|
<c>true</c> if <paramref name="address" /> represents a local IP address; otherwise, <c>false</c>.
|
|
</returns>
|
|
<remarks>To be added.</remarks>
|
|
<exception cref="T:System.ArgumentNullException">
|
|
<paramref name="address" /> is <see langword="null" />.
|
|
</exception>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="IsNullOrEmpty">
|
|
<MemberSignature Language="C#" Value="public static bool IsNullOrEmpty (this string value);" />
|
|
<MemberSignature Language="ILAsm" Value=".method public static hidebysig bool IsNullOrEmpty(string value) cil managed" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Boolean</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="value" Type="System.String" RefType="this" />
|
|
</Parameters>
|
|
<Docs>
|
|
<param name="value">
|
|
A <see cref="T:System.String" /> to test.
|
|
</param>
|
|
<summary>
|
|
Determines whether the specified <see cref="T:System.String" /> is <see langword="null" /> or empty.
|
|
</summary>
|
|
<returns>
|
|
<c>true</c> if the <paramref name="value" /> parameter is <see langword="null" /> or empty; otherwise, <c>false</c>.
|
|
</returns>
|
|
<remarks>To be added.</remarks>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="IsPredefinedScheme">
|
|
<MemberSignature Language="C#" Value="public static bool IsPredefinedScheme (this string scheme);" />
|
|
<MemberSignature Language="ILAsm" Value=".method public static hidebysig bool IsPredefinedScheme(string scheme) cil managed" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Boolean</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="scheme" Type="System.String" RefType="this" />
|
|
</Parameters>
|
|
<Docs>
|
|
<param name="scheme">
|
|
A <see cref="T:System.String" /> to test.
|
|
</param>
|
|
<summary>
|
|
Determines whether the specified <see cref="T:System.String" /> is predefined scheme.
|
|
</summary>
|
|
<returns>
|
|
<c>true</c> if the <paramref name="scheme" /> parameter is the predefined scheme; otherwise, <c>false</c>.
|
|
</returns>
|
|
<remarks>To be added.</remarks>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="IsUpgradeTo">
|
|
<MemberSignature Language="C#" Value="public static bool IsUpgradeTo (this WebSocketSharp.Net.HttpListenerRequest request, string protocol);" />
|
|
<MemberSignature Language="ILAsm" Value=".method public static hidebysig bool IsUpgradeTo(class WebSocketSharp.Net.HttpListenerRequest request, string protocol) cil managed" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Boolean</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="request" Type="WebSocketSharp.Net.HttpListenerRequest" RefType="this" />
|
|
<Parameter Name="protocol" Type="System.String" />
|
|
</Parameters>
|
|
<Docs>
|
|
<param name="request">
|
|
A <see cref="T:WebSocketSharp.Net.HttpListenerRequest" /> that contains an HTTP request information.
|
|
</param>
|
|
<param name="protocol">
|
|
A <see cref="T:System.String" /> that contains a protocol name.
|
|
</param>
|
|
<summary>
|
|
Determines whether the specified <see cref="T:WebSocketSharp.Net.HttpListenerRequest" /> is the HTTP Upgrade request
|
|
to switch to the specified <paramref name="protocol" />.
|
|
</summary>
|
|
<returns>
|
|
<c>true</c> if the specified <see cref="T:WebSocketSharp.Net.HttpListenerRequest" /> is the HTTP Upgrade request
|
|
to switch to the specified <paramref name="protocol" />; otherwise, <c>false</c>.
|
|
</returns>
|
|
<remarks>To be added.</remarks>
|
|
<exception cref="T:System.ArgumentNullException">
|
|
<para>
|
|
<paramref name="request" /> is <see langword="null" />.
|
|
</para>
|
|
<para>
|
|
-or-
|
|
</para>
|
|
<para>
|
|
<paramref name="protocol" /> is <see langword="null" />.
|
|
</para>
|
|
</exception>
|
|
<exception cref="T:System.ArgumentException">
|
|
<paramref name="protocol" /> is <see cref="F:System.String.Empty" />.
|
|
</exception>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="IsValidAbsolutePath">
|
|
<MemberSignature Language="C#" Value="public static bool IsValidAbsolutePath (this string absPath, out string message);" />
|
|
<MemberSignature Language="ILAsm" Value=".method public static hidebysig bool IsValidAbsolutePath(string absPath, string message) cil managed" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Boolean</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="absPath" Type="System.String" RefType="this" />
|
|
<Parameter Name="message" Type="System.String&" RefType="out" />
|
|
</Parameters>
|
|
<Docs>
|
|
<param name="absPath">
|
|
A <see cref="T:System.String" /> to test.
|
|
</param>
|
|
<param name="message">
|
|
A <see cref="T:System.String" /> that receives a message if the <paramref name="absPath" /> is invalid.
|
|
</param>
|
|
<summary>
|
|
Determines whether the specified <see cref="T:System.String" /> is valid absolute path.
|
|
</summary>
|
|
<returns>
|
|
<c>true</c> if the <paramref name="absPath" /> parameter is valid absolute path; otherwise, <c>false</c>.
|
|
</returns>
|
|
<remarks>To be added.</remarks>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="MaybeUri">
|
|
<MemberSignature Language="C#" Value="public static bool MaybeUri (this string uriString);" />
|
|
<MemberSignature Language="ILAsm" Value=".method public static hidebysig bool MaybeUri(string uriString) cil managed" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Boolean</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="uriString" Type="System.String" RefType="this" />
|
|
</Parameters>
|
|
<Docs>
|
|
<param name="uriString">
|
|
A <see cref="T:System.String" /> to test.
|
|
</param>
|
|
<summary>
|
|
Determines whether the specified <see cref="T:System.String" /> is a URI string.
|
|
</summary>
|
|
<returns>
|
|
<c>true</c> if the <paramref name="uriString" /> parameter is maybe a URI string; otherwise, <c>false</c>.
|
|
</returns>
|
|
<remarks>To be added.</remarks>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="ReadBytes">
|
|
<MemberSignature Language="C#" Value="public static byte[] ReadBytes (this System.IO.Stream stream, int length);" />
|
|
<MemberSignature Language="ILAsm" Value=".method public static hidebysig unsigned int8[] ReadBytes(class System.IO.Stream stream, int32 length) cil managed" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Byte[]</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="stream" Type="System.IO.Stream" RefType="this" />
|
|
<Parameter Name="length" Type="System.Int32" />
|
|
</Parameters>
|
|
<Docs>
|
|
<param name="stream">
|
|
A <see cref="T:System.IO.Stream" /> that contains the data to read.
|
|
</param>
|
|
<param name="length">
|
|
An <see cref="T:System.Int32" /> that contains the number of bytes to read.
|
|
</param>
|
|
<summary>
|
|
Reads a block of bytes from the specified <see cref="T:System.IO.Stream" />
|
|
and returns the read data in an array of <see cref="T:System.Byte" />.
|
|
</summary>
|
|
<returns>
|
|
An array of <see cref="T:System.Byte" /> that receives the read data.
|
|
</returns>
|
|
<remarks>To be added.</remarks>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="ReadBytes">
|
|
<MemberSignature Language="C#" Value="public static byte[] ReadBytes (this System.IO.Stream stream, long length);" />
|
|
<MemberSignature Language="ILAsm" Value=".method public static hidebysig unsigned int8[] ReadBytes(class System.IO.Stream stream, int64 length) cil managed" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Byte[]</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="stream" Type="System.IO.Stream" RefType="this" />
|
|
<Parameter Name="length" Type="System.Int64" />
|
|
</Parameters>
|
|
<Docs>
|
|
<param name="stream">
|
|
A <see cref="T:System.IO.Stream" /> that contains the data to read.
|
|
</param>
|
|
<param name="length">
|
|
A <see cref="T:System.Int64" /> that contains the number of bytes to read.
|
|
</param>
|
|
<summary>
|
|
Reads a block of bytes from the specified <see cref="T:System.IO.Stream" />
|
|
and returns the read data in an array of <see cref="T:System.Byte" />.
|
|
</summary>
|
|
<returns>
|
|
An array of <see cref="T:System.Byte" /> that receives the read data.
|
|
</returns>
|
|
<remarks>To be added.</remarks>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="SubArray<T>">
|
|
<MemberSignature Language="C#" Value="public static T[] SubArray<T> (this T[] array, int startIndex, int length);" />
|
|
<MemberSignature Language="ILAsm" Value=".method public static hidebysig !!T[] SubArray<T>(!!T[] array, int32 startIndex, int32 length) cil managed" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>T[]</ReturnType>
|
|
</ReturnValue>
|
|
<TypeParameters>
|
|
<TypeParameter Name="T" />
|
|
</TypeParameters>
|
|
<Parameters>
|
|
<Parameter Name="array" Type="T[]" RefType="this" />
|
|
<Parameter Name="startIndex" Type="System.Int32" />
|
|
<Parameter Name="length" Type="System.Int32" />
|
|
</Parameters>
|
|
<Docs>
|
|
<typeparam name="T">
|
|
The type of elements in the <paramref name="array" />.
|
|
</typeparam>
|
|
<param name="array">
|
|
An array of T that contains the data to retrieve a sub-array.
|
|
</param>
|
|
<param name="startIndex">
|
|
An <see cref="T:System.Int32" /> that contains the zero-based starting position of a sub-array in the <paramref name="array" />.
|
|
</param>
|
|
<param name="length">
|
|
An <see cref="T:System.Int32" /> that contains the number of elements to retrieve a sub-array.
|
|
</param>
|
|
<summary>
|
|
Retrieves a sub-array from the specified <paramref name="array" />. A sub-array starts at the specified element position.
|
|
</summary>
|
|
<returns>
|
|
An array of T that receives a sub-array, or an empty array of T if any problems with the parameters.
|
|
</returns>
|
|
<remarks>To be added.</remarks>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="Times">
|
|
<MemberSignature Language="C#" Value="public static void Times (this int n, Action act);" />
|
|
<MemberSignature Language="ILAsm" Value=".method public static hidebysig void Times(int32 n, class System.Action act) cil managed" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Void</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="n" Type="System.Int32" RefType="this" />
|
|
<Parameter Name="act" Type="System.Action" />
|
|
</Parameters>
|
|
<Docs>
|
|
<param name="n">
|
|
An <see cref="T:System.Int32" /> is the number of times to execute.
|
|
</param>
|
|
<param name="act">
|
|
An <see cref="T:System.Action" /> delegate that references the method(s) to execute.
|
|
</param>
|
|
<summary>
|
|
Executes the specified <see cref="T:System.Action" /> delegate <paramref name="n" /> times.
|
|
</summary>
|
|
<remarks>To be added.</remarks>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="Times">
|
|
<MemberSignature Language="C#" Value="public static void Times (this int n, Action<int> act);" />
|
|
<MemberSignature Language="ILAsm" Value=".method public static hidebysig void Times(int32 n, class System.Action`1<int32> act) cil managed" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Void</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="n" Type="System.Int32" RefType="this" />
|
|
<Parameter Name="act" Type="System.Action<System.Int32>" />
|
|
</Parameters>
|
|
<Docs>
|
|
<param name="n">
|
|
An <see cref="T:System.Int32" /> is the number of times to execute.
|
|
</param>
|
|
<param name="act">
|
|
An <b>Action<int></b> delegate that references the method(s) to execute.
|
|
An <see cref="T:System.Int32" /> parameter to pass to the method(s) is the zero-based count of iteration.
|
|
</param>
|
|
<summary>
|
|
Executes the specified <b>Action<int></b> delegate <paramref name="n" /> times.
|
|
</summary>
|
|
<remarks>To be added.</remarks>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="Times">
|
|
<MemberSignature Language="C#" Value="public static void Times (this long n, Action act);" />
|
|
<MemberSignature Language="ILAsm" Value=".method public static hidebysig void Times(int64 n, class System.Action act) cil managed" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Void</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="n" Type="System.Int64" RefType="this" />
|
|
<Parameter Name="act" Type="System.Action" />
|
|
</Parameters>
|
|
<Docs>
|
|
<param name="n">
|
|
A <see cref="T:System.Int64" /> is the number of times to execute.
|
|
</param>
|
|
<param name="act">
|
|
An <see cref="T:System.Action" /> delegate that references the method(s) to execute.
|
|
</param>
|
|
<summary>
|
|
Executes the specified <see cref="T:System.Action" /> delegate <paramref name="n" /> times.
|
|
</summary>
|
|
<remarks>To be added.</remarks>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="Times">
|
|
<MemberSignature Language="C#" Value="public static void Times (this long n, Action<long> act);" />
|
|
<MemberSignature Language="ILAsm" Value=".method public static hidebysig void Times(int64 n, class System.Action`1<int64> act) cil managed" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Void</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="n" Type="System.Int64" RefType="this" />
|
|
<Parameter Name="act" Type="System.Action<System.Int64>" />
|
|
</Parameters>
|
|
<Docs>
|
|
<param name="n">
|
|
A <see cref="T:System.Int64" /> is the number of times to execute.
|
|
</param>
|
|
<param name="act">
|
|
An <b>Action<long></b> delegate that references the method(s) to execute.
|
|
A <see cref="T:System.Int64" /> parameter to pass to the method(s) is the zero-based count of iteration.
|
|
</param>
|
|
<summary>
|
|
Executes the specified <b>Action<long></b> delegate <paramref name="n" /> times.
|
|
</summary>
|
|
<remarks>To be added.</remarks>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="Times">
|
|
<MemberSignature Language="C#" Value="public static void Times (this uint n, Action act);" />
|
|
<MemberSignature Language="ILAsm" Value=".method public static hidebysig void Times(unsigned int32 n, class System.Action act) cil managed" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Void</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="n" Type="System.UInt32" RefType="this" />
|
|
<Parameter Name="act" Type="System.Action" />
|
|
</Parameters>
|
|
<Docs>
|
|
<param name="n">
|
|
A <see cref="T:System.UInt32" /> is the number of times to execute.
|
|
</param>
|
|
<param name="act">
|
|
An <see cref="T:System.Action" /> delegate that references the method(s) to execute.
|
|
</param>
|
|
<summary>
|
|
Executes the specified <see cref="T:System.Action" /> delegate <paramref name="n" /> times.
|
|
</summary>
|
|
<remarks>To be added.</remarks>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="Times">
|
|
<MemberSignature Language="C#" Value="public static void Times (this uint n, Action<uint> act);" />
|
|
<MemberSignature Language="ILAsm" Value=".method public static hidebysig void Times(unsigned int32 n, class System.Action`1<unsigned int32> act) cil managed" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Void</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="n" Type="System.UInt32" RefType="this" />
|
|
<Parameter Name="act" Type="System.Action<System.UInt32>" />
|
|
</Parameters>
|
|
<Docs>
|
|
<param name="n">
|
|
A <see cref="T:System.UInt32" /> is the number of times to execute.
|
|
</param>
|
|
<param name="act">
|
|
An <b>Action<uint></b> delegate that references the method(s) to execute.
|
|
A <see cref="T:System.UInt32" /> parameter to pass to the method(s) is the zero-based count of iteration.
|
|
</param>
|
|
<summary>
|
|
Executes the specified <b>Action<uint></b> delegate <paramref name="n" /> times.
|
|
</summary>
|
|
<remarks>To be added.</remarks>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="Times">
|
|
<MemberSignature Language="C#" Value="public static void Times (this ulong n, Action act);" />
|
|
<MemberSignature Language="ILAsm" Value=".method public static hidebysig void Times(unsigned int64 n, class System.Action act) cil managed" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Void</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="n" Type="System.UInt64" RefType="this" />
|
|
<Parameter Name="act" Type="System.Action" />
|
|
</Parameters>
|
|
<Docs>
|
|
<param name="n">
|
|
A <see cref="T:System.UInt64" /> is the number of times to execute.
|
|
</param>
|
|
<param name="act">
|
|
An <see cref="T:System.Action" /> delegate that references the method(s) to execute.
|
|
</param>
|
|
<summary>
|
|
Executes the specified <see cref="T:System.Action" /> delegate <paramref name="n" /> times.
|
|
</summary>
|
|
<remarks>To be added.</remarks>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="Times">
|
|
<MemberSignature Language="C#" Value="public static void Times (this ulong n, Action<ulong> act);" />
|
|
<MemberSignature Language="ILAsm" Value=".method public static hidebysig void Times(unsigned int64 n, class System.Action`1<unsigned int64> act) cil managed" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Void</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="n" Type="System.UInt64" RefType="this" />
|
|
<Parameter Name="act" Type="System.Action<System.UInt64>" />
|
|
</Parameters>
|
|
<Docs>
|
|
<param name="n">
|
|
A <see cref="T:System.UInt64" /> is the number of times to execute.
|
|
</param>
|
|
<param name="act">
|
|
An <b>Action<ulong></b> delegate that references the method(s) to execute.
|
|
A <see cref="T:System.UInt64" /> parameter to pass to this method(s) is the zero-based count of iteration.
|
|
</param>
|
|
<summary>
|
|
Executes the specified <b>Action<ulong></b> delegate <paramref name="n" /> times.
|
|
</summary>
|
|
<remarks>To be added.</remarks>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="To<T>">
|
|
<MemberSignature Language="C#" Value="public static T To<T> (this byte[] src, WebSocketSharp.ByteOrder srcOrder) where T : struct;" />
|
|
<MemberSignature Language="ILAsm" Value=".method public static hidebysig !!T To<struct .ctor (class System.ValueType) T>(unsigned int8[] src, valuetype WebSocketSharp.ByteOrder srcOrder) cil managed" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>T</ReturnType>
|
|
</ReturnValue>
|
|
<TypeParameters>
|
|
<TypeParameter Name="T">
|
|
<Constraints>
|
|
<ParameterAttribute>DefaultConstructorConstraint</ParameterAttribute>
|
|
<ParameterAttribute>NotNullableValueTypeConstraint</ParameterAttribute>
|
|
<BaseTypeName>System.ValueType</BaseTypeName>
|
|
</Constraints>
|
|
</TypeParameter>
|
|
</TypeParameters>
|
|
<Parameters>
|
|
<Parameter Name="src" Type="System.Byte[]" RefType="this" />
|
|
<Parameter Name="srcOrder" Type="WebSocketSharp.ByteOrder" />
|
|
</Parameters>
|
|
<Docs>
|
|
<typeparam name="T">
|
|
The type of the return. The T must be a value type.
|
|
</typeparam>
|
|
<param name="src">
|
|
An array of <see cref="T:System.Byte" /> to convert.
|
|
</param>
|
|
<param name="srcOrder">
|
|
A <see cref="T:WebSocketSharp.ByteOrder" /> that indicates the byte order of <paramref name="src" />.
|
|
</param>
|
|
<summary>
|
|
Converts the specified array of <see cref="T:System.Byte" /> to the specified type data.
|
|
</summary>
|
|
<returns>
|
|
A T converted from <paramref name="src" />, or a default value of T
|
|
if <paramref name="src" /> is an empty array of <see cref="T:System.Byte" />
|
|
or if the type of T isn't <see cref="T:System.Boolean" />, <see cref="T:System.Char" />, <see cref="T:System.Double" />,
|
|
<see cref="T:System.Single" />, <see cref="T:System.Int32" />, <see cref="T:System.Int64" />, <see cref="T:System.Int16" />,
|
|
<see cref="T:System.UInt32" />, <see cref="T:System.UInt64" /> or <see cref="T:System.UInt16" />.
|
|
</returns>
|
|
<remarks>To be added.</remarks>
|
|
<exception cref="T:System.ArgumentNullException">
|
|
<paramref name="src" /> is <see langword="null" />.
|
|
</exception>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="ToByteArray<T>">
|
|
<MemberSignature Language="C#" Value="public static byte[] ToByteArray<T> (this T value, WebSocketSharp.ByteOrder order) where T : struct;" />
|
|
<MemberSignature Language="ILAsm" Value=".method public static hidebysig unsigned int8[] ToByteArray<struct .ctor (class System.ValueType) T>(!!T value, valuetype WebSocketSharp.ByteOrder order) cil managed" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Byte[]</ReturnType>
|
|
</ReturnValue>
|
|
<TypeParameters>
|
|
<TypeParameter Name="T">
|
|
<Constraints>
|
|
<ParameterAttribute>DefaultConstructorConstraint</ParameterAttribute>
|
|
<ParameterAttribute>NotNullableValueTypeConstraint</ParameterAttribute>
|
|
<BaseTypeName>System.ValueType</BaseTypeName>
|
|
</Constraints>
|
|
</TypeParameter>
|
|
</TypeParameters>
|
|
<Parameters>
|
|
<Parameter Name="value" Type="T" RefType="this" />
|
|
<Parameter Name="order" Type="WebSocketSharp.ByteOrder" />
|
|
</Parameters>
|
|
<Docs>
|
|
<typeparam name="T">
|
|
The type of <paramref name="value" />. The T must be a value type.
|
|
</typeparam>
|
|
<param name="value">
|
|
A T to convert.
|
|
</param>
|
|
<param name="order">
|
|
A <see cref="T:WebSocketSharp.ByteOrder" /> that indicates the byte order of the return.
|
|
</param>
|
|
<summary>
|
|
Converts the specified <paramref name="value" /> to an array of <see cref="T:System.Byte" />.
|
|
</summary>
|
|
<returns>
|
|
An array of <see cref="T:System.Byte" /> converted from <paramref name="value" />.
|
|
</returns>
|
|
<remarks>To be added.</remarks>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="ToHostOrder">
|
|
<MemberSignature Language="C#" Value="public static byte[] ToHostOrder (this byte[] src, WebSocketSharp.ByteOrder srcOrder);" />
|
|
<MemberSignature Language="ILAsm" Value=".method public static hidebysig unsigned int8[] ToHostOrder(unsigned int8[] src, valuetype WebSocketSharp.ByteOrder srcOrder) cil managed" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Byte[]</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="src" Type="System.Byte[]" RefType="this" />
|
|
<Parameter Name="srcOrder" Type="WebSocketSharp.ByteOrder" />
|
|
</Parameters>
|
|
<Docs>
|
|
<param name="src">
|
|
An array of <see cref="T:System.Byte" /> to convert.
|
|
</param>
|
|
<param name="srcOrder">
|
|
A <see cref="T:WebSocketSharp.ByteOrder" /> that indicates the byte order of <paramref name="src" />.
|
|
</param>
|
|
<summary>
|
|
Converts the order of the specified array of <see cref="T:System.Byte" /> to the host byte order.
|
|
</summary>
|
|
<returns>
|
|
An array of <see cref="T:System.Byte" /> converted from <paramref name="src" />.
|
|
</returns>
|
|
<remarks>To be added.</remarks>
|
|
<exception cref="T:System.ArgumentNullException">
|
|
<paramref name="src" /> is <see langword="null" />.
|
|
</exception>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="ToString<T>">
|
|
<MemberSignature Language="C#" Value="public static string ToString<T> (this T[] array, string separator);" />
|
|
<MemberSignature Language="ILAsm" Value=".method public static hidebysig string ToString<T>(!!T[] array, string separator) cil managed" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.String</ReturnType>
|
|
</ReturnValue>
|
|
<TypeParameters>
|
|
<TypeParameter Name="T" />
|
|
</TypeParameters>
|
|
<Parameters>
|
|
<Parameter Name="array" Type="T[]" RefType="this" />
|
|
<Parameter Name="separator" Type="System.String" />
|
|
</Parameters>
|
|
<Docs>
|
|
<typeparam name="T">
|
|
The type of elements in <paramref name="array" />.
|
|
</typeparam>
|
|
<param name="array">
|
|
An array of T to convert.
|
|
</param>
|
|
<param name="separator">
|
|
A <see cref="T:System.String" /> that contains a separator string.
|
|
</param>
|
|
<summary>
|
|
Converts the specified <paramref name="array" /> to a <see cref="T:System.String" /> that concatenates
|
|
the each element of <paramref name="array" /> across the specified <paramref name="separator" />.
|
|
</summary>
|
|
<returns>
|
|
A <see cref="T:System.String" /> converted from <paramref name="array" />, or a <see cref="F:System.String.Empty" />
|
|
if the length of <paramref name="array" /> is zero.
|
|
</returns>
|
|
<remarks>To be added.</remarks>
|
|
<exception cref="T:System.ArgumentNullException">
|
|
<paramref name="array" /> is <see langword="null" />.
|
|
</exception>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="ToUri">
|
|
<MemberSignature Language="C#" Value="public static Uri ToUri (this string uriString);" />
|
|
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.Uri ToUri(string uriString) cil managed" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Uri</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="uriString" Type="System.String" RefType="this" />
|
|
</Parameters>
|
|
<Docs>
|
|
<param name="uriString">
|
|
A <see cref="T:System.String" /> to convert.
|
|
</param>
|
|
<summary>
|
|
Converts the specified <see cref="T:System.String" /> to a <see cref="T:System.Uri" /> object.
|
|
</summary>
|
|
<returns>
|
|
A <see cref="T:System.Uri" /> converted from the <paramref name="uriString" /> parameter, or <see langword="null" />
|
|
if the <paramref name="uriString" /> is <see langword="null" /> or <see cref="F:System.String.Empty" />.
|
|
</returns>
|
|
<remarks>To be added.</remarks>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="TryCreateWebSocketUri">
|
|
<MemberSignature Language="C#" Value="public static bool TryCreateWebSocketUri (this string uriString, out Uri result, out string message);" />
|
|
<MemberSignature Language="ILAsm" Value=".method public static hidebysig bool TryCreateWebSocketUri(string uriString, class System.Uri result, string message) cil managed" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Boolean</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="uriString" Type="System.String" RefType="this" />
|
|
<Parameter Name="result" Type="System.Uri&" RefType="out" />
|
|
<Parameter Name="message" Type="System.String&" RefType="out" />
|
|
</Parameters>
|
|
<Docs>
|
|
<param name="uriString">
|
|
A <see cref="T:System.String" /> that contains a WebSocket URI.
|
|
</param>
|
|
<param name="result">
|
|
When this method returns, contains a created WebSocket <see cref="T:System.Uri" /> if the <paramref name="uriString" /> parameter is valid WebSocket URI; otherwise, <see langword="null" />.
|
|
</param>
|
|
<param name="message">
|
|
When this method returns, contains a error message <see cref="T:System.String" /> if the <paramref name="uriString" /> parameter is invalid WebSocket URI; otherwise, <c>String.Empty</c>.
|
|
</param>
|
|
<summary>
|
|
Tries to create a new WebSocket <see cref="T:System.Uri" /> using the specified <paramref name="uriString" />.
|
|
</summary>
|
|
<returns>
|
|
<c>true</c> if the WebSocket <see cref="T:System.Uri" /> was successfully created; otherwise, <c>false</c>.
|
|
</returns>
|
|
<remarks>To be added.</remarks>
|
|
<exception cref="T:System.ArgumentNullException">
|
|
Is thrown when the <paramref name="uriString" /> parameter passed to a method is invalid because it is <see langword="null" />.
|
|
</exception>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="UrlDecode">
|
|
<MemberSignature Language="C#" Value="public static string UrlDecode (this string s);" />
|
|
<MemberSignature Language="ILAsm" Value=".method public static hidebysig string UrlDecode(string s) cil managed" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.String</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="s" Type="System.String" RefType="this" />
|
|
</Parameters>
|
|
<Docs>
|
|
<param name="s">
|
|
A <see cref="T:System.String" /> to decode.
|
|
</param>
|
|
<summary>
|
|
URL-decodes the specified <see cref="T:System.String" />.
|
|
</summary>
|
|
<returns>
|
|
A <see cref="T:System.String" /> that receives a decoded string, or the <paramref name="s" /> parameter
|
|
if the <paramref name="s" /> is <see langword="null" /> or <see cref="F:System.String.Empty" />.
|
|
</returns>
|
|
<remarks>To be added.</remarks>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="UrlEncode">
|
|
<MemberSignature Language="C#" Value="public static string UrlEncode (this string s);" />
|
|
<MemberSignature Language="ILAsm" Value=".method public static hidebysig string UrlEncode(string s) cil managed" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.String</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="s" Type="System.String" RefType="this" />
|
|
</Parameters>
|
|
<Docs>
|
|
<param name="s">
|
|
A <see cref="T:System.String" /> to encode.
|
|
</param>
|
|
<summary>
|
|
URL-encodes the specified <see cref="T:System.String" />.
|
|
</summary>
|
|
<returns>
|
|
A <see cref="T:System.String" /> that receives a encoded string, or the <paramref name="s" /> parameter
|
|
if the <paramref name="s" /> is <see langword="null" /> or <see cref="F:System.String.Empty" />.
|
|
</returns>
|
|
<remarks>To be added.</remarks>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="WriteContent">
|
|
<MemberSignature Language="C#" Value="public static void WriteContent (this WebSocketSharp.Net.HttpListenerResponse response, byte[] content);" />
|
|
<MemberSignature Language="ILAsm" Value=".method public static hidebysig void WriteContent(class WebSocketSharp.Net.HttpListenerResponse response, unsigned int8[] content) cil managed" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Void</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="response" Type="WebSocketSharp.Net.HttpListenerResponse" RefType="this" />
|
|
<Parameter Name="content" Type="System.Byte[]" />
|
|
</Parameters>
|
|
<Docs>
|
|
<param name="response">
|
|
A <see cref="T:WebSocketSharp.Net.HttpListenerResponse" /> that contains a network stream to write a content data.
|
|
</param>
|
|
<param name="content">
|
|
An array of <see cref="T:System.Byte" /> that contains a content data to write.
|
|
</param>
|
|
<summary>
|
|
Writes the specified content data using the specified <see cref="T:WebSocketSharp.Net.HttpListenerResponse" />.
|
|
</summary>
|
|
<remarks>To be added.</remarks>
|
|
<exception cref="T:System.ArgumentNullException">
|
|
Is thrown when the <paramref name="response" /> parameter passed to a method is invalid because it is <see langword="null" />.
|
|
</exception>
|
|
</Docs>
|
|
</Member>
|
|
</Members>
|
|
</Type>
|