mirror of
https://github.com/oliverbooth/X10D
synced 2024-11-10 07:35:42 +00:00
6314 lines
368 KiB
XML
6314 lines
368 KiB
XML
<?xml version="1.0"?>
|
||
<doc>
|
||
<assembly>
|
||
<name>X10D</name>
|
||
</assembly>
|
||
<members>
|
||
<member name="T:X10D.Resource">
|
||
<summary>
|
||
A strongly-typed resource class, for looking up localized strings, etc.
|
||
</summary>
|
||
</member>
|
||
<member name="P:X10D.Resource.ResourceManager">
|
||
<summary>
|
||
Returns the cached ResourceManager instance used by this class.
|
||
</summary>
|
||
</member>
|
||
<member name="P:X10D.Resource.Culture">
|
||
<summary>
|
||
Overrides the current thread's CurrentUICulture property for all
|
||
resource lookups using this strongly typed resource class.
|
||
</summary>
|
||
</member>
|
||
<member name="P:X10D.Resource.EnumParseEmptyStringException">
|
||
<summary>
|
||
Looks up a localized string similar to Must specify valid information for parsing in the string..
|
||
</summary>
|
||
</member>
|
||
<member name="P:X10D.Resource.EnumParseNotEnumException">
|
||
<summary>
|
||
Looks up a localized string similar to Type provided must be an Enum..
|
||
</summary>
|
||
</member>
|
||
<member name="T:X10D.Collections.ArrayExtensions">
|
||
<summary>
|
||
Extension methods for <see cref="T:System.Array" />.
|
||
</summary>
|
||
</member>
|
||
<member name="M:X10D.Collections.ArrayExtensions.AsReadOnly``1(``0[])">
|
||
<summary>
|
||
Returns a read-only wrapper for the array.
|
||
</summary>
|
||
<param name="array">The one-dimensional, zero-based array to wrap in a read-only wrapper.</param>
|
||
<typeparam name="T">The type of the elements in the array.</typeparam>
|
||
<returns>A <see cref="T:System.Collections.Generic.IReadOnlyCollection`1" /> wrapper for the specified array.</returns>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="array" /> is <see langword="null" />.</exception>
|
||
</member>
|
||
<member name="M:X10D.Collections.ArrayExtensions.Clear``1(``0[])">
|
||
<summary>
|
||
Clears the contents of an array.
|
||
</summary>
|
||
<param name="array">The array to clear.</param>
|
||
<typeparam name="T">The type of the elements in the array.</typeparam>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="array" /> is <see langword="null" />.</exception>
|
||
</member>
|
||
<member name="M:X10D.Collections.ArrayExtensions.Clear``1(``0[],System.Range)">
|
||
<summary>
|
||
Sets a range of elements in an array to the default value of each element type.
|
||
</summary>
|
||
<param name="array">The array whose elements need to be cleared.</param>
|
||
<param name="range">A range defining the start index and number of elements to clear.</param>
|
||
<typeparam name="T">The type of the elements in the array.</typeparam>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="array" /> is <see langword="null" />.</exception>
|
||
</member>
|
||
<member name="M:X10D.Collections.ArrayExtensions.Clear``1(``0[],System.Int32,System.Int32)">
|
||
<summary>
|
||
Sets a range of elements in an array to the default value of each element type.
|
||
</summary>
|
||
<param name="array">The array whose elements need to be cleared.</param>
|
||
<param name="index">The starting index of the range of elements to clear.</param>
|
||
<param name="length">The number of elements to clear.</param>
|
||
<typeparam name="T">The type of the elements in the array.</typeparam>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="array" /> is <see langword="null" />.</exception>
|
||
<exception cref="T:System.ArgumentOutOfRangeException">
|
||
<para><paramref name="index" /> is less than the lower bound of <paramref name="array" />.</para>
|
||
-or-
|
||
<para><paramref name="length" /> is less zero.</para>
|
||
-or-
|
||
<para>The sum of <paramref name="index" /> and <paramref name="length"/> is greater than the size of array.</para>
|
||
</exception>
|
||
</member>
|
||
<member name="T:X10D.Collections.BoolListExtensions">
|
||
<summary>
|
||
Collection-related extension methods for <see cref="T:System.Collections.Generic.IReadOnlyList`1" /> of <see cref="T:System.Boolean" />.
|
||
</summary>
|
||
</member>
|
||
<member name="M:X10D.Collections.BoolListExtensions.PackByte(System.Collections.Generic.IReadOnlyList{System.Boolean})">
|
||
<summary>
|
||
Packs a collection of booleans into a <see cref="T:System.Byte" />.
|
||
</summary>
|
||
<param name="source">The collection of booleans to pack.</param>
|
||
<returns>An 8-bit unsigned integer containing the packed booleans.</returns>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception>
|
||
<exception cref="T:System.ArgumentException"><paramref name="source" /> contains more than 8 elements.</exception>
|
||
<author>Alpha Anar</author>
|
||
</member>
|
||
<member name="M:X10D.Collections.BoolListExtensions.PackInt16(System.Collections.Generic.IReadOnlyList{System.Boolean})">
|
||
<summary>
|
||
Packs a collection of booleans into a <see cref="T:System.Int16" />.
|
||
</summary>
|
||
<param name="source">The collection of booleans to pack.</param>
|
||
<returns>A 16-bit signed integer containing the packed booleans.</returns>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception>
|
||
<exception cref="T:System.ArgumentException"><paramref name="source" /> contains more than 16 elements.</exception>
|
||
</member>
|
||
<member name="M:X10D.Collections.BoolListExtensions.PackInt32(System.Collections.Generic.IReadOnlyList{System.Boolean})">
|
||
<summary>
|
||
Packs a collection of booleans into a <see cref="T:System.Int32" />.
|
||
</summary>
|
||
<param name="source">The collection of booleans to pack.</param>
|
||
<returns>A 32-bit signed integer containing the packed booleans.</returns>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception>
|
||
<exception cref="T:System.ArgumentException"><paramref name="source" /> contains more than 32 elements.</exception>
|
||
</member>
|
||
<member name="M:X10D.Collections.BoolListExtensions.PackInt64(System.Collections.Generic.IReadOnlyList{System.Boolean})">
|
||
<summary>
|
||
Packs a collection of booleans into a <see cref="T:System.Int64" />.
|
||
</summary>
|
||
<param name="source">The collection of booleans to pack.</param>
|
||
<returns>A 64-bit signed integer containing the packed booleans.</returns>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception>
|
||
<exception cref="T:System.ArgumentException"><paramref name="source" /> contains more than 64 elements.</exception>
|
||
</member>
|
||
<member name="T:X10D.Collections.ByteExtensions">
|
||
<summary>
|
||
Collection-related extension methods for <see cref="T:System.Byte" />.
|
||
</summary>
|
||
</member>
|
||
<member name="M:X10D.Collections.ByteExtensions.Unpack(System.Byte)">
|
||
<summary>
|
||
Unpacks this 8-bit unsigned integer into a boolean list, treating it as a bit field.
|
||
</summary>
|
||
<param name="value">The value to unpack.</param>
|
||
<returns>An array of <see cref="T:System.Boolean" /> with length 8.</returns>
|
||
</member>
|
||
<member name="M:X10D.Collections.ByteExtensions.Unpack(System.Byte,System.Span{System.Boolean})">
|
||
<summary>
|
||
Unpacks this 8-bit unsigned integer into a boolean list, treating it as a bit field.
|
||
</summary>
|
||
<param name="value">The value to unpack.</param>
|
||
<param name="destination">When this method returns, contains the unpacked booleans from <paramref name="value" />.</param>
|
||
<exception cref="T:System.ArgumentException"><paramref name="destination" /> is not large enough to contain the result.</exception>
|
||
</member>
|
||
<member name="T:X10D.Collections.CollectionExtensions">
|
||
<summary>
|
||
Collection-related extension methods for <see cref="T:System.Collections.Generic.ICollection`1" />.
|
||
</summary>
|
||
</member>
|
||
<member name="M:X10D.Collections.CollectionExtensions.ClearAndDisposeAll``1(System.Collections.Generic.ICollection{``0})">
|
||
<summary>
|
||
Calls <see cref="M:System.IDisposable.Dispose" /> on each item in the collection, then clears the collection by calling
|
||
<see cref="M:System.Collections.Generic.ICollection`1.Clear" />.
|
||
</summary>
|
||
<param name="source">The collection to clear, and whose elements should be disposed.</param>
|
||
<typeparam name="T">The type of the elements in <paramref name="source" />.</typeparam>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception>
|
||
<exception cref="T:System.InvalidOperationException"><paramref name="source" /> is read-only.</exception>
|
||
<seealso cref="M:X10D.Collections.EnumerableExtensions.DisposeAll``1(System.Collections.Generic.IEnumerable{``0})" />
|
||
</member>
|
||
<member name="M:X10D.Collections.CollectionExtensions.ClearAndDisposeAllAsync``1(System.Collections.Generic.ICollection{``0})">
|
||
<summary>
|
||
Asynchronously calls <see cref="M:System.IAsyncDisposable.DisposeAsync" /> on each item in the collection, then clears the
|
||
collection by calling <see cref="M:System.Collections.Generic.ICollection`1.Clear" />.
|
||
</summary>
|
||
<param name="source">The collection to clear, and whose elements should be disposed.</param>
|
||
<typeparam name="T">The type of the elements in <paramref name="source" />.</typeparam>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception>
|
||
<exception cref="T:System.InvalidOperationException"><paramref name="source" /> is read-only.</exception>
|
||
<seealso cref="M:X10D.Collections.EnumerableExtensions.DisposeAllAsync``1(System.Collections.Generic.IEnumerable{``0})" />
|
||
</member>
|
||
<member name="T:X10D.Collections.DictionaryExtensions">
|
||
<summary>
|
||
Extension methods for <see cref="T:System.Collections.Generic.Dictionary`2" /> and similar types.
|
||
</summary>
|
||
</member>
|
||
<member name="M:X10D.Collections.DictionaryExtensions.AddOrUpdate``2(System.Collections.Generic.IDictionary{``0,``1},``0,``1,System.Func{``0,``1,``1})">
|
||
<summary>
|
||
Adds a key/value pair to the <see cref="T:System.Collections.Generic.IDictionary`2" /> if the key does not already exist, or updates a
|
||
key/value pair in the <see cref="T:System.Collections.Generic.IDictionary`2" /> by using the specified function if the key already
|
||
exists.
|
||
</summary>
|
||
<param name="dictionary">The dictionary to update.</param>
|
||
<param name="key">The key to be added or whose value should be updated.</param>
|
||
<param name="addValue">The value to be added for an absent key.</param>
|
||
<param name="updateValueFactory">
|
||
The function used to generate a new value for an existing key based on the key's existing value.
|
||
</param>
|
||
<typeparam name="TKey">The type of the keys in the dictionary.</typeparam>
|
||
<typeparam name="TValue">The type of the values in the dictionary.</typeparam>
|
||
<returns>
|
||
The new value for the key. This will be either be <paramref name="addValue" /> (if the key was absent) or the result
|
||
of <paramref name="updateValueFactory" /> (if the key was present).
|
||
</returns>
|
||
<exception cref="T:System.ArgumentNullException">
|
||
<para><paramref name="dictionary" /> is <see langword="null" />.</para>
|
||
-or-
|
||
<para><paramref name="updateValueFactory" /> is <see langword="null" />.</para>
|
||
</exception>
|
||
</member>
|
||
<member name="M:X10D.Collections.DictionaryExtensions.AddOrUpdate``2(System.Collections.Generic.IDictionary{``0,``1},``0,System.Func{``0,``1},System.Func{``0,``1,``1})">
|
||
<summary>
|
||
Uses the specified functions to add a key/value pair to the <see cref="T:System.Collections.Generic.IDictionary`2" /> if the key does
|
||
not already exist, or to update a key/value pair in the <see cref="T:System.Collections.Generic.IDictionary`2" /> if the key already
|
||
exists.
|
||
</summary>
|
||
<param name="dictionary">The dictionary to update.</param>
|
||
<param name="key">The key to be added or whose value should be updated.</param>
|
||
<param name="addValueFactory">The function used to generate a value for an absent key.</param>
|
||
<param name="updateValueFactory">
|
||
The function used to generate a new value for an existing key based on the key's existing value.
|
||
</param>
|
||
<typeparam name="TKey">The type of the keys in the dictionary.</typeparam>
|
||
<typeparam name="TValue">The type of the values in the dictionary.</typeparam>
|
||
<returns>
|
||
The new value for the key. This will be either be the result of <paramref name="addValueFactory "/> (if the key was
|
||
absent) or the result of <paramref name="updateValueFactory" /> (if the key was present).
|
||
</returns>
|
||
<exception cref="T:System.ArgumentNullException">
|
||
<para><paramref name="dictionary" /> is <see langword="null" />.</para>
|
||
-or-
|
||
<para><paramref name="addValueFactory" /> is <see langword="null" />.</para>
|
||
-or-
|
||
<para><paramref name="updateValueFactory" /> is <see langword="null" />.</para>
|
||
</exception>
|
||
</member>
|
||
<member name="M:X10D.Collections.DictionaryExtensions.AddOrUpdate``3(System.Collections.Generic.IDictionary{``0,``1},``0,System.Func{``0,``2,``1},System.Func{``0,``1,``2,``1},``2)">
|
||
<summary>
|
||
Uses the specified functions and argument to add a key/value pair to the <see cref="T:System.Collections.Generic.IDictionary`2" /> if
|
||
the key does not already exist, or to update a key/value pair in the <see cref="T:System.Collections.Generic.IDictionary`2" /> if th
|
||
key already exists.
|
||
</summary>
|
||
<param name="dictionary">The dictionary to update.</param>
|
||
<param name="key">The key to be added or whose value should be updated.</param>
|
||
<param name="addValueFactory">The function used to generate a value for an absent key.</param>
|
||
<param name="updateValueFactory">
|
||
The function used to generate a new value for an existing key based on the key's existing value.
|
||
</param>
|
||
<param name="factoryArgument">
|
||
An argument to pass into <paramref name="addValueFactory" /> and <paramref name="updateValueFactory" />.
|
||
</param>
|
||
<typeparam name="TKey">The type of the keys in the dictionary.</typeparam>
|
||
<typeparam name="TValue">The type of the values in the dictionary.</typeparam>
|
||
<typeparam name="TArg">
|
||
The type of an argument to pass into <paramref name="addValueFactory" /> and <paramref name="updateValueFactory" />.
|
||
</typeparam>
|
||
<returns>
|
||
The new value for the key. This will be either be the result of <paramref name="addValueFactory "/> (if the key was
|
||
absent) or the result of <paramref name="updateValueFactory" /> (if the key was present).
|
||
</returns>
|
||
<exception cref="T:System.ArgumentNullException">
|
||
<para><paramref name="dictionary" /> is <see langword="null" />.</para>
|
||
-or-
|
||
<para><paramref name="addValueFactory" /> is <see langword="null" />.</para>
|
||
-or-
|
||
<para><paramref name="updateValueFactory" /> is <see langword="null" />.</para>
|
||
</exception>
|
||
</member>
|
||
<member name="M:X10D.Collections.DictionaryExtensions.ToConnectionString``2(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{``0,``1}})">
|
||
<summary>
|
||
Converts an <see cref="T:System.Collections.Generic.IEnumerable`1" /> of <see cref="T:System.Collections.Generic.KeyValuePair`2" /> to a data connection
|
||
string.
|
||
</summary>
|
||
<typeparam name="TKey">The type of the key element of the key/value pair.</typeparam>
|
||
<typeparam name="TValue">The type of the value element of the key/value pair.</typeparam>
|
||
<param name="source">The source dictionary.</param>
|
||
<returns>A <see cref="T:System.String" /> representing the dictionary as a key=value set, concatenated with <c>;</c>.</returns>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception>
|
||
</member>
|
||
<member name="M:X10D.Collections.DictionaryExtensions.ToConnectionString``2(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{``0,``1}},System.Func{``1,System.String})">
|
||
<summary>
|
||
Converts an <see cref="T:System.Collections.Generic.IEnumerable`1" /> of <see cref="T:System.Collections.Generic.KeyValuePair`2" /> to a data connection
|
||
string.
|
||
</summary>
|
||
<typeparam name="TKey">The type of the key element of the key/value pair.</typeparam>
|
||
<typeparam name="TValue">The type of the value element of the key/value pair.</typeparam>
|
||
<param name="source">The source dictionary.</param>
|
||
<param name="selector">
|
||
A transform function to apply to the <see cref="P:System.Collections.Generic.KeyValuePair`2.Value" /> of each element.
|
||
</param>
|
||
<returns>A <see cref="T:System.String" /> representing the dictionary as a key=value set, concatenated with <c>;</c>.</returns>
|
||
<exception cref="T:System.ArgumentNullException">
|
||
<para><paramref name="source" /> is <see langword="null" />.</para>
|
||
-or-
|
||
<para><paramref name="selector" /> is <see langword="null" />.</para>
|
||
</exception>
|
||
</member>
|
||
<member name="M:X10D.Collections.DictionaryExtensions.ToConnectionString``2(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{``0,``1}},System.Func{``0,System.String},System.Func{``1,System.String})">
|
||
<summary>
|
||
Converts an <see cref="T:System.Collections.Generic.IEnumerable`1" /> of <see cref="T:System.Collections.Generic.KeyValuePair`2" /> to an data connection
|
||
string.
|
||
</summary>
|
||
<typeparam name="TKey">The type of the key element of the key/value pair.</typeparam>
|
||
<typeparam name="TValue">The type of the value element of the key/value pair.</typeparam>
|
||
<param name="source">The source dictionary.</param>
|
||
<param name="keySelector">
|
||
A transform function to apply to the <see cref="P:System.Collections.Generic.KeyValuePair`2.Key" /> of each element.
|
||
</param>
|
||
<param name="valueSelector">
|
||
A transform function to apply to the <see cref="P:System.Collections.Generic.KeyValuePair`2.Value" /> of each element.
|
||
</param>
|
||
<returns>A <see cref="T:System.String" /> representing the dictionary as a key=value set, concatenated with <c>;</c>.</returns>
|
||
<exception cref="T:System.ArgumentNullException">
|
||
<para><paramref name="source" /> is <see langword="null" />.</para>
|
||
-or-
|
||
<para><paramref name="keySelector" /> is <see langword="null" />.</para>
|
||
-or-
|
||
<para><paramref name="valueSelector" /> is <see langword="null" />.</para>
|
||
</exception>
|
||
</member>
|
||
<member name="M:X10D.Collections.DictionaryExtensions.ToGetParameters``2(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{``0,``1}})">
|
||
<summary>
|
||
Converts an <see cref="T:System.Collections.Generic.IEnumerable`1" /> of <see cref="T:System.Collections.Generic.KeyValuePair`2" /> to a HTTP GET query string.
|
||
</summary>
|
||
<typeparam name="TKey">The type of the key element of the key/value pair.</typeparam>
|
||
<typeparam name="TValue">The type of the value element of the key/value pair.</typeparam>
|
||
<param name="source">The source dictionary.</param>
|
||
<returns>A <see cref="T:System.String" /> representing the dictionary as a key=value set, concatenated with <c>&</c>.</returns>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception>
|
||
</member>
|
||
<member name="M:X10D.Collections.DictionaryExtensions.ToGetParameters``2(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{``0,``1}},System.Func{``1,System.String})">
|
||
<summary>
|
||
Converts an <see cref="T:System.Collections.Generic.IEnumerable`1" /> of <see cref="T:System.Collections.Generic.KeyValuePair`2" /> to a HTTP GET query string.
|
||
</summary>
|
||
<typeparam name="TKey">The type of the key element of the key/value pair.</typeparam>
|
||
<typeparam name="TValue">The type of the value element of the key/value pair.</typeparam>
|
||
<param name="source">The source dictionary.</param>
|
||
<param name="selector">
|
||
A transform function to apply to the <see cref="P:System.Collections.Generic.KeyValuePair`2.Value" /> of each element.
|
||
</param>
|
||
<returns>A <see cref="T:System.String" /> representing the dictionary as a key=value set, concatenated with <c>&</c>.</returns>
|
||
<exception cref="T:System.ArgumentNullException">
|
||
<para><paramref name="source" /> is <see langword="null" />.</para>
|
||
-or-
|
||
<para><paramref name="selector" /> is <see langword="null" />.</para>
|
||
</exception>
|
||
</member>
|
||
<member name="M:X10D.Collections.DictionaryExtensions.ToGetParameters``2(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{``0,``1}},System.Func{``0,System.String},System.Func{``1,System.String})">
|
||
<summary>
|
||
Converts an <see cref="T:System.Collections.Generic.IEnumerable`1" /> of <see cref="T:System.Collections.Generic.KeyValuePair`2" /> to a HTTP GET query string.
|
||
</summary>
|
||
<typeparam name="TKey">The type of the key element of the key/value pair.</typeparam>
|
||
<typeparam name="TValue">The type of the value element of the key/value pair.</typeparam>
|
||
<param name="source">The source dictionary.</param>
|
||
<param name="keySelector">
|
||
A transform function to apply to the <see cref="P:System.Collections.Generic.KeyValuePair`2.Key" /> of each element.
|
||
</param>
|
||
<param name="valueSelector">
|
||
A transform function to apply to the <see cref="P:System.Collections.Generic.KeyValuePair`2.Value" /> of each element.
|
||
</param>
|
||
<returns>A <see cref="T:System.String" /> representing the dictionary as a key=value set, concatenated with <c>&</c>.</returns>
|
||
<exception cref="T:System.ArgumentNullException">
|
||
<para><paramref name="source" /> is <see langword="null" />.</para>
|
||
-or-
|
||
<para><paramref name="keySelector" /> is <see langword="null" />.</para>
|
||
-or-
|
||
<para><paramref name="valueSelector" /> is <see langword="null" />.</para>
|
||
</exception>
|
||
</member>
|
||
<member name="T:X10D.Collections.EnumerableExtensions">
|
||
<summary>
|
||
Extension methods for <see cref="T:System.Collections.Generic.IEnumerable`1" />.
|
||
</summary>
|
||
</member>
|
||
<member name="M:X10D.Collections.EnumerableExtensions.For``1(System.Collections.Generic.IEnumerable{``0},System.Action{System.Int32,``0})">
|
||
<summary>
|
||
Performs the specified action on each element of the <see cref="T:System.Collections.Generic.IEnumerable`1" />.
|
||
</summary>
|
||
<param name="source">
|
||
The <see cref="T:System.Collections.Generic.IEnumerable`1" /> whose elements on which to perform <paramref name="action" />.
|
||
</param>
|
||
<param name="action">
|
||
The <see cref="T:System.Action`2" /> delegate to perform on each element of the <see cref="T:System.Collections.Generic.IEnumerable`1" />. The
|
||
<see cref="T:System.Int32" /> argument passed to this delegate represents the index.
|
||
</param>
|
||
<typeparam name="T">The type of the elements in <paramref name="source" />.</typeparam>
|
||
<exception cref="T:System.ArgumentNullException">
|
||
<para><paramref name="source" /> is <see langword="null" />.</para>
|
||
-or-
|
||
<para><paramref name="action" /> is <see langword="null" />.</para>
|
||
</exception>
|
||
</member>
|
||
<member name="M:X10D.Collections.EnumerableExtensions.ForEach``1(System.Collections.Generic.IEnumerable{``0},System.Action{``0})">
|
||
<summary>
|
||
Performs the specified action on each element of the <see cref="T:System.Collections.Generic.IEnumerable`1" />.
|
||
</summary>
|
||
<param name="source">
|
||
The <see cref="T:System.Collections.Generic.IEnumerable`1" /> whose elements on which to perform <paramref name="action" />.
|
||
</param>
|
||
<param name="action">
|
||
The <see cref="T:System.Action`1" /> delegate to perform on each element of the <see cref="T:System.Collections.Generic.IEnumerable`1" />.
|
||
</param>
|
||
<typeparam name="T">The type of the elements in <paramref name="source" />.</typeparam>
|
||
<exception cref="T:System.ArgumentNullException">
|
||
<para><paramref name="source" /> is <see langword="null" />.</para>
|
||
-or-
|
||
<para><paramref name="action" /> is <see langword="null" />.</para>
|
||
</exception>
|
||
</member>
|
||
<member name="M:X10D.Collections.EnumerableExtensions.DisposeAll``1(System.Collections.Generic.IEnumerable{``0})">
|
||
<summary>
|
||
Calls <see cref="M:System.IDisposable.Dispose" /> on all elements of the <see cref="T:System.Collections.Generic.IEnumerable`1" />.
|
||
</summary>
|
||
<param name="source">The enumerable collection whose elements to dispose.</param>
|
||
<typeparam name="T">The type of the elements in <paramref name="source" />.</typeparam>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception>
|
||
<seealso cref="M:X10D.Collections.CollectionExtensions.ClearAndDisposeAll``1(System.Collections.Generic.ICollection{``0})" />
|
||
</member>
|
||
<member name="M:X10D.Collections.EnumerableExtensions.DisposeAllAsync``1(System.Collections.Generic.IEnumerable{``0})">
|
||
<summary>
|
||
Asynchronously calls <see cref="M:System.IAsyncDisposable.DisposeAsync" /> on all elements of the
|
||
<see cref="T:System.Collections.Generic.IEnumerable`1" />.
|
||
</summary>
|
||
<param name="source">The enumerable collection whose elements to dispose.</param>
|
||
<typeparam name="T">The type of the elements in <paramref name="source" />.</typeparam>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception>
|
||
<seealso cref="M:X10D.Collections.CollectionExtensions.ClearAndDisposeAllAsync``1(System.Collections.Generic.ICollection{``0})" />
|
||
</member>
|
||
<member name="M:X10D.Collections.EnumerableExtensions.Shuffled``1(System.Collections.Generic.IEnumerable{``0},System.Random)">
|
||
<summary>
|
||
Reorganizes the elements in an enumerable by implementing a Fisher-Yates shuffle, and returns th shuffled result.
|
||
</summary>
|
||
<typeparam name="T">The element type.</typeparam>
|
||
<param name="source">The <see cref="T:System.Collections.Generic.IEnumerable`1" /> to shuffle.</param>
|
||
<param name="random">Optional. The <see cref="T:System.Random" /> instance to use for the shuffling.</param>
|
||
<returns>The shuffled collection.</returns>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception>
|
||
</member>
|
||
<member name="T:X10D.Collections.Int16Extensions">
|
||
<summary>
|
||
Collection-related extension methods for <see cref="T:System.Int16" />.
|
||
</summary>
|
||
</member>
|
||
<member name="M:X10D.Collections.Int16Extensions.Unpack(System.Int16)">
|
||
<summary>
|
||
Unpacks this 16-bit signed integer into a boolean list, treating it as a bit field.
|
||
</summary>
|
||
<param name="value">The value to unpack.</param>
|
||
<returns>An array of <see cref="T:System.Boolean" /> with length 16.</returns>
|
||
</member>
|
||
<member name="M:X10D.Collections.Int16Extensions.Unpack(System.Int16,System.Span{System.Boolean})">
|
||
<summary>
|
||
Unpacks this 16-bit signed integer into a boolean list, treating it as a bit field.
|
||
</summary>
|
||
<param name="value">The value to unpack.</param>
|
||
<param name="destination">When this method returns, contains the unpacked booleans from <paramref name="value" />.</param>
|
||
<exception cref="T:System.ArgumentException"><paramref name="destination" /> is not large enough to contain the result.</exception>
|
||
</member>
|
||
<member name="T:X10D.Collections.Int32Extensions">
|
||
<summary>
|
||
Collection-related extension methods for <see cref="T:System.Int32" />.
|
||
</summary>
|
||
</member>
|
||
<member name="M:X10D.Collections.Int32Extensions.Unpack(System.Int32)">
|
||
<summary>
|
||
Unpacks this 32-bit signed integer into a boolean list, treating it as a bit field.
|
||
</summary>
|
||
<param name="value">The value to unpack.</param>
|
||
<returns>An array of <see cref="T:System.Boolean" /> with length 32.</returns>
|
||
</member>
|
||
<member name="M:X10D.Collections.Int32Extensions.Unpack(System.Int32,System.Span{System.Boolean})">
|
||
<summary>
|
||
Unpacks this 32-bit signed integer into a boolean list, treating it as a bit field.
|
||
</summary>
|
||
<param name="value">The value to unpack.</param>
|
||
<param name="destination">When this method returns, contains the unpacked booleans from <paramref name="value" />.</param>
|
||
<exception cref="T:System.ArgumentException"><paramref name="destination" /> is not large enough to contain the result.</exception>
|
||
</member>
|
||
<member name="T:X10D.Collections.Int64Extensions">
|
||
<summary>
|
||
Collection-related extension methods for <see cref="T:System.Int64" />.
|
||
</summary>
|
||
</member>
|
||
<member name="M:X10D.Collections.Int64Extensions.Unpack(System.Int64)">
|
||
<summary>
|
||
Unpacks this 64-bit signed integer into a boolean list, treating it as a bit field.
|
||
</summary>
|
||
<param name="value">The value to unpack.</param>
|
||
<returns>An array of <see cref="T:System.Boolean" /> with length 64.</returns>
|
||
</member>
|
||
<member name="M:X10D.Collections.Int64Extensions.Unpack(System.Int64,System.Span{System.Boolean})">
|
||
<summary>
|
||
Unpacks this 64-bit signed integer into a boolean list, treating it as a bit field.
|
||
</summary>
|
||
<param name="value">The value to unpack.</param>
|
||
<param name="destination">When this method returns, contains the unpacked booleans from <paramref name="value" />.</param>
|
||
<exception cref="T:System.ArgumentException"><paramref name="destination" /> is not large enough to contain the result.</exception>
|
||
</member>
|
||
<member name="T:X10D.Collections.ListExtensions">
|
||
<summary>
|
||
Extension methods for <see cref="T:System.Collections.Generic.IList`1" /> and <see cref="T:System.Collections.Generic.IReadOnlyList`1" />.
|
||
</summary>
|
||
</member>
|
||
<member name="M:X10D.Collections.ListExtensions.Fill``1(System.Collections.Generic.IList{``0},``0)">
|
||
<summary>
|
||
Assigns the given value to each element of the list.
|
||
</summary>
|
||
<param name="source">The list to be filled.</param>
|
||
<param name="value">The value to assign to each list element.</param>
|
||
<typeparam name="T">The type of the elements in the list.</typeparam>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception>
|
||
</member>
|
||
<member name="M:X10D.Collections.ListExtensions.Fill``1(System.Collections.Generic.IList{``0},``0,System.Int32,System.Int32)">
|
||
<summary>
|
||
Assigns the given value to the elements of the list which are within the range of <paramref name="startIndex" />
|
||
(inclusive) and the next <paramref name="count" /> number of indices.
|
||
</summary>
|
||
<param name="source">The list to be filled.</param>
|
||
<param name="value">The value to assign to each list element.</param>
|
||
<param name="startIndex">A 32-bit integer that represents the index in the list at which filling begins.</param>
|
||
<param name="count">The number of elements to fill.</param>
|
||
<typeparam name="T">The type of the elements in the list.</typeparam>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception>
|
||
<exception cref="T:System.ArgumentOutOfRangeException">
|
||
<para><paramref name="startIndex" /> is less than 0.</para>
|
||
-or-
|
||
<para><paramref name="count" /> is less than 0.</para>
|
||
-or-
|
||
<para><paramref name="startIndex" /> + <paramref name="count" /> exceeds the bounds of the list.</para>
|
||
</exception>
|
||
</member>
|
||
<member name="M:X10D.Collections.ListExtensions.Random``1(System.Collections.Generic.IReadOnlyList{``0},System.Random)">
|
||
<summary>
|
||
Returns a random element from the current list using a specified <see cref="T:System.Random" /> instance.
|
||
</summary>
|
||
<typeparam name="T">The element type.</typeparam>
|
||
<param name="source">The source collection from which to draw.</param>
|
||
<param name="random">
|
||
The <see cref="T:System.Random" /> instance to use for the shuffling. If <see langword="null" /> is specified, a shared
|
||
instance is used.
|
||
</param>
|
||
<returns>A random element of type <typeparamref name="T" /> from <paramref name="source" />.</returns>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception>
|
||
<example>
|
||
<code lang="csharp">
|
||
var list = new List<int> { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 };
|
||
var number = list.Random();
|
||
</code>
|
||
</example>
|
||
</member>
|
||
<member name="M:X10D.Collections.ListExtensions.Shuffle``1(System.Collections.Generic.IList{``0},System.Random)">
|
||
<summary>
|
||
Reorganizes the elements in a list by implementing a Fisher-Yates shuffle.
|
||
</summary>
|
||
<typeparam name="T">The element type.</typeparam>
|
||
<param name="source">The <see cref="T:System.Collections.Generic.IList`1" /> to shuffle.</param>
|
||
<param name="random">
|
||
The <see cref="T:System.Random" /> instance to use for the shuffling. If <see langword="null" /> is specified, a shared
|
||
instance is used.
|
||
</param>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception>
|
||
</member>
|
||
<member name="T:X10D.Core.EnumExtensions">
|
||
<summary>
|
||
Extension methods for <see langword="enum" /> types.
|
||
</summary>
|
||
</member>
|
||
<member name="M:X10D.Core.EnumExtensions.Next``1(``0)">
|
||
<summary>
|
||
Returns the value which is defined proceeding this value in the enumeration.
|
||
</summary>
|
||
<typeparam name="T">The type of the enumeration.</typeparam>
|
||
<param name="value">The value whose proceeding value to retrieve.</param>
|
||
<returns>
|
||
A value of <typeparamref name="T" /> that is considered to be the next value defined after <paramref name="value" />,
|
||
or the first value if <paramref name="value" /> is the final field of the enumeration.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Core.EnumExtensions.NextUnchecked``1(``0)">
|
||
<summary>
|
||
Returns the value which is defined proceeding this value in the enumeration.
|
||
</summary>
|
||
<typeparam name="T">The type of the enumeration.</typeparam>
|
||
<param name="value">The value whose proceeding value to retrieve.</param>
|
||
<returns>
|
||
A value of <typeparamref name="T" /> that is considered to be the next value defined after
|
||
<paramref name="value" />.
|
||
</returns>
|
||
<exception cref="T:System.IndexOutOfRangeException"><paramref name="value" /> is the final field of the enumeration.</exception>
|
||
</member>
|
||
<member name="M:X10D.Core.EnumExtensions.Previous``1(``0)">
|
||
<summary>
|
||
Returns the value which is defined preceeding this value in the enumeration.
|
||
</summary>
|
||
<typeparam name="T">The type of the enumeration.</typeparam>
|
||
<param name="value">The value whose preceeding value to retrieve.</param>
|
||
<returns>
|
||
A value of <typeparamref name="T" /> that is considered to be the previous value defined after
|
||
<paramref name="value" />, or the last value if <paramref name="value" /> is the first field of the enumeration.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Core.EnumExtensions.PreviousUnchecked``1(``0)">
|
||
<summary>
|
||
Returns the value which is defined preceeding this value in the enumeration.
|
||
</summary>
|
||
<typeparam name="T">The type of the enumeration.</typeparam>
|
||
<param name="value">The value whose preceeding value to retrieve.</param>
|
||
<returns>
|
||
A value of <typeparamref name="T" /> that is considered to be the previous value defined after
|
||
<paramref name="value" />, or the last value if <paramref name="value" /> is the first field of the enumeration.
|
||
</returns>
|
||
<exception cref="T:System.IndexOutOfRangeException"><paramref name="value" /> is the first field of the enumeration.</exception>
|
||
</member>
|
||
<member name="T:X10D.Core.Extensions">
|
||
<summary>
|
||
Extension methods which apply to all types.
|
||
</summary>
|
||
</member>
|
||
<member name="M:X10D.Core.Extensions.AsArrayValue``1(``0)">
|
||
<summary>
|
||
Returns an array containing the specified value.
|
||
</summary>
|
||
<param name="value">The value to encapsulate.</param>
|
||
<typeparam name="T">The type of <paramref name="value"/>.</typeparam>
|
||
<returns>
|
||
An array of type <typeparamref name="T" /> with length 1, whose only element is <paramref name="value" />.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Core.Extensions.AsEnumerableValue``1(``0)">
|
||
<summary>
|
||
Returns an enumerable collection containing the specified value.
|
||
</summary>
|
||
<param name="value">The value to encapsulate.</param>
|
||
<typeparam name="T">The type of <paramref name="value"/>.</typeparam>
|
||
<returns>
|
||
An enumerable collection of type <typeparamref name="T" />, whose only element is <paramref name="value" />.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Core.Extensions.RepeatValue``1(``0,System.Int32)">
|
||
<summary>
|
||
Returns an enumerable collection containing the current value repeated a specified number of times.
|
||
</summary>
|
||
<param name="value">The value to repeat.</param>
|
||
<param name="count">The number of times to repeat <paramref name="value" />.</param>
|
||
<typeparam name="T">The type of <paramref name="value"/>.</typeparam>
|
||
<returns>An enumerable collection containing <paramref name="value" /> repeated <paramref name="count" /> times.</returns>
|
||
<exception cref="T:System.ArgumentOutOfRangeException"><paramref name="count" /> is less than 0.</exception>
|
||
</member>
|
||
<member name="T:X10D.Core.RandomExtensions">
|
||
<summary>
|
||
Extension methods for <see cref="T:System.Random" />.
|
||
</summary>
|
||
</member>
|
||
<member name="M:X10D.Core.RandomExtensions.Next``1(System.Random)">
|
||
<summary>
|
||
Returns a random value that defined in a specified enum.
|
||
</summary>
|
||
<param name="random">The <see cref="T:System.Random" /> instance.</param>
|
||
<typeparam name="T">An enum type.</typeparam>
|
||
<returns>
|
||
A <typeparamref name="T" /> value at index <c>n</c> where <c>n = </c><see cref="M:System.Random.Next(System.Int32)" />.
|
||
</returns>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="random" /> is <see langword="null" />.</exception>
|
||
</member>
|
||
<member name="M:X10D.Core.RandomExtensions.NextBoolean(System.Random)">
|
||
<summary>
|
||
Returns either <see langword="true" /> or <see langword="false" /> based on the next generation of the current
|
||
<see cref="T:System.Random" />.
|
||
</summary>
|
||
<param name="random">The <see cref="T:System.Random" /> instance.</param>
|
||
<returns>
|
||
<see langword="true" /> if the return value from <see cref="M:System.Random.NextDouble" /> is greater than or
|
||
equal to 0.5
|
||
-or-
|
||
<see langword="false" /> otherwise.
|
||
</returns>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="random" /> is <see langword="null" />.</exception>
|
||
</member>
|
||
<member name="M:X10D.Core.RandomExtensions.NextDouble(System.Random,System.Double)">
|
||
<summary>
|
||
Returns a non-negative random double-precision floating point number that is less than the specified maximum.
|
||
</summary>
|
||
<param name="random">The <see cref="T:System.Random" /> instance.</param>
|
||
<param name="maxValue">
|
||
The exclusive upper bound of the random number returned. This value must be greater than or equal to 0.
|
||
</param>
|
||
<returns>
|
||
A random double-precision floating point number that is greater than or equal to 0, and less than
|
||
<paramref name="maxValue" />.
|
||
</returns>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="random" /> is <see langword="null" />.</exception>
|
||
<exception cref="T:System.ArgumentOutOfRangeException"><paramref name="maxValue" /> is less than 0.</exception>
|
||
</member>
|
||
<member name="M:X10D.Core.RandomExtensions.NextDouble(System.Random,System.Double,System.Double)">
|
||
<summary>
|
||
Returns a random double-precision floating point number that is within a specified range.
|
||
</summary>
|
||
<param name="random">The <see cref="T:System.Random" /> instance.</param>
|
||
<param name="minValue">The inclusive lower bound of the random number returned.</param>
|
||
<param name="maxValue">
|
||
The exclusive upper bound of the random number returned. This value must be greater than or equal to
|
||
<paramref name="minValue" />.
|
||
</param>
|
||
<returns>
|
||
A random double-precision floating point number between <paramref name="minValue" /> and
|
||
<paramref name="maxValue" />.
|
||
</returns>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="random" /> is <see langword="null" />.</exception>
|
||
<exception cref="T:System.ArgumentException">
|
||
<paramref name="maxValue" /> is less than <paramref name="minValue" />.
|
||
</exception>
|
||
</member>
|
||
<member name="M:X10D.Core.RandomExtensions.NextFrom``1(System.Random,System.Collections.Generic.IEnumerable{``0})">
|
||
<summary>
|
||
Returns a random element from <paramref name="source" /> using the <see cref="T:System.Random" /> instance.
|
||
</summary>
|
||
<typeparam name="T">The element type.</typeparam>
|
||
<param name="random">The <see cref="T:System.Random" /> instance.</param>
|
||
<param name="source">The source collection from which to draw.</param>
|
||
<returns>A random element of type <typeparamref name="T" /> from <paramref name="source" />.</returns>
|
||
<exception cref="T:System.ArgumentNullException">
|
||
<paramref name="random" /> is is <see langword="null" />
|
||
-or-
|
||
<paramref name="source" /> is <see langword="null" />.
|
||
</exception>
|
||
<example>
|
||
<code lang="csharp">
|
||
var list = new List<int> { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 };
|
||
var random = new Random();
|
||
var number = random.NextFrom(list);
|
||
</code>
|
||
</example>
|
||
</member>
|
||
<member name="M:X10D.Core.RandomExtensions.NextByte(System.Random)">
|
||
<summary>
|
||
Returns a non-negative random integer.
|
||
</summary>
|
||
<param name="random">The <see cref="T:System.Random" /> instance.</param>
|
||
<returns>
|
||
An 8-bit unsigned integer that is greater than or equal to 0, and less than <see cref="F:System.Byte.MaxValue" />.
|
||
</returns>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="random" /> is <see langword="null" />.</exception>
|
||
</member>
|
||
<member name="M:X10D.Core.RandomExtensions.NextByte(System.Random,System.Byte)">
|
||
<summary>
|
||
Returns a non-negative random integer.
|
||
</summary>
|
||
<param name="random">The <see cref="T:System.Random" /> instance.</param>
|
||
<param name="maxValue">
|
||
The exclusive upper bound of the random number to be generated. <paramref name="maxValue" /> must be greater than or
|
||
equal to 0.
|
||
</param>
|
||
<returns>
|
||
An 8-bit unsigned integer that is greater than or equal to 0, and less than <paramref name="maxValue" />; that is, the
|
||
range of return values ordinarily includes 0 but not <paramref name="maxValue" />. However, if
|
||
<paramref name="maxValue" /> equals 0, <paramref name="maxValue" /> is returned.
|
||
</returns>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="random" /> is <see langword="null" />.</exception>
|
||
</member>
|
||
<member name="M:X10D.Core.RandomExtensions.NextByte(System.Random,System.Byte,System.Byte)">
|
||
<summary>
|
||
Returns a non-negative random integer.
|
||
</summary>
|
||
<param name="random">The <see cref="T:System.Random" /> instance.</param>
|
||
<param name="minValue">The inclusive lower bound of the random number to be generated.</param>
|
||
<param name="maxValue">
|
||
The exclusive upper bound of the random number to be generated. <paramref name="maxValue" /> must be greater than or
|
||
equal to <paramref name="minValue" />.
|
||
</param>
|
||
<returns>
|
||
An 8-bit unsigned integer greater than or equal to <paramref name="minValue" /> and less than
|
||
<paramref name="maxValue" />; that is, the range of return values includes <paramref name="minValue" /> but not
|
||
<paramref name="maxValue" />. If <paramref name="minValue" /> equals <paramref name="maxValue" />,
|
||
<paramref name="minValue" /> is returned.
|
||
</returns>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="random" /> is <see langword="null" />.</exception>
|
||
<exception cref="T:System.ArgumentOutOfRangeException">
|
||
<paramref name="minValue" /> is greater than <paramref name="maxValue" />.
|
||
</exception>
|
||
</member>
|
||
<member name="M:X10D.Core.RandomExtensions.NextInt16(System.Random)">
|
||
<summary>
|
||
Returns a non-negative random integer.
|
||
</summary>
|
||
<param name="random">The <see cref="T:System.Random" /> instance.</param>
|
||
<returns>
|
||
An 16-bit signed integer that is greater than or equal to 0, and less than <see cref="F:System.Int16.MaxValue" />.
|
||
</returns>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="random" /> is <see langword="null" />.</exception>
|
||
</member>
|
||
<member name="M:X10D.Core.RandomExtensions.NextInt16(System.Random,System.Int16)">
|
||
<summary>
|
||
Returns a non-negative random integer that is less than the specified maximum.
|
||
</summary>
|
||
<param name="random">The <see cref="T:System.Random" /> instance.</param>
|
||
<param name="maxValue">
|
||
The exclusive upper bound of the random number to be generated. <paramref name="maxValue" /> must be greater than or
|
||
equal to 0.
|
||
</param>
|
||
<returns>
|
||
A 16-bit signed integer that is greater than or equal to 0, and less than <paramref name="maxValue" />; that is, the
|
||
range of return values ordinarily includes 0 but not <paramref name="maxValue" />. However, if
|
||
<paramref name="maxValue" /> equals 0, <paramref name="maxValue" /> is returned.
|
||
</returns>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="random" /> is <see langword="null" />.</exception>
|
||
<exception cref="T:System.ArgumentOutOfRangeException"><paramref name="maxValue" /> is less than 0.</exception>
|
||
</member>
|
||
<member name="M:X10D.Core.RandomExtensions.NextInt16(System.Random,System.Int16,System.Int16)">
|
||
<summary>
|
||
Returns a random integer that is within a specified range.
|
||
</summary>
|
||
<param name="random">The <see cref="T:System.Random" /> instance.</param>
|
||
<param name="minValue">The inclusive lower bound of the random number to be generated.</param>
|
||
<param name="maxValue">
|
||
The exclusive upper bound of the random number to be generated. <paramref name="maxValue" /> must be greater than or
|
||
equal to <paramref name="minValue" />.
|
||
</param>
|
||
<returns>
|
||
An 8-bit unsigned integer greater than or equal to <paramref name="minValue" /> and less than
|
||
<paramref name="maxValue" />; that is, the range of return values includes <paramref name="minValue" /> but not
|
||
<paramref name="maxValue" />. If <paramref name="minValue" /> equals <paramref name="maxValue" />,
|
||
<paramref name="minValue" /> is returned.
|
||
</returns>
|
||
<exception cref="T:System.ArgumentOutOfRangeException">
|
||
<paramref name="minValue" /> is greater than <paramref name="maxValue" />.
|
||
</exception>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="random" /> is <see langword="null" />.</exception>
|
||
</member>
|
||
<member name="M:X10D.Core.RandomExtensions.NextSingle(System.Random)">
|
||
<summary>
|
||
Returns a random floating-point number that is greater than or equal to 0.0, and less than 1.0.
|
||
</summary>
|
||
<param name="random">The <see cref="T:System.Random" /> instance.</param>
|
||
<returns>A single-precision floating point number that is greater than or equal to 0.0, and less than 1.0.</returns>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="random" /> is <see langword="null" />.</exception>
|
||
</member>
|
||
<member name="M:X10D.Core.RandomExtensions.NextSingle(System.Random,System.Single)">
|
||
<summary>
|
||
Returns a non-negative random single-precision floating point number that is less than the specified maximum.
|
||
</summary>
|
||
<param name="random">The <see cref="T:System.Random" /> instance.</param>
|
||
<param name="maxValue">
|
||
The exclusive upper bound of the random number returned. This value must be greater than or equal to 0.
|
||
</param>
|
||
<returns>
|
||
A random single-precision floating point number that is greater than or equal to 0, and less than
|
||
<paramref name="maxValue" />.
|
||
</returns>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="random" /> is <see langword="null" />.</exception>
|
||
<exception cref="T:System.ArgumentException"><paramref name="maxValue" /> is less than 0.</exception>
|
||
</member>
|
||
<member name="M:X10D.Core.RandomExtensions.NextSingle(System.Random,System.Single,System.Single)">
|
||
<summary>
|
||
Returns a random single-precision floating point number that is within a specified range.
|
||
</summary>
|
||
<param name="random">The <see cref="T:System.Random" /> instance.</param>
|
||
<param name="minValue">The inclusive lower bound of the random number returned.</param>
|
||
<param name="maxValue">
|
||
The exclusive upper bound of the random number returned. This value must be greater than or equal to
|
||
<paramref name="minValue" />.
|
||
</param>
|
||
<returns>
|
||
A random single-precision floating point number between <paramref name="minValue" /> and
|
||
<paramref name="maxValue" />.
|
||
</returns>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="random" /> is <see langword="null" />.</exception>
|
||
<exception cref="T:System.ArgumentException">
|
||
<paramref name="maxValue" /> is less than <paramref name="minValue" />.
|
||
</exception>
|
||
</member>
|
||
<member name="M:X10D.Core.RandomExtensions.NextString(System.Random,System.Collections.Generic.IReadOnlyList{System.Char},System.Int32)">
|
||
<summary>
|
||
Returns a new string of a specified length which is composed of specified characters.
|
||
</summary>
|
||
<param name="random">The <see cref="T:System.Random" /> instance.</param>
|
||
<param name="source">The source collection of characters to poll.</param>
|
||
<param name="length">The length of the new string to generate.</param>
|
||
<returns>
|
||
A <see cref="T:System.String" /> whose length is equal to that of <paramref name="length" />, composed of characters
|
||
specified by the characters in <paramref name="source" />.
|
||
</returns>
|
||
<exception cref="T:System.ArgumentNullException">
|
||
<paramref name="random" /> is <see langword="null" />.
|
||
-or-
|
||
<paramref name="source" /> is <see langword="null" />.
|
||
</exception>
|
||
<exception cref="T:System.ArgumentOutOfRangeException"><paramref name="length" /> is less than 0.</exception>
|
||
</member>
|
||
<member name="T:X10D.Drawing.ColorExtensions">
|
||
<summary>
|
||
Drawing-related extensions for <see cref="T:System.Drawing.Color" />.
|
||
</summary>
|
||
</member>
|
||
<member name="M:X10D.Drawing.ColorExtensions.Inverted(System.Drawing.Color)">
|
||
<summary>
|
||
Returns a new <see cref="T:System.Drawing.Color" /> with the red, green, and blue components inverted. Alpha is not affected.
|
||
</summary>
|
||
<param name="color">The color to invert.</param>
|
||
<returns>The inverted color.</returns>
|
||
</member>
|
||
<member name="M:X10D.Drawing.ColorExtensions.WithA(System.Drawing.Color,System.Int32)">
|
||
<summary>
|
||
Returns a vector whose red, green, and blue components are the same as the specified color, and whose alpha component
|
||
is a new value.
|
||
</summary>
|
||
<param name="color">The color to copy.</param>
|
||
<param name="a">The new alpha component value.</param>
|
||
<returns>
|
||
A new instance of <see cref="T:System.Drawing.Color" /> whose <see cref="P:System.Drawing.Color.R" />, <see cref="P:System.Drawing.Color.G" />, and
|
||
<see cref="P:System.Drawing.Color.B" /> components are the same as that of <paramref name="color" />, and whose
|
||
<see cref="P:System.Drawing.Color.A" /> component is <paramref name="a" />.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Drawing.ColorExtensions.WithB(System.Drawing.Color,System.Int32)">
|
||
<summary>
|
||
Returns a vector whose red, green, and alpha components are the same as the specified color, and whose blue component
|
||
is a new value.
|
||
</summary>
|
||
<param name="color">The color to copy.</param>
|
||
<param name="b">The new blue component value.</param>
|
||
<returns>
|
||
A new instance of <see cref="T:System.Drawing.Color" /> whose <see cref="P:System.Drawing.Color.R" />, <see cref="P:System.Drawing.Color.G" />, and
|
||
<see cref="P:System.Drawing.Color.A" /> components are the same as that of <paramref name="color" />, and whose
|
||
<see cref="P:System.Drawing.Color.B" /> component is <paramref name="b" />.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Drawing.ColorExtensions.WithG(System.Drawing.Color,System.Int32)">
|
||
<summary>
|
||
Returns a vector whose red, blue, and alpha components are the same as the specified color, and whose green component
|
||
is a new value.
|
||
</summary>
|
||
<param name="color">The color to copy.</param>
|
||
<param name="g">The new green component value.</param>
|
||
<returns>
|
||
A new instance of <see cref="T:System.Drawing.Color" /> whose <see cref="P:System.Drawing.Color.R" />, <see cref="P:System.Drawing.Color.B" />, and
|
||
<see cref="P:System.Drawing.Color.A" /> components are the same as that of <paramref name="color" />, and whose
|
||
<see cref="P:System.Drawing.Color.G" /> component is <paramref name="g" />.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Drawing.ColorExtensions.WithR(System.Drawing.Color,System.Int32)">
|
||
<summary>
|
||
Returns a vector whose green, blue, and alpha components are the same as the specified color, and whose red component
|
||
is a new value.
|
||
</summary>
|
||
<param name="color">The color to copy.</param>
|
||
<param name="r">The new red component value.</param>
|
||
<returns>
|
||
A new instance of <see cref="T:System.Drawing.Color" /> whose <see cref="P:System.Drawing.Color.G" />, <see cref="P:System.Drawing.Color.B" />, and
|
||
<see cref="P:System.Drawing.Color.A" /> components are the same as that of <paramref name="color" />, and whose
|
||
<see cref="P:System.Drawing.Color.R" /> component is <paramref name="r" />.
|
||
</returns>
|
||
</member>
|
||
<member name="T:X10D.Drawing.RandomExtensions">
|
||
<summary>
|
||
Extension methods for <see cref="T:System.Random" />.
|
||
</summary>
|
||
</member>
|
||
<member name="M:X10D.Drawing.RandomExtensions.NextColorRgb(System.Random)">
|
||
<summary>
|
||
Returns a color of random components for red, green, and blue.
|
||
</summary>
|
||
<param name="random">The <see cref="T:System.Random" /> instance.</param>
|
||
<returns>A <see cref="T:System.Drawing.Color" /> whose red, green, and blue components are all random, and whose alpha is 255</returns>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="random" /> is <see langword="null" />.</exception>
|
||
</member>
|
||
<member name="M:X10D.Drawing.RandomExtensions.NextColorArgb(System.Random)">
|
||
<summary>
|
||
Returns a color composed of random components for apha, red, green, and blue.
|
||
</summary>
|
||
<param name="random">The <see cref="T:System.Random" /> instance.</param>
|
||
<returns>A <see cref="T:System.Drawing.Color" /> whose alpha, red, green, and blue components are all random.</returns>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="random" /> is <see langword="null" />.</exception>
|
||
</member>
|
||
<member name="T:X10D.Endianness">
|
||
<summary>
|
||
Represents an enumeration of endianness values.
|
||
</summary>
|
||
</member>
|
||
<member name="F:X10D.Endianness.LittleEndian">
|
||
<summary>
|
||
The value should be read as though it uses little endian encoding.
|
||
</summary>
|
||
</member>
|
||
<member name="F:X10D.Endianness.BigEndian">
|
||
<summary>
|
||
The value should be read as though it uses big endian encoding.
|
||
</summary>
|
||
</member>
|
||
<member name="T:X10D.ExceptionMessages">
|
||
<summary>
|
||
A strongly-typed resource class, for looking up localized strings, etc.
|
||
</summary>
|
||
</member>
|
||
<member name="P:X10D.ExceptionMessages.ResourceManager">
|
||
<summary>
|
||
Returns the cached ResourceManager instance used by this class.
|
||
</summary>
|
||
</member>
|
||
<member name="P:X10D.ExceptionMessages.Culture">
|
||
<summary>
|
||
Overrides the current thread's CurrentUICulture property for all
|
||
resource lookups using this strongly typed resource class.
|
||
</summary>
|
||
</member>
|
||
<member name="P:X10D.ExceptionMessages.BufferTooSmall">
|
||
<summary>
|
||
Looks up a localized string similar to The buffer is too small to contain the data..
|
||
</summary>
|
||
</member>
|
||
<member name="P:X10D.ExceptionMessages.CountMustBeGreaterThanOrEqualTo0">
|
||
<summary>
|
||
Looks up a localized string similar to count must be greater than or equal to 0..
|
||
</summary>
|
||
</member>
|
||
<member name="P:X10D.ExceptionMessages.HashAlgorithmCreateReturnedNull">
|
||
<summary>
|
||
Looks up a localized string similar to HashAlgorithm's Create method returned null reference..
|
||
</summary>
|
||
</member>
|
||
<member name="P:X10D.ExceptionMessages.HashAlgorithmNoCreateMethod">
|
||
<summary>
|
||
Looks up a localized string similar to HashAlgorithm does not offer Create method..
|
||
</summary>
|
||
</member>
|
||
<member name="P:X10D.ExceptionMessages.LengthGreaterThanOrEqualTo0">
|
||
<summary>
|
||
Looks up a localized string similar to Length must be greater than or equal to 0..
|
||
</summary>
|
||
</member>
|
||
<member name="P:X10D.ExceptionMessages.LowerCannotBeGreaterThanUpper">
|
||
<summary>
|
||
Looks up a localized string similar to {0} cannot be greater than {1}.
|
||
</summary>
|
||
</member>
|
||
<member name="P:X10D.ExceptionMessages.MaxValueGreaterThanEqualTo0">
|
||
<summary>
|
||
Looks up a localized string similar to maxValue must be greater than or equal to 0.
|
||
</summary>
|
||
</member>
|
||
<member name="P:X10D.ExceptionMessages.MaxValueGreaterThanEqualToMinValue">
|
||
<summary>
|
||
Looks up a localized string similar to maxValue must be greater than or equal to minValue.
|
||
</summary>
|
||
</member>
|
||
<member name="P:X10D.ExceptionMessages.StreamDoesNotSupportReading">
|
||
<summary>
|
||
Looks up a localized string similar to The stream does not support reading..
|
||
</summary>
|
||
</member>
|
||
<member name="P:X10D.ExceptionMessages.StreamDoesNotSupportWriting">
|
||
<summary>
|
||
Looks up a localized string similar to The stream does not support writing..
|
||
</summary>
|
||
</member>
|
||
<member name="P:X10D.ExceptionMessages.StreamTooLarge">
|
||
<summary>
|
||
Looks up a localized string similar to The length of the stream is too large..
|
||
</summary>
|
||
</member>
|
||
<member name="P:X10D.ExceptionMessages.TypeDoesNotInheritAttribute">
|
||
<summary>
|
||
Looks up a localized string similar to {0} does not inherit {1}.
|
||
</summary>
|
||
</member>
|
||
<member name="P:X10D.ExceptionMessages.TypeIsNotClass">
|
||
<summary>
|
||
Looks up a localized string similar to {0} is not a class..
|
||
</summary>
|
||
</member>
|
||
<member name="P:X10D.ExceptionMessages.TypeIsNotInterface">
|
||
<summary>
|
||
Looks up a localized string similar to {0} is not an interface..
|
||
</summary>
|
||
</member>
|
||
<member name="P:X10D.ExceptionMessages.YearCannotBeZero">
|
||
<summary>
|
||
Looks up a localized string similar to Year cannot be zero..
|
||
</summary>
|
||
</member>
|
||
<member name="T:X10D.IO.BooleanExtensions">
|
||
<summary>
|
||
Extension methods for <see cref="T:System.Boolean" />.
|
||
</summary>
|
||
</member>
|
||
<member name="M:X10D.IO.BooleanExtensions.GetBytes(System.Boolean)">
|
||
<summary>
|
||
Returns the current boolean value as an array of bytes.
|
||
</summary>
|
||
<param name="value">The value to convert.</param>
|
||
<returns>An array of bytes with length 1.</returns>
|
||
</member>
|
||
<member name="M:X10D.IO.BooleanExtensions.TryWriteBytes(System.Boolean,System.Span{System.Byte})">
|
||
<summary>
|
||
Converts a <see cref="T:System.Boolean" /> into a span of bytes.
|
||
</summary>
|
||
<param name="value">The <see cref="T:System.Boolean" /> value.</param>
|
||
<param name="destination">When this method returns, the bytes representing the converted <see cref="T:System.Boolean" />.</param>
|
||
<returns><see langword="true" /> if the conversion was successful; otherwise, <see langword="false" />.</returns>
|
||
</member>
|
||
<member name="T:X10D.IO.ByteExtensions">
|
||
<summary>
|
||
IO-related extension methods for <see cref="T:System.Byte" />.
|
||
</summary>
|
||
</member>
|
||
<member name="M:X10D.IO.ByteExtensions.GetBytes(System.Byte)">
|
||
<summary>
|
||
Returns the current 8-bit unsigned integer value as an array of bytes.
|
||
</summary>
|
||
<param name="value">The number to convert.</param>
|
||
<returns>An array of bytes with length 1.</returns>
|
||
</member>
|
||
<member name="M:X10D.IO.ByteExtensions.TryWriteBytes(System.Byte,System.Span{System.Byte})">
|
||
<summary>
|
||
Converts a <see cref="T:System.Byte" /> into a span of bytes.
|
||
</summary>
|
||
<param name="value">The <see cref="T:System.Byte" /> value.</param>
|
||
<param name="destination">When this method returns, the bytes representing the converted <see cref="T:System.Byte" />.</param>
|
||
<returns><see langword="true" /> if the conversion was successful; otherwise, <see langword="false" />.</returns>
|
||
</member>
|
||
<member name="T:X10D.IO.DoubleExtensions">
|
||
<summary>
|
||
IO-related extension methods for <see cref="T:System.Double" />.
|
||
</summary>
|
||
</member>
|
||
<member name="M:X10D.IO.DoubleExtensions.GetBytes(System.Double)">
|
||
<summary>
|
||
Returns the current double-precision floating-point value as an array of bytes.
|
||
</summary>
|
||
<param name="value">The number to convert.</param>
|
||
<returns>An array of bytes with length 8.</returns>
|
||
</member>
|
||
<member name="M:X10D.IO.DoubleExtensions.GetBytes(System.Double,X10D.Endianness)">
|
||
<summary>
|
||
Returns the current double-precision floating-point value as an array of bytes.
|
||
</summary>
|
||
<param name="value">The number to convert.</param>
|
||
<param name="endianness">The endianness with which to write the bytes.</param>
|
||
<returns>An array of bytes with length 8.</returns>
|
||
</member>
|
||
<member name="M:X10D.IO.DoubleExtensions.TryWriteBytes(System.Double,System.Span{System.Byte})">
|
||
<summary>
|
||
Converts the current double-precision floating-point into a span of bytes.
|
||
</summary>
|
||
<param name="value">The <see cref="T:System.Double" /> value.</param>
|
||
<param name="destination">When this method returns, the bytes representing the converted <see cref="T:System.Double" />.</param>
|
||
<returns><see langword="true" /> if the conversion was successful; otherwise, <see langword="false" />.</returns>
|
||
</member>
|
||
<member name="M:X10D.IO.DoubleExtensions.TryWriteBytes(System.Double,System.Span{System.Byte},X10D.Endianness)">
|
||
<summary>
|
||
Converts the current double-precision floating-point into a span of bytes.
|
||
</summary>
|
||
<param name="value">The <see cref="T:System.Double" /> value.</param>
|
||
<param name="destination">When this method returns, the bytes representing the converted <see cref="T:System.Double" />.</param>
|
||
<param name="endianness">The endianness with which to write the bytes.</param>
|
||
<returns><see langword="true" /> if the conversion was successful; otherwise, <see langword="false" />.</returns>
|
||
</member>
|
||
<member name="T:X10D.IO.FileInfoExtensions">
|
||
<summary>
|
||
IO-related extension methods for <see cref="T:System.IO.FileInfo" />.
|
||
</summary>
|
||
</member>
|
||
<member name="M:X10D.IO.FileInfoExtensions.GetHash``1(System.IO.FileInfo)">
|
||
<summary>
|
||
Computes the hash of a file using the specified hash algorithm.
|
||
</summary>
|
||
<param name="value">The file whose hash to compute.</param>
|
||
<typeparam name="T">
|
||
The type of the <see cref="T:System.Security.Cryptography.HashAlgorithm" /> whose <see cref="M:System.Security.Cryptography.HashAlgorithm.ComputeHash(System.IO.Stream)" /> is to be used for
|
||
computing the hash.
|
||
</typeparam>
|
||
<returns>The hash of <paramref name="value" /> represented as an array of bytes.</returns>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="value" /> is <see langword="null" />.</exception>
|
||
<exception cref="T:System.IO.FileNotFoundException">The specified file was not found.</exception>
|
||
<exception cref="T:System.IO.IOException">The opened file stream cannot be read.</exception>
|
||
<exception cref="T:System.TypeInitializationException">
|
||
The specified <see cref="T:System.Security.Cryptography.HashAlgorithm" /> does not offer a public, static. parameterless <c>Create</c> method, or its
|
||
<c>Create</c> method returns a type that is not assignable to <typeparamref name="T" />.
|
||
</exception>
|
||
<exception cref="T:System.ObjectDisposedException">The stream has already been disposed.</exception>
|
||
</member>
|
||
<member name="M:X10D.IO.FileInfoExtensions.TryWriteHash``1(System.IO.FileInfo,System.Span{System.Byte},System.Int32@)">
|
||
<summary>
|
||
Computes the hash of a file using the specified hash algorithm.
|
||
</summary>
|
||
<param name="value">The file whose hash to compute.</param>
|
||
<param name="destination">When this method returns, contains the computed hash of <paramref name="value" />.</param>
|
||
<param name="bytesWritten">
|
||
When this method returns, the total number of bytes written into destination. This parameter is treated as
|
||
uninitialized.
|
||
</param>
|
||
<typeparam name="T">
|
||
The type of the <see cref="T:System.Security.Cryptography.HashAlgorithm" /> whose <see cref="M:System.Security.Cryptography.HashAlgorithm.ComputeHash(System.IO.Stream)" /> is to be used for
|
||
computing the hash.
|
||
</typeparam>
|
||
<returns>
|
||
<see langword="true" /> if the destination is long enough to receive the hash; otherwise, <see langword="false" />.
|
||
</returns>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="value" /> is <see langword="null" />.</exception>
|
||
<exception cref="T:System.IO.FileNotFoundException">The specified file was not found.</exception>
|
||
<exception cref="T:System.IO.IOException">The opened file stream cannot be read.</exception>
|
||
<exception cref="T:System.TypeInitializationException">
|
||
The specified <see cref="T:System.Security.Cryptography.HashAlgorithm" /> does not offer a public, static. parameterless <c>Create</c> method, or its
|
||
<c>Create</c> method returns a type that is not assignable to <typeparamref name="T" />.
|
||
</exception>
|
||
<exception cref="T:System.ObjectDisposedException">The stream has already been disposed.</exception>
|
||
</member>
|
||
<member name="T:X10D.IO.Int16Extensions">
|
||
<summary>
|
||
IO-related extension methods for <see cref="T:System.Int16" />.
|
||
</summary>
|
||
</member>
|
||
<member name="M:X10D.IO.Int16Extensions.GetBytes(System.Int16)">
|
||
<summary>
|
||
Returns the current 16-bit signed integer value as an array of bytes.
|
||
</summary>
|
||
<param name="value">The number to convert.</param>
|
||
<returns>An array of bytes with length 2.</returns>
|
||
</member>
|
||
<member name="M:X10D.IO.Int16Extensions.GetBytes(System.Int16,X10D.Endianness)">
|
||
<summary>
|
||
Returns the current 16-bit signed integer value as an array of bytes.
|
||
</summary>
|
||
<param name="value">The number to convert.</param>
|
||
<param name="endianness">The endianness with which to write the bytes.</param>
|
||
<returns>An array of bytes with length 2.</returns>
|
||
</member>
|
||
<member name="M:X10D.IO.Int16Extensions.TryWriteBytes(System.Int16,System.Span{System.Byte})">
|
||
<summary>
|
||
Converts the current 16-bit signed integer into a span of bytes.
|
||
</summary>
|
||
<param name="value">The <see cref="T:System.Int16" /> value.</param>
|
||
<param name="destination">When this method returns, the bytes representing the converted <see cref="T:System.Int16" />.</param>
|
||
<returns><see langword="true" /> if the conversion was successful; otherwise, <see langword="false" />.</returns>
|
||
</member>
|
||
<member name="M:X10D.IO.Int16Extensions.TryWriteBytes(System.Int16,System.Span{System.Byte},X10D.Endianness)">
|
||
<summary>
|
||
Converts the current 16-bit signed integer into a span of bytes.
|
||
</summary>
|
||
<param name="value">The <see cref="T:System.Int16" /> value.</param>
|
||
<param name="destination">When this method returns, the bytes representing the converted <see cref="T:System.Int16" />.</param>
|
||
<param name="endianness">The endianness with which to write the bytes.</param>
|
||
<returns><see langword="true" /> if the conversion was successful; otherwise, <see langword="false" />.</returns>
|
||
</member>
|
||
<member name="T:X10D.IO.Int32Extensions">
|
||
<summary>
|
||
IO-related extension methods for <see cref="T:System.Int32" />.
|
||
</summary>
|
||
</member>
|
||
<member name="M:X10D.IO.Int32Extensions.GetBytes(System.Int32)">
|
||
<summary>
|
||
Returns the current 32-bit signed integer value as an array of bytes.
|
||
</summary>
|
||
<param name="value">The number to convert.</param>
|
||
<returns>An array of bytes with length 4.</returns>
|
||
</member>
|
||
<member name="M:X10D.IO.Int32Extensions.GetBytes(System.Int32,X10D.Endianness)">
|
||
<summary>
|
||
Returns the current 32-bit signed integer value as an array of bytes.
|
||
</summary>
|
||
<param name="value">The number to convert.</param>
|
||
<param name="endianness">The endianness with which to write the bytes.</param>
|
||
<returns>An array of bytes with length 4.</returns>
|
||
</member>
|
||
<member name="M:X10D.IO.Int32Extensions.TryWriteBytes(System.Int32,System.Span{System.Byte})">
|
||
<summary>
|
||
Converts the current 32-bit signed integer into a span of bytes.
|
||
</summary>
|
||
<param name="value">The <see cref="T:System.Int32" /> value.</param>
|
||
<param name="destination">When this method returns, the bytes representing the converted <see cref="T:System.Int32" />.</param>
|
||
<returns><see langword="true" /> if the conversion was successful; otherwise, <see langword="false" />.</returns>
|
||
</member>
|
||
<member name="M:X10D.IO.Int32Extensions.TryWriteBytes(System.Int32,System.Span{System.Byte},X10D.Endianness)">
|
||
<summary>
|
||
Converts the current 32-bit signed integer into a span of bytes.
|
||
</summary>
|
||
<param name="value">The <see cref="T:System.Int32" /> value.</param>
|
||
<param name="destination">When this method returns, the bytes representing the converted <see cref="T:System.Int32" />.</param>
|
||
<param name="endianness">The endianness with which to write the bytes.</param>
|
||
<returns><see langword="true" /> if the conversion was successful; otherwise, <see langword="false" />.</returns>
|
||
</member>
|
||
<member name="T:X10D.IO.Int64Extensions">
|
||
<summary>
|
||
IO-related extension methods for <see cref="T:System.Int64" />.
|
||
</summary>
|
||
</member>
|
||
<member name="M:X10D.IO.Int64Extensions.GetBytes(System.Int64)">
|
||
<summary>
|
||
Returns the current 64-bit signed integer value as an array of bytes.
|
||
</summary>
|
||
<param name="value">The number to convert.</param>
|
||
<returns>An array of bytes with length 8.</returns>
|
||
</member>
|
||
<member name="M:X10D.IO.Int64Extensions.GetBytes(System.Int64,X10D.Endianness)">
|
||
<summary>
|
||
Returns the current 64-bit signed integer value as an array of bytes.
|
||
</summary>
|
||
<param name="value">The number to convert.</param>
|
||
<param name="endianness">The endianness with which to write the bytes.</param>
|
||
<returns>An array of bytes with length 8.</returns>
|
||
</member>
|
||
<member name="M:X10D.IO.Int64Extensions.TryWriteBytes(System.Int64,System.Span{System.Byte})">
|
||
<summary>
|
||
Converts the current 64-bit signed integer a span of bytes.
|
||
</summary>
|
||
<param name="value">The <see cref="T:System.Int64" /> value.</param>
|
||
<param name="destination">When this method returns, the bytes representing the converted <see cref="T:System.Int64" />.</param>
|
||
<returns><see langword="true" /> if the conversion was successful; otherwise, <see langword="false" />.</returns>
|
||
</member>
|
||
<member name="M:X10D.IO.Int64Extensions.TryWriteBytes(System.Int64,System.Span{System.Byte},X10D.Endianness)">
|
||
<summary>
|
||
Converts the current 64-bit signed integer a span of bytes.
|
||
</summary>
|
||
<param name="value">The <see cref="T:System.Int64" /> value.</param>
|
||
<param name="destination">When this method returns, the bytes representing the converted <see cref="T:System.Int64" />.</param>
|
||
<param name="endianness">The endianness with which to write the bytes.</param>
|
||
<returns><see langword="true" /> if the conversion was successful; otherwise, <see langword="false" />.</returns>
|
||
</member>
|
||
<member name="T:X10D.IO.ListOfByteExtensions">
|
||
<summary>
|
||
Extension methods for <see cref="T:System.Byte" /> array.
|
||
</summary>
|
||
</member>
|
||
<member name="M:X10D.IO.ListOfByteExtensions.AsString(System.Collections.Generic.IReadOnlyList{System.Byte})">
|
||
<summary>
|
||
Converts the numeric value of each element of a specified list of bytes to its equivalent hexadecimal string
|
||
representation.
|
||
</summary>
|
||
<param name="source">The source list of bytes.</param>
|
||
<returns>
|
||
A string of hexadecimal pairs separated by hyphens, where each pair represents the corresponding element in
|
||
<paramref name="source" />; for example, "7F-2C-4A-00".
|
||
</returns>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception>
|
||
</member>
|
||
<member name="M:X10D.IO.ListOfByteExtensions.ToDouble(System.Collections.Generic.IReadOnlyList{System.Byte})">
|
||
<summary>
|
||
Returns a double-precision floating point number converted from eight bytes.
|
||
</summary>
|
||
<param name="source">The source list of bytes.</param>
|
||
<returns>A double-precision floating point number formed by eight bytes.</returns>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception>
|
||
</member>
|
||
<member name="M:X10D.IO.ListOfByteExtensions.ToDouble(System.Collections.Generic.IReadOnlyList{System.Byte},System.Int32)">
|
||
<summary>
|
||
Returns a double-precision floating point number converted from eight bytes at a specified position in a list of
|
||
bytes.
|
||
</summary>
|
||
<param name="source">The source list of bytes.</param>
|
||
<param name="startIndex">The starting position within <paramref name="source" />.</param>
|
||
<returns>
|
||
A double-precision floating point number formed by eight bytes beginning at <paramref name="startIndex" />.
|
||
</returns>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception>
|
||
</member>
|
||
<member name="M:X10D.IO.ListOfByteExtensions.ToInt16(System.Collections.Generic.IReadOnlyList{System.Byte})">
|
||
<summary>
|
||
Returns a 16-bit signed integer converted from two bytes.
|
||
</summary>
|
||
<param name="source">The source list of bytes.</param>
|
||
<returns>A 16-bit signed integer formed by two bytes.</returns>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception>
|
||
</member>
|
||
<member name="M:X10D.IO.ListOfByteExtensions.ToInt16(System.Collections.Generic.IReadOnlyList{System.Byte},System.Int32)">
|
||
<summary>
|
||
Returns a 16-bit signed integer converted from two bytes at a specified position in a list of bytes.
|
||
</summary>
|
||
<param name="source">The source list of bytes.</param>
|
||
<param name="startIndex">The starting position within <paramref name="source" />.</param>
|
||
<returns>A 16-bit signed integer formed by two bytes beginning at <paramref name="startIndex" />.</returns>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception>
|
||
</member>
|
||
<member name="M:X10D.IO.ListOfByteExtensions.ToInt32(System.Collections.Generic.IReadOnlyList{System.Byte})">
|
||
<summary>
|
||
Returns a 32-bit signed integer converted from four bytes.
|
||
</summary>
|
||
<param name="source">The source list of bytes.</param>
|
||
<returns>A 32-bit signed integer formed by four bytes.</returns>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception>
|
||
</member>
|
||
<member name="M:X10D.IO.ListOfByteExtensions.ToInt32(System.Collections.Generic.IReadOnlyList{System.Byte},System.Int32)">
|
||
<summary>
|
||
Returns a 32-bit signed integer converted from four bytes at a specified position in a list of bytes.
|
||
</summary>
|
||
<param name="source">The source list of bytes.</param>
|
||
<param name="startIndex">The starting position within <paramref name="source" />.</param>
|
||
<returns>A 32-bit signed integer formed by four bytes beginning at <paramref name="startIndex" />.</returns>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception>
|
||
</member>
|
||
<member name="M:X10D.IO.ListOfByteExtensions.ToInt64(System.Collections.Generic.IReadOnlyList{System.Byte})">
|
||
<summary>
|
||
Returns a 64-bit signed integer converted from eight bytes.
|
||
</summary>
|
||
<param name="source">The source list of bytes.</param>
|
||
<returns>A 64-bit signed integer formed by eight bytes.</returns>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception>
|
||
</member>
|
||
<member name="M:X10D.IO.ListOfByteExtensions.ToInt64(System.Collections.Generic.IReadOnlyList{System.Byte},System.Int32)">
|
||
<summary>
|
||
Returns a 64-bit signed integer converted from eight bytes at a specified position in a list of bytes.
|
||
</summary>
|
||
<param name="source">The source list of bytes.</param>
|
||
<param name="startIndex">The starting position within <paramref name="source" />.</param>
|
||
<returns>A 64-bit signed integer formed by eight bytes beginning at <paramref name="startIndex" />.</returns>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception>
|
||
</member>
|
||
<member name="M:X10D.IO.ListOfByteExtensions.ToSingle(System.Collections.Generic.IReadOnlyList{System.Byte})">
|
||
<summary>
|
||
Returns a single-precision floating point number converted from four bytes.
|
||
</summary>
|
||
<param name="source">The source list of bytes.</param>
|
||
<returns>A single-precision floating point number formed by four bytes.</returns>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception>
|
||
</member>
|
||
<member name="M:X10D.IO.ListOfByteExtensions.ToSingle(System.Collections.Generic.IReadOnlyList{System.Byte},System.Int32)">
|
||
<summary>
|
||
Returns a single-precision floating point number converted from four bytes at a specified position in a list of bytes.
|
||
</summary>
|
||
<param name="source">The source list of bytes.</param>
|
||
<param name="startIndex">The starting position within <paramref name="source" />.</param>
|
||
<returns>
|
||
A single-precision floating point number formed by four bytes beginning at <paramref name="startIndex" />.
|
||
</returns>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception>
|
||
</member>
|
||
<member name="M:X10D.IO.ListOfByteExtensions.ToString(System.Collections.Generic.IReadOnlyList{System.Byte},System.Text.Encoding)">
|
||
<summary>
|
||
Decodes all the bytes within the current list of bytes to a string, using a specified encoding.
|
||
</summary>
|
||
<param name="source">The source list of bytes.</param>
|
||
<param name="encoding">The encoding which should be used to decode <paramref name="source" />.</param>
|
||
<returns>A string that contains the results of decoding the specified sequence of bytes.</returns>
|
||
<exception cref="T:System.ArgumentNullException">
|
||
<para><paramref name="source" /> is <see langword="null" />.</para>
|
||
-or-
|
||
<para><paramref name="encoding" /> is <see langword="null" />.</para>
|
||
</exception>
|
||
</member>
|
||
<member name="M:X10D.IO.ListOfByteExtensions.ToUInt16(System.Collections.Generic.IReadOnlyList{System.Byte})">
|
||
<summary>
|
||
Returns a 16-bit unsigned integer converted from two bytes.
|
||
</summary>
|
||
<param name="source">The source list of bytes.</param>
|
||
<returns>A 16-bit unsigned integer formed by two bytes.</returns>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception>
|
||
</member>
|
||
<member name="M:X10D.IO.ListOfByteExtensions.ToUInt16(System.Collections.Generic.IReadOnlyList{System.Byte},System.Int32)">
|
||
<summary>
|
||
Returns a 16-bit unsigned integer converted from two bytes at a specified position in a list of bytes.
|
||
</summary>
|
||
<param name="source">The source list of bytes.</param>
|
||
<param name="startIndex">The starting position within <paramref name="source" />.</param>
|
||
<returns>A 16-bit unsigned integer formed by two bytes beginning at <paramref name="startIndex" />.</returns>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception>
|
||
</member>
|
||
<member name="M:X10D.IO.ListOfByteExtensions.ToUInt32(System.Collections.Generic.IReadOnlyList{System.Byte})">
|
||
<summary>
|
||
Returns a 32-bit unsigned integer converted from four bytes.
|
||
</summary>
|
||
<param name="source">The source list of bytes.</param>
|
||
<returns>A 32-bit unsigned integer formed by four bytes.</returns>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception>
|
||
</member>
|
||
<member name="M:X10D.IO.ListOfByteExtensions.ToUInt32(System.Collections.Generic.IReadOnlyList{System.Byte},System.Int32)">
|
||
<summary>
|
||
Returns a 32-bit unsigned integer converted from four bytes at a specified position in a list of bytes.
|
||
</summary>
|
||
<param name="source">The source list of bytes.</param>
|
||
<param name="startIndex">The starting position within <paramref name="source" />.</param>
|
||
<returns>A 32-bit unsigned integer formed by four bytes beginning at <paramref name="startIndex" />.</returns>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception>
|
||
</member>
|
||
<member name="M:X10D.IO.ListOfByteExtensions.ToUInt64(System.Collections.Generic.IReadOnlyList{System.Byte})">
|
||
<summary>
|
||
Returns a 64-bit unsigned integer converted from eight bytes.
|
||
</summary>
|
||
<param name="source">The source list of bytes.</param>
|
||
<returns>A 64-bit unsigned integer formed by eight bytes.</returns>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception>
|
||
</member>
|
||
<member name="M:X10D.IO.ListOfByteExtensions.ToUInt64(System.Collections.Generic.IReadOnlyList{System.Byte},System.Int32)">
|
||
<summary>
|
||
Returns a 64-bit unsigned integer converted from eight bytes at a specified position in a list of bytes.
|
||
</summary>
|
||
<param name="source">The source list of bytes.</param>
|
||
<param name="startIndex">The starting position within <paramref name="source" />.</param>
|
||
<returns>A 64-bit unsigned integer formed by eight bytes beginning at <paramref name="startIndex" />.</returns>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception>
|
||
</member>
|
||
<member name="T:X10D.IO.SByteExtensions">
|
||
<summary>
|
||
IO-related extension methods for <see cref="T:System.SByte" />.
|
||
</summary>
|
||
</member>
|
||
<member name="M:X10D.IO.SByteExtensions.GetBytes(System.SByte)">
|
||
<summary>
|
||
Returns the current 16-bit unsigned integer value as an array of bytes.
|
||
</summary>
|
||
<param name="value">The number to convert.</param>
|
||
<returns>An array of bytes with length 1.</returns>
|
||
</member>
|
||
<member name="M:X10D.IO.SByteExtensions.TryWriteBytes(System.SByte,System.Span{System.Byte})">
|
||
<summary>
|
||
Converts the current 16-bit unsigned integer into a span of bytes.
|
||
</summary>
|
||
<param name="value">The <see cref="T:System.SByte" /> value.</param>
|
||
<param name="destination">When this method returns, the bytes representing the converted <see cref="T:System.SByte" />.</param>
|
||
<returns><see langword="true" /> if the conversion was successful; otherwise, <see langword="false" />.</returns>
|
||
</member>
|
||
<member name="T:X10D.IO.SingleExtensions">
|
||
<summary>
|
||
IO-related extension methods for <see cref="T:System.Single" />.
|
||
</summary>
|
||
</member>
|
||
<member name="M:X10D.IO.SingleExtensions.GetBytes(System.Single)">
|
||
<summary>
|
||
Returns the current single-precision floating-point value as an array of bytes.
|
||
</summary>
|
||
<param name="value">The number to convert.</param>
|
||
<returns>An array of bytes with length 4.</returns>
|
||
</member>
|
||
<member name="M:X10D.IO.SingleExtensions.GetBytes(System.Single,X10D.Endianness)">
|
||
<summary>
|
||
Returns the current single-precision floating-point value as an array of bytes.
|
||
</summary>
|
||
<param name="value">The number to convert.</param>
|
||
<param name="endianness">The endianness with which to write the bytes.</param>
|
||
<returns>An array of bytes with length 4.</returns>
|
||
</member>
|
||
<member name="M:X10D.IO.SingleExtensions.TryWriteBytes(System.Single,System.Span{System.Byte})">
|
||
<summary>
|
||
Converts the current single-precision floating-point into a span of bytes.
|
||
</summary>
|
||
<param name="value">The <see cref="T:System.Single" /> value.</param>
|
||
<param name="destination">When this method returns, the bytes representing the converted <see cref="T:System.Single" />.</param>
|
||
<returns><see langword="true" /> if the conversion was successful; otherwise, <see langword="false" />.</returns>
|
||
</member>
|
||
<member name="M:X10D.IO.SingleExtensions.TryWriteBytes(System.Single,System.Span{System.Byte},X10D.Endianness)">
|
||
<summary>
|
||
Converts the current single-precision floating-point into a span of bytes.
|
||
</summary>
|
||
<param name="value">The <see cref="T:System.Single" /> value.</param>
|
||
<param name="destination">When this method returns, the bytes representing the converted <see cref="T:System.Single" />.</param>
|
||
<param name="endianness">The endianness with which to write the bytes.</param>
|
||
<returns><see langword="true" /> if the conversion was successful; otherwise, <see langword="false" />.</returns>
|
||
</member>
|
||
<member name="T:X10D.IO.StreamExtensions">
|
||
<summary>
|
||
IO-related extension methods for <see cref="T:System.IO.Stream" />.
|
||
</summary>
|
||
</member>
|
||
<member name="M:X10D.IO.StreamExtensions.GetHash``1(System.IO.Stream)">
|
||
<summary>
|
||
Returns the hash of the current stream as an array of bytes using the specified hash algorithm.
|
||
</summary>
|
||
<param name="stream">The stream whose hash is to be computed.</param>
|
||
<typeparam name="T">
|
||
The type of the <see cref="T:System.Security.Cryptography.HashAlgorithm" /> whose <see cref="M:System.Security.Cryptography.HashAlgorithm.ComputeHash(System.IO.Stream)" /> is to be used for
|
||
computing the hash.
|
||
</typeparam>
|
||
<returns>The hash of <paramref name="stream" /> represented as an array of bytes.</returns>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="stream" /> is <see langword="null" /></exception>
|
||
<exception cref="T:System.IO.IOException"><paramref name="stream" /> does not support reading.</exception>
|
||
<exception cref="T:System.TypeInitializationException">
|
||
The specified <see cref="T:System.Security.Cryptography.HashAlgorithm" /> does not offer a public, static. parameterless <c>Create</c> method, or its
|
||
<c>Create</c> method returns a type that is not assignable to <typeparamref name="T" />.
|
||
</exception>
|
||
<exception cref="T:System.ObjectDisposedException">The stream has already been disposed.</exception>
|
||
</member>
|
||
<member name="M:X10D.IO.StreamExtensions.ReadDecimal(System.IO.Stream)">
|
||
<summary>
|
||
Reads a decimal value from the current stream using the system's default endian encoding, and advances the stream
|
||
position by sixteen bytes.
|
||
</summary>
|
||
<param name="stream">The stream to read.</param>
|
||
<returns>A sixteen-byte decimal value read from the stream.</returns>
|
||
</member>
|
||
<member name="M:X10D.IO.StreamExtensions.ReadDecimal(System.IO.Stream,X10D.Endianness)">
|
||
<summary>
|
||
Reads a decimal value from the current stream using a specified endian encoding, and advances the stream position
|
||
by sixteen bytes.
|
||
</summary>
|
||
<param name="stream">The stream from which the value should be read.</param>
|
||
<param name="endianness">The endian encoding to use.</param>
|
||
<returns>A decimal value read from the stream.</returns>
|
||
</member>
|
||
<member name="M:X10D.IO.StreamExtensions.ReadDouble(System.IO.Stream)">
|
||
<summary>
|
||
Reads a double-precision floating point value from the current stream using the system's default endian encoding,
|
||
and advances the stream position by eight bytes.
|
||
</summary>
|
||
<param name="stream">The stream from which the value should be read.</param>
|
||
<returns>A double-precision floating point value read from the stream.</returns>
|
||
</member>
|
||
<member name="M:X10D.IO.StreamExtensions.ReadDouble(System.IO.Stream,X10D.Endianness)">
|
||
<summary>
|
||
Reads a double-precision floating point value from the current stream using a specified endian encoding, and
|
||
advances the stream position by eight bytes.
|
||
</summary>
|
||
<param name="stream">The stream from which the value should be read.</param>
|
||
<param name="endianness">The endian encoding to use.</param>
|
||
<returns>A double-precision floating point value read from the stream.</returns>
|
||
</member>
|
||
<member name="M:X10D.IO.StreamExtensions.ReadInt16(System.IO.Stream)">
|
||
<summary>
|
||
Reads a two-byte signed integer from the current stream using the system's default endian encoding, and advances
|
||
the stream position by two bytes.
|
||
</summary>
|
||
<param name="stream">The stream from which the value should be read.</param>
|
||
<returns>An two-byte signed integer read from the stream.</returns>
|
||
</member>
|
||
<member name="M:X10D.IO.StreamExtensions.ReadInt16(System.IO.Stream,X10D.Endianness)">
|
||
<summary>
|
||
Reads a two-byte signed integer from the current stream using the specified endian encoding, and advances the
|
||
stream position by two bytes.
|
||
</summary>
|
||
<param name="stream">The stream from which the value should be read.</param>
|
||
<param name="endianness">The endian encoding to use.</param>
|
||
<returns>An two-byte unsigned integer read from the stream.</returns>
|
||
</member>
|
||
<member name="M:X10D.IO.StreamExtensions.ReadInt32(System.IO.Stream)">
|
||
<summary>
|
||
Reads a four-byte signed integer from the current stream using the system's default endian encoding, and advances
|
||
the stream position by four bytes.
|
||
</summary>
|
||
<param name="stream">The stream from which the value should be read.</param>
|
||
<returns>An four-byte signed integer read from the stream.</returns>
|
||
</member>
|
||
<member name="M:X10D.IO.StreamExtensions.ReadInt32(System.IO.Stream,X10D.Endianness)">
|
||
<summary>
|
||
Reads a four-byte signed integer from the current stream using the specified endian encoding, and advances the
|
||
stream position by four bytes.
|
||
</summary>
|
||
<param name="stream">The stream from which the value should be read.</param>
|
||
<param name="endianness">The endian encoding to use.</param>
|
||
<returns>An four-byte unsigned integer read from the stream.</returns>
|
||
</member>
|
||
<member name="M:X10D.IO.StreamExtensions.ReadInt64(System.IO.Stream)">
|
||
<summary>
|
||
Reads an eight-byte signed integer from the current stream using the system's default endian encoding, and
|
||
advances the stream position by eight bytes.
|
||
</summary>
|
||
<param name="stream">The stream from which the value should be read.</param>
|
||
<returns>An eight-byte signed integer read from the stream.</returns>
|
||
</member>
|
||
<member name="M:X10D.IO.StreamExtensions.ReadInt64(System.IO.Stream,X10D.Endianness)">
|
||
<summary>
|
||
Reads an eight-byte signed integer from the current stream using the specified endian encoding, and advances the
|
||
stream position by eight bytes.
|
||
</summary>
|
||
<param name="stream">The stream from which the value should be read.</param>
|
||
<param name="endianness">The endian encoding to use.</param>
|
||
<returns>An eight-byte unsigned integer read from the stream.</returns>
|
||
</member>
|
||
<member name="M:X10D.IO.StreamExtensions.ReadSingle(System.IO.Stream)">
|
||
<summary>
|
||
Reads a single-precision floating point value from the current stream using the system's default endian encoding,
|
||
and advances the stream position by four bytes.
|
||
</summary>
|
||
<param name="stream">The stream from which the value should be read.</param>
|
||
<returns>A single-precision floating point value read from the stream.</returns>
|
||
</member>
|
||
<member name="M:X10D.IO.StreamExtensions.ReadSingle(System.IO.Stream,X10D.Endianness)">
|
||
<summary>
|
||
Reads a double-precision floating point value from the current stream using a specified endian encoding, and
|
||
advances the stream position by four bytes.
|
||
</summary>
|
||
<param name="stream">The stream from which the value should be read.</param>
|
||
<param name="endianness">The endian encoding to use.</param>
|
||
<returns>A single-precision floating point value read from the stream.</returns>
|
||
</member>
|
||
<member name="M:X10D.IO.StreamExtensions.ReadUInt16(System.IO.Stream)">
|
||
<summary>
|
||
Reads a two-byte unsigned integer from the current stream using the system's default endian encoding, and advances
|
||
the stream position by two bytes.
|
||
</summary>
|
||
<param name="stream">The stream from which the value should be read.</param>
|
||
<returns>An two-byte unsigned integer read from the stream.</returns>
|
||
</member>
|
||
<member name="M:X10D.IO.StreamExtensions.ReadUInt16(System.IO.Stream,X10D.Endianness)">
|
||
<summary>
|
||
Reads a two-byte unsigned integer from the current stream using the specified endian encoding, and advances the
|
||
stream position by two bytes.
|
||
</summary>
|
||
<param name="stream">The stream from which the value should be read.</param>
|
||
<param name="endianness">The endian encoding to use.</param>
|
||
<returns>An two-byte unsigned integer read from the stream.</returns>
|
||
</member>
|
||
<member name="M:X10D.IO.StreamExtensions.ReadUInt32(System.IO.Stream)">
|
||
<summary>
|
||
Reads a four-byte unsigned integer from the current stream using the system's default endian encoding, and
|
||
advances the stream position by four bytes.
|
||
</summary>
|
||
<param name="stream">The stream from which the value should be read.</param>
|
||
<returns>An four-byte unsigned integer read from the stream.</returns>
|
||
</member>
|
||
<member name="M:X10D.IO.StreamExtensions.ReadUInt32(System.IO.Stream,X10D.Endianness)">
|
||
<summary>
|
||
Reads a four-byte unsigned integer from the current stream using the specified endian encoding, and advances the
|
||
stream position by four bytes.
|
||
</summary>
|
||
<param name="stream">The stream from which the value should be read.</param>
|
||
<param name="endianness">The endian encoding to use.</param>
|
||
<returns>An four-byte unsigned integer read from the stream.</returns>
|
||
</member>
|
||
<member name="M:X10D.IO.StreamExtensions.ReadUInt64(System.IO.Stream)">
|
||
<summary>
|
||
Reads an eight-byte unsigned integer from the current stream using the system's default endian encoding, and
|
||
advances the stream position by eight bytes.
|
||
</summary>
|
||
<param name="stream">The stream from which the value should be read.</param>
|
||
<returns>An eight-byte unsigned integer read from the stream.</returns>
|
||
</member>
|
||
<member name="M:X10D.IO.StreamExtensions.ReadUInt64(System.IO.Stream,X10D.Endianness)">
|
||
<summary>
|
||
Reads an eight-byte unsigned integer from the current stream using the specified endian encoding, and advances the
|
||
stream position by eight bytes.
|
||
</summary>
|
||
<param name="stream">The stream from which the value should be read.</param>
|
||
<param name="endianness">The endian encoding to use.</param>
|
||
<returns>An eight-byte unsigned integer read from the stream.</returns>
|
||
</member>
|
||
<member name="M:X10D.IO.StreamExtensions.TryWriteHash``1(System.IO.Stream,System.Span{System.Byte},System.Int32@)">
|
||
<summary>
|
||
Returns the hash of the current stream as an array of bytes using the specified hash algorithm.
|
||
</summary>
|
||
<param name="stream">The stream whose hash is to be computed.</param>
|
||
<param name="destination">When this method returns, contains the computed hash of <paramref name="stream" />.</param>
|
||
<param name="bytesWritten">
|
||
When this method returns, the total number of bytes written into destination. This parameter is treated as
|
||
uninitialized.
|
||
</param>
|
||
<typeparam name="T">
|
||
The type of the <see cref="T:System.Security.Cryptography.HashAlgorithm" /> whose <see cref="M:System.Security.Cryptography.HashAlgorithm.ComputeHash(System.IO.Stream)" /> is to be used for
|
||
computing the hash.
|
||
</typeparam>
|
||
<returns>
|
||
<see langword="true" /> if the destination is long enough to receive the hash; otherwise, <see langword="false" />.
|
||
</returns>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="stream" /> is <see langword="null" /></exception>
|
||
<exception cref="T:System.IO.IOException"><paramref name="stream" /> does not support reading.</exception>
|
||
<exception cref="T:System.TypeInitializationException">
|
||
The specified <see cref="T:System.Security.Cryptography.HashAlgorithm" /> does not offer a public, static. parameterless <c>Create</c> method, or its
|
||
<c>Create</c> method returns a type that is not assignable to <typeparamref name="T" />.
|
||
</exception>
|
||
<exception cref="T:System.ObjectDisposedException">The stream has already been disposed.</exception>
|
||
</member>
|
||
<member name="M:X10D.IO.StreamExtensions.Write(System.IO.Stream,System.Int16)">
|
||
<summary>
|
||
Writes a two-byte signed integer to the current stream using the system's default endian encoding, and advances
|
||
the stream position by two bytes.
|
||
</summary>
|
||
<param name="stream">The stream to which the value should be written.</param>
|
||
<param name="value">The two-byte signed integer to write.</param>
|
||
<returns>The number of bytes written to the stream.</returns>
|
||
</member>
|
||
<member name="M:X10D.IO.StreamExtensions.Write(System.IO.Stream,System.Int16,X10D.Endianness)">
|
||
<summary>
|
||
Writes a two-byte signed integer to the current stream using the specified endian encoding, and advances the
|
||
stream position by two bytes.
|
||
</summary>
|
||
<param name="stream">The stream to which the value should be written.</param>
|
||
<param name="value">The two-byte signed integer to write.</param>
|
||
<param name="endianness">The endian encoding to use.</param>
|
||
<returns>The number of bytes written to the stream.</returns>
|
||
</member>
|
||
<member name="M:X10D.IO.StreamExtensions.Write(System.IO.Stream,System.Int32)">
|
||
<summary>
|
||
Writes a four-byte signed integer to the current stream using the system's default endian encoding, and advances
|
||
the stream position by four bytes.
|
||
</summary>
|
||
<param name="stream">The stream to which the value should be written.</param>
|
||
<param name="value">The four-byte signed integer to write.</param>
|
||
<returns>The number of bytes written to the stream.</returns>
|
||
</member>
|
||
<member name="M:X10D.IO.StreamExtensions.Write(System.IO.Stream,System.Int32,X10D.Endianness)">
|
||
<summary>
|
||
Writes a four-byte signed integer to the current stream using the specified endian encoding, and advances the
|
||
stream position by four bytes.
|
||
</summary>
|
||
<param name="stream">The stream to which the value should be written.</param>
|
||
<param name="value">The four-byte signed integer to write.</param>
|
||
<param name="endianness">The endian encoding to use.</param>
|
||
<returns>The number of bytes written to the stream.</returns>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="stream" /> is <see langword="null" />.</exception>
|
||
</member>
|
||
<member name="M:X10D.IO.StreamExtensions.Write(System.IO.Stream,System.Int64)">
|
||
<summary>
|
||
Writes an eight-byte signed integer to the current stream using the system's default endian encoding, and advances
|
||
the stream position by eight bytes.
|
||
</summary>
|
||
<param name="stream">The stream to which the value should be written.</param>
|
||
<param name="value">The eight-byte signed integer to write.</param>
|
||
<returns>The number of bytes written to the stream.</returns>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="stream" /> is <see langword="null" />.</exception>
|
||
</member>
|
||
<member name="M:X10D.IO.StreamExtensions.Write(System.IO.Stream,System.Int64,X10D.Endianness)">
|
||
<summary>
|
||
Writes an eight-byte signed integer to the current stream using the specified endian encoding, and advances the
|
||
stream position by eight bytes.
|
||
</summary>
|
||
<param name="stream">The stream to which the value should be written.</param>
|
||
<param name="value">The eight-byte signed integer to write.</param>
|
||
<param name="endianness">The endian encoding to use.</param>
|
||
<returns>The number of bytes written to the stream.</returns>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="stream" /> is <see langword="null" />.</exception>
|
||
</member>
|
||
<member name="M:X10D.IO.StreamExtensions.Write(System.IO.Stream,System.UInt16)">
|
||
<summary>
|
||
Writes a two-byte unsigned integer to the current stream using the system's default endian encoding, and advances
|
||
the stream position by two bytes.
|
||
</summary>
|
||
<param name="stream">The stream to which the value should be written.</param>
|
||
<param name="value">The two-byte unsigned integer to write.</param>
|
||
<returns>The number of bytes written to the stream.</returns>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="stream" /> is <see langword="null" />.</exception>
|
||
</member>
|
||
<member name="M:X10D.IO.StreamExtensions.Write(System.IO.Stream,System.UInt16,X10D.Endianness)">
|
||
<summary>
|
||
Writes a two-byte unsigned integer to the current stream using the specified endian encoding, and advances the
|
||
stream position by two bytes.
|
||
</summary>
|
||
<param name="stream">The stream to which the value should be written.</param>
|
||
<param name="value">The two-byte unsigned integer to write.</param>
|
||
<param name="endianness">The endian encoding to use.</param>
|
||
<returns>The number of bytes written to the stream.</returns>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="stream" /> is <see langword="null" />.</exception>
|
||
</member>
|
||
<member name="M:X10D.IO.StreamExtensions.Write(System.IO.Stream,System.UInt32)">
|
||
<summary>
|
||
Writes a four-byte unsigned integer to the current stream using the system's default endian encoding, and advances
|
||
the stream position by four bytes.
|
||
</summary>
|
||
<param name="stream">The stream to which the value should be written.</param>
|
||
<param name="value">The four-byte unsigned integer to write.</param>
|
||
<returns>The number of bytes written to the stream.</returns>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="stream" /> is <see langword="null" />.</exception>
|
||
</member>
|
||
<member name="M:X10D.IO.StreamExtensions.Write(System.IO.Stream,System.UInt32,X10D.Endianness)">
|
||
<summary>
|
||
Writes a four-byte unsigned integer to the current stream using the specified endian encoding, and advances the
|
||
stream position by four bytes.
|
||
</summary>
|
||
<param name="stream">The stream to which the value should be written.</param>
|
||
<param name="value">The four-byte unsigned integer to write.</param>
|
||
<param name="endianness">The endian encoding to use.</param>
|
||
<returns>The number of bytes written to the stream.</returns>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="stream" /> is <see langword="null" />.</exception>
|
||
</member>
|
||
<member name="M:X10D.IO.StreamExtensions.Write(System.IO.Stream,System.UInt64)">
|
||
<summary>
|
||
Writes an eight-byte unsigned integer to the current stream using the system's default endian encoding, and
|
||
advances the stream position by eight bytes.
|
||
</summary>
|
||
<param name="stream">The stream to which the value should be written.</param>
|
||
<param name="value">The eight-byte unsigned integer to write.</param>
|
||
<returns>The number of bytes written to the stream.</returns>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="stream" /> is <see langword="null" />.</exception>
|
||
</member>
|
||
<member name="M:X10D.IO.StreamExtensions.Write(System.IO.Stream,System.UInt64,X10D.Endianness)">
|
||
<summary>
|
||
Writes an eight-byte signed integer to the current stream using the specified endian encoding, and advances the
|
||
stream position by eight bytes.
|
||
</summary>
|
||
<param name="stream">The stream to which the value should be written.</param>
|
||
<param name="value">The eight-byte signed integer to write.</param>
|
||
<param name="endianness">The endian encoding to use.</param>
|
||
<returns>The number of bytes written to the stream.</returns>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="stream" /> is <see langword="null" />.</exception>
|
||
</member>
|
||
<member name="M:X10D.IO.StreamExtensions.Write(System.IO.Stream,System.Single,X10D.Endianness)">
|
||
<summary>
|
||
Writes a single-precision floating point value to the current stream using the specified endian encoding, and
|
||
advances the stream position by four bytes.
|
||
</summary>
|
||
<param name="stream">The stream to which the value should be written.</param>
|
||
<param name="value">The single-precision floating point value to write.</param>
|
||
<param name="endianness">The endian encoding to use.</param>
|
||
<returns>The number of bytes written to the stream.</returns>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="stream" /> is <see langword="null" />.</exception>
|
||
</member>
|
||
<member name="M:X10D.IO.StreamExtensions.Write(System.IO.Stream,System.Double,X10D.Endianness)">
|
||
<summary>
|
||
Writes a double-precision floating point value to the current stream using the specified endian encoding, and
|
||
advances the stream position by eight bytes.
|
||
</summary>
|
||
<param name="stream">The stream to which the value should be written.</param>
|
||
<param name="value">The double-precision floating point value to write.</param>
|
||
<param name="endianness">The endian encoding to use.</param>
|
||
<returns>The number of bytes written to the stream.</returns>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="stream" /> is <see langword="null" />.</exception>
|
||
</member>
|
||
<member name="M:X10D.IO.StreamExtensions.Write(System.IO.Stream,System.Decimal,X10D.Endianness)">
|
||
<summary>
|
||
Writes a decimal value to the current stream using the specified endian encoding, and advances the stream position
|
||
by sixteen bytes.
|
||
</summary>
|
||
<param name="stream">The stream to which the value should be written.</param>
|
||
<param name="value">The decimal value to write.</param>
|
||
<param name="endianness">The endian encoding to use.</param>
|
||
<returns>The number of bytes written to the stream.</returns>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="stream" /> is <see langword="null" />.</exception>
|
||
</member>
|
||
<member name="T:X10D.IO.UInt16Extensions">
|
||
<summary>
|
||
IO-related extension methods for <see cref="T:System.UInt16" />.
|
||
</summary>
|
||
</member>
|
||
<member name="M:X10D.IO.UInt16Extensions.GetBytes(System.UInt16)">
|
||
<summary>
|
||
Returns the current 16-bit unsigned integer value as an array of bytes.
|
||
</summary>
|
||
<param name="value">The number to convert.</param>
|
||
<returns>An array of bytes with length 2.</returns>
|
||
</member>
|
||
<member name="M:X10D.IO.UInt16Extensions.GetBytes(System.UInt16,X10D.Endianness)">
|
||
<summary>
|
||
Returns the current 16-bit unsigned integer value as an array of bytes.
|
||
</summary>
|
||
<param name="value">The number to convert.</param>
|
||
<param name="endianness">The endianness with which to write the bytes.</param>
|
||
<returns>An array of bytes with length 2.</returns>
|
||
</member>
|
||
<member name="M:X10D.IO.UInt16Extensions.TryWriteBytes(System.UInt16,System.Span{System.Byte})">
|
||
<summary>
|
||
Converts the current 16-bit unsigned integer into a span of bytes.
|
||
</summary>
|
||
<param name="value">The <see cref="T:System.UInt16" /> value.</param>
|
||
<param name="destination">When this method returns, the bytes representing the converted <see cref="T:System.UInt16" />.</param>
|
||
<returns><see langword="true" /> if the conversion was successful; otherwise, <see langword="false" />.</returns>
|
||
</member>
|
||
<member name="M:X10D.IO.UInt16Extensions.TryWriteBytes(System.UInt16,System.Span{System.Byte},X10D.Endianness)">
|
||
<summary>
|
||
Converts the current 16-bit unsigned integer into a span of bytes.
|
||
</summary>
|
||
<param name="value">The <see cref="T:System.UInt16" /> value.</param>
|
||
<param name="destination">When this method returns, the bytes representing the converted <see cref="T:System.UInt16" />.</param>
|
||
<param name="endianness">The endianness with which to write the bytes.</param>
|
||
<returns><see langword="true" /> if the conversion was successful; otherwise, <see langword="false" />.</returns>
|
||
</member>
|
||
<member name="T:X10D.IO.UInt32Extensions">
|
||
<summary>
|
||
IO-related extension methods for <see cref="T:System.UInt32" />.
|
||
</summary>
|
||
</member>
|
||
<member name="M:X10D.IO.UInt32Extensions.GetBytes(System.UInt32)">
|
||
<summary>
|
||
Returns the current 32-bit unsigned integer value as an array of bytes.
|
||
</summary>
|
||
<param name="value">The number to convert.</param>
|
||
<returns>An array of bytes with length 4.</returns>
|
||
</member>
|
||
<member name="M:X10D.IO.UInt32Extensions.GetBytes(System.UInt32,X10D.Endianness)">
|
||
<summary>
|
||
Returns the current 32-bit unsigned integer value as an array of bytes.
|
||
</summary>
|
||
<param name="value">The number to convert.</param>
|
||
<param name="endianness">The endianness with which to write the bytes.</param>
|
||
<returns>An array of bytes with length 4.</returns>
|
||
</member>
|
||
<member name="M:X10D.IO.UInt32Extensions.TryWriteBytes(System.UInt32,System.Span{System.Byte})">
|
||
<summary>
|
||
Converts the current 32-bit unsigned integer into a span of bytes.
|
||
</summary>
|
||
<param name="value">The <see cref="T:System.UInt32" /> value.</param>
|
||
<param name="destination">When this method returns, the bytes representing the converted <see cref="T:System.UInt32" />.</param>
|
||
<returns><see langword="true" /> if the conversion was successful; otherwise, <see langword="false" />.</returns>
|
||
</member>
|
||
<member name="M:X10D.IO.UInt32Extensions.TryWriteBytes(System.UInt32,System.Span{System.Byte},X10D.Endianness)">
|
||
<summary>
|
||
Converts the current 32-bit unsigned integer into a span of bytes.
|
||
</summary>
|
||
<param name="value">The <see cref="T:System.UInt32" /> value.</param>
|
||
<param name="destination">When this method returns, the bytes representing the converted <see cref="T:System.UInt32" />.</param>
|
||
<param name="endianness">The endianness with which to write the bytes.</param>
|
||
<returns><see langword="true" /> if the conversion was successful; otherwise, <see langword="false" />.</returns>
|
||
</member>
|
||
<member name="T:X10D.IO.UInt64Extensions">
|
||
<summary>
|
||
IO-related extension methods for <see cref="T:System.UInt64" />.
|
||
</summary>
|
||
</member>
|
||
<member name="M:X10D.IO.UInt64Extensions.GetBytes(System.UInt64)">
|
||
<summary>
|
||
Returns the current 64-bit unsigned integer value as an array of bytes.
|
||
</summary>
|
||
<param name="value">The number to convert.</param>
|
||
<returns>An array of bytes with length 8.</returns>
|
||
</member>
|
||
<member name="M:X10D.IO.UInt64Extensions.GetBytes(System.UInt64,X10D.Endianness)">
|
||
<summary>
|
||
Returns the current 64-bit unsigned integer value as an array of bytes.
|
||
</summary>
|
||
<param name="value">The number to convert.</param>
|
||
<param name="endianness">The endianness with which to write the bytes.</param>
|
||
<returns>An array of bytes with length 8.</returns>
|
||
</member>
|
||
<member name="M:X10D.IO.UInt64Extensions.TryWriteBytes(System.UInt64,System.Span{System.Byte})">
|
||
<summary>
|
||
Converts the current 64-bit unsigned integer into a span of bytes.
|
||
</summary>
|
||
<param name="value">The <see cref="T:System.UInt64" /> value.</param>
|
||
<param name="destination">When this method returns, the bytes representing the converted <see cref="T:System.UInt64" />.</param>
|
||
<returns><see langword="true" /> if the conversion was successful; otherwise, <see langword="false" />.</returns>
|
||
</member>
|
||
<member name="M:X10D.IO.UInt64Extensions.TryWriteBytes(System.UInt64,System.Span{System.Byte},X10D.Endianness)">
|
||
<summary>
|
||
Converts the current 64-bit unsigned integer into a span of bytes.
|
||
</summary>
|
||
<param name="value">The <see cref="T:System.UInt64" /> value.</param>
|
||
<param name="destination">When this method returns, the bytes representing the converted <see cref="T:System.UInt64" />.</param>
|
||
<param name="endianness">The endianness with which to write the bytes.</param>
|
||
<returns><see langword="true" /> if the conversion was successful; otherwise, <see langword="false" />.</returns>
|
||
</member>
|
||
<member name="T:X10D.Linq.ByteExtensions">
|
||
<summary>
|
||
LINQ-inspired extension methods for <see cref="T:System.Collections.Generic.IEnumerable`1" /> of <see cref="T:System.Byte" />.
|
||
</summary>
|
||
</member>
|
||
<member name="M:X10D.Linq.ByteExtensions.Product(System.Collections.Generic.IEnumerable{System.Byte})">
|
||
<summary>
|
||
Computes the product of a sequence of <see cref="T:System.Byte" /> values.
|
||
</summary>
|
||
<param name="source">A sequence of <see cref="T:System.Byte" /> values that are used to calculate the product.</param>
|
||
<returns>The product the values in the sequence.</returns>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception>
|
||
</member>
|
||
<member name="M:X10D.Linq.ByteExtensions.Product(System.Collections.Generic.IEnumerable{System.SByte})">
|
||
<summary>
|
||
Computes the product of a sequence of <see cref="T:System.SByte" /> values.
|
||
</summary>
|
||
<param name="source">A sequence of <see cref="T:System.SByte" /> values that are used to calculate the product.</param>
|
||
<returns>The product the values in the sequence.</returns>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception>
|
||
</member>
|
||
<member name="M:X10D.Linq.ByteExtensions.Product``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.Byte})">
|
||
<summary>
|
||
Computes the product of a sequence of <see cref="T:System.Byte" /> values that are obtained by invoking a transform function
|
||
on each element of the input sequence.
|
||
</summary>
|
||
<param name="source">A sequence of values that are used to calculate a product.</param>
|
||
<param name="selector">A transform function to apply to each element.</param>
|
||
<typeparam name="TSource">The type of the elements of <paramref name="source" />.</typeparam>
|
||
<returns>The product of the projected values.</returns>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception>
|
||
</member>
|
||
<member name="M:X10D.Linq.ByteExtensions.Product``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.SByte})">
|
||
<summary>
|
||
Computes the product of a sequence of <see cref="T:System.SByte" /> values that are obtained by invoking a transform function
|
||
on each element of the input sequence.
|
||
</summary>
|
||
<param name="source">A sequence of values that are used to calculate a product.</param>
|
||
<param name="selector">A transform function to apply to each element.</param>
|
||
<typeparam name="TSource">The type of the elements of <paramref name="source" />.</typeparam>
|
||
<returns>The product of the projected values.</returns>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception>
|
||
</member>
|
||
<member name="M:X10D.Linq.ByteExtensions.RangeTo(System.Byte,System.Byte)">
|
||
<summary>
|
||
Returns an enumerable sequence of 8-bit integers ranging from the current value to a specified value.
|
||
</summary>
|
||
<param name="value">The starting value of the sequence.</param>
|
||
<param name="end">The ending value of the sequence.</param>
|
||
<returns>
|
||
An enumerable collection of 8-bit integers, ranging from <paramref name="value" /> to <paramref name="end" />.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Linq.ByteExtensions.RangeTo(System.Byte,System.Int16)">
|
||
<summary>
|
||
Returns an enumerable sequence of 16-bit integers ranging from the current value to a specified value.
|
||
</summary>
|
||
<param name="value">The starting value of the sequence.</param>
|
||
<param name="end">The ending value of the sequence.</param>
|
||
<returns>
|
||
An enumerable collection of 16-bit integers, ranging from <paramref name="value" /> to <paramref name="end" />.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Linq.ByteExtensions.RangeTo(System.Byte,System.Int32)">
|
||
<summary>
|
||
Returns an enumerable sequence of 32-bit integers ranging from the current value to a specified value.
|
||
</summary>
|
||
<param name="value">The starting value of the sequence.</param>
|
||
<param name="end">The ending value of the sequence.</param>
|
||
<returns>
|
||
An enumerable collection of 32-bit integers, ranging from <paramref name="value" /> to <paramref name="end" />.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Linq.ByteExtensions.RangeTo(System.Byte,System.Int64)">
|
||
<summary>
|
||
Returns an enumerable sequence of 64-bit integers ranging from the current value to a specified value.
|
||
</summary>
|
||
<param name="value">The starting value of the sequence.</param>
|
||
<param name="end">The ending value of the sequence.</param>
|
||
<returns>
|
||
An enumerable collection of 64-bit integers, ranging from <paramref name="value" /> to <paramref name="end" />.
|
||
</returns>
|
||
</member>
|
||
<member name="T:X10D.Linq.DecimalExtensions">
|
||
<summary>
|
||
LINQ-inspired extension methods for <see cref="T:System.Collections.Generic.IEnumerable`1" /> of <see cref="T:System.Decimal" />.
|
||
</summary>
|
||
</member>
|
||
<member name="M:X10D.Linq.DecimalExtensions.Product(System.Collections.Generic.IEnumerable{System.Decimal})">
|
||
<summary>
|
||
Computes the product of a sequence of <see cref="T:System.Decimal" /> values.
|
||
</summary>
|
||
<param name="source">A sequence of <see cref="T:System.Decimal" /> values that are used to calculate the product.</param>
|
||
<returns>The product the values in the sequence.</returns>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception>
|
||
</member>
|
||
<member name="M:X10D.Linq.DecimalExtensions.Product``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.Decimal})">
|
||
<summary>
|
||
Computes the product of a sequence of <see cref="T:System.Decimal" /> values that are obtained by invoking a transform function
|
||
on each element of the input sequence.
|
||
</summary>
|
||
<param name="source">A sequence of values that are used to calculate a product.</param>
|
||
<param name="selector">A transform function to apply to each element.</param>
|
||
<typeparam name="TSource">The type of the elements of <paramref name="source" />.</typeparam>
|
||
<returns>The product of the projected values.</returns>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception>
|
||
</member>
|
||
<member name="T:X10D.Linq.DoubleExtensions">
|
||
<summary>
|
||
LINQ-inspired extension methods for <see cref="T:System.Collections.Generic.IEnumerable`1" /> of <see cref="T:System.Double" />.
|
||
</summary>
|
||
</member>
|
||
<member name="M:X10D.Linq.DoubleExtensions.Product(System.Collections.Generic.IEnumerable{System.Double})">
|
||
<summary>
|
||
Computes the product of a sequence of <see cref="T:System.Double" /> values.
|
||
</summary>
|
||
<param name="source">A sequence of <see cref="T:System.Double" /> values that are used to calculate the product.</param>
|
||
<returns>The product the values in the sequence.</returns>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception>
|
||
</member>
|
||
<member name="M:X10D.Linq.DoubleExtensions.Product``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.Double})">
|
||
<summary>
|
||
Computes the product of a sequence of <see cref="T:System.Double" /> values that are obtained by invoking a transform function
|
||
on each element of the input sequence.
|
||
</summary>
|
||
<param name="source">A sequence of values that are used to calculate a product.</param>
|
||
<param name="selector">A transform function to apply to each element.</param>
|
||
<typeparam name="TSource">The type of the elements of <paramref name="source" />.</typeparam>
|
||
<returns>The product of the projected values.</returns>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception>
|
||
</member>
|
||
<member name="T:X10D.Linq.Int16Extensions">
|
||
<summary>
|
||
LINQ-inspired extension methods for <see cref="T:System.Collections.Generic.IEnumerable`1" /> of <see cref="T:System.Int64" />.
|
||
</summary>
|
||
</member>
|
||
<member name="M:X10D.Linq.Int16Extensions.Product(System.Collections.Generic.IEnumerable{System.Int16})">
|
||
<summary>
|
||
Computes the product of a sequence of <see cref="T:System.Int16" /> values.
|
||
</summary>
|
||
<param name="source">A sequence of <see cref="T:System.Int16" /> values that are used to calculate the product.</param>
|
||
<returns>The product the values in the sequence.</returns>
|
||
</member>
|
||
<member name="M:X10D.Linq.Int16Extensions.Product(System.Collections.Generic.IEnumerable{System.UInt16})">
|
||
<summary>
|
||
Computes the product of a sequence of <see cref="T:System.UInt16" /> values.
|
||
</summary>
|
||
<param name="source">A sequence of <see cref="T:System.UInt16" /> values that are used to calculate the product.</param>
|
||
<returns>The product the values in the sequence.</returns>
|
||
</member>
|
||
<member name="M:X10D.Linq.Int16Extensions.Product``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.Int16})">
|
||
<summary>
|
||
Computes the product of a sequence of <see cref="T:System.Int16" /> values that are obtained by invoking a transform function
|
||
on each element of the input sequence.
|
||
</summary>
|
||
<param name="source">A sequence of values that are used to calculate a product.</param>
|
||
<param name="selector">A transform function to apply to each element.</param>
|
||
<typeparam name="TSource">The type of the elements of <paramref name="source" />.</typeparam>
|
||
<returns>The product of the projected values.</returns>
|
||
</member>
|
||
<member name="M:X10D.Linq.Int16Extensions.Product``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.UInt16})">
|
||
<summary>
|
||
Computes the product of a sequence of <see cref="T:System.UInt16" /> values that are obtained by invoking a transform function
|
||
on each element of the input sequence.
|
||
</summary>
|
||
<param name="source">A sequence of values that are used to calculate a product.</param>
|
||
<param name="selector">A transform function to apply to each element.</param>
|
||
<typeparam name="TSource">The type of the elements of <paramref name="source" />.</typeparam>
|
||
<returns>The product of the projected values.</returns>
|
||
</member>
|
||
<member name="M:X10D.Linq.Int16Extensions.RangeTo(System.Int16,System.Int16)">
|
||
<summary>
|
||
Returns an enumerable sequence of 16-bit integers ranging from the current value to a specified value.
|
||
</summary>
|
||
<param name="value">The starting value of the sequence.</param>
|
||
<param name="end">The ending value of the sequence.</param>
|
||
<returns>
|
||
An enumerable collection of 16-bit integers, ranging from <paramref name="value" /> to <paramref name="end" />.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Linq.Int16Extensions.RangeTo(System.Int16,System.Int32)">
|
||
<summary>
|
||
Returns an enumerable sequence of 32-bit integers ranging from the current value to a specified value.
|
||
</summary>
|
||
<param name="value">The starting value of the sequence.</param>
|
||
<param name="end">The ending value of the sequence.</param>
|
||
<returns>
|
||
An enumerable collection of 32-bit integers, ranging from <paramref name="value" /> to <paramref name="end" />.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Linq.Int16Extensions.RangeTo(System.Int16,System.Int64)">
|
||
<summary>
|
||
Returns an enumerable sequence of 64-bit integers ranging from the current value to a specified value.
|
||
</summary>
|
||
<param name="value">The starting value of the sequence.</param>
|
||
<param name="end">The ending value of the sequence.</param>
|
||
<returns>
|
||
An enumerable collection of 64-bit integers, ranging from <paramref name="value" /> to <paramref name="end" />.
|
||
</returns>
|
||
</member>
|
||
<member name="T:X10D.Linq.Int32Extensions">
|
||
<summary>
|
||
LINQ-inspired extension methods for <see cref="T:System.Collections.Generic.IEnumerable`1" /> of <see cref="T:System.Int32" />.
|
||
</summary>
|
||
</member>
|
||
<member name="M:X10D.Linq.Int32Extensions.Product(System.Collections.Generic.IEnumerable{System.Int32})">
|
||
<summary>
|
||
Computes the product of a sequence of <see cref="T:System.Int32" /> values.
|
||
</summary>
|
||
<param name="source">A sequence of <see cref="T:System.Int32" /> values that are used to calculate the product.</param>
|
||
<returns>The product the values in the sequence.</returns>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception>
|
||
</member>
|
||
<member name="M:X10D.Linq.Int32Extensions.Product(System.Collections.Generic.IEnumerable{System.UInt32})">
|
||
<summary>
|
||
Computes the product of a sequence of <see cref="T:System.UInt32" /> values.
|
||
</summary>
|
||
<param name="source">A sequence of <see cref="T:System.UInt32" /> values that are used to calculate the product.</param>
|
||
<returns>The product the values in the sequence.</returns>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception>
|
||
</member>
|
||
<member name="M:X10D.Linq.Int32Extensions.Product``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.Int32})">
|
||
<summary>
|
||
Computes the product of a sequence of <see cref="T:System.Int32" /> values that are obtained by invoking a transform function on
|
||
each element of the input sequence.
|
||
</summary>
|
||
<param name="source">A sequence of values that are used to calculate a product.</param>
|
||
<param name="selector">A transform function to apply to each element.</param>
|
||
<typeparam name="TSource">The type of the elements of <paramref name="source" />.</typeparam>
|
||
<returns>The product of the projected values.</returns>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception>
|
||
</member>
|
||
<member name="M:X10D.Linq.Int32Extensions.Product``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.UInt32})">
|
||
<summary>
|
||
Computes the product of a sequence of <see cref="T:System.UInt32" /> values that are obtained by invoking a transform function on
|
||
each element of the input sequence.
|
||
</summary>
|
||
<param name="source">A sequence of values that are used to calculate a product.</param>
|
||
<param name="selector">A transform function to apply to each element.</param>
|
||
<typeparam name="TSource">The type of the elements of <paramref name="source" />.</typeparam>
|
||
<returns>The product of the projected values.</returns>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception>
|
||
</member>
|
||
<member name="M:X10D.Linq.Int32Extensions.RangeTo(System.Int32,System.Int32)">
|
||
<summary>
|
||
Returns an enumerable sequence of 32-bit integers ranging from the current value to a specified value.
|
||
</summary>
|
||
<param name="value">The starting value of the sequence.</param>
|
||
<param name="end">The ending value of the sequence.</param>
|
||
<returns>
|
||
An enumerable collection of 32-bit integers, ranging from <paramref name="value" /> to <paramref name="end" />.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Linq.Int32Extensions.RangeTo(System.Int32,System.Int64)">
|
||
<summary>
|
||
Returns an enumerable sequence of 64-bit integers ranging from the current value to a specified value.
|
||
</summary>
|
||
<param name="value">The starting value of the sequence.</param>
|
||
<param name="end">The ending value of the sequence.</param>
|
||
<returns>
|
||
An enumerable collection of 64-bit integers, ranging from <paramref name="value" /> to <paramref name="end" />.
|
||
</returns>
|
||
</member>
|
||
<member name="T:X10D.Linq.Int64Extensions">
|
||
<summary>
|
||
LINQ-inspired extension methods for <see cref="T:System.Collections.Generic.IEnumerable`1" /> of <see cref="T:System.Int64" />.
|
||
</summary>
|
||
</member>
|
||
<member name="M:X10D.Linq.Int64Extensions.Product(System.Collections.Generic.IEnumerable{System.Int64})">
|
||
<summary>
|
||
Computes the product of a sequence of <see cref="T:System.Int64" /> values.
|
||
</summary>
|
||
<param name="source">A sequence of <see cref="T:System.Int64" /> values that are used to calculate the product.</param>
|
||
<returns>The product the values in the sequence.</returns>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception>
|
||
</member>
|
||
<member name="M:X10D.Linq.Int64Extensions.Product(System.Collections.Generic.IEnumerable{System.UInt64})">
|
||
<summary>
|
||
Computes the product of a sequence of <see cref="T:System.UInt64" /> values.
|
||
</summary>
|
||
<param name="source">A sequence of <see cref="T:System.UInt64" /> values that are used to calculate the product.</param>
|
||
<returns>The product the values in the sequence.</returns>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception>
|
||
</member>
|
||
<member name="M:X10D.Linq.Int64Extensions.Product``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.Int64})">
|
||
<summary>
|
||
Computes the product of a sequence of <see cref="T:System.Int64" /> values that are obtained by invoking a transform function on
|
||
each element of the input sequence.
|
||
</summary>
|
||
<param name="source">A sequence of values that are used to calculate a product.</param>
|
||
<param name="selector">A transform function to apply to each element.</param>
|
||
<typeparam name="TSource">The type of the elements of <paramref name="source" />.</typeparam>
|
||
<returns>The product of the projected values.</returns>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception>
|
||
</member>
|
||
<member name="M:X10D.Linq.Int64Extensions.Product``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.UInt64})">
|
||
<summary>
|
||
Computes the product of a sequence of <see cref="T:System.UInt64" /> values that are obtained by invoking a transform function
|
||
on each element of the input sequence.
|
||
</summary>
|
||
<param name="source">A sequence of values that are used to calculate a product.</param>
|
||
<param name="selector">A transform function to apply to each element.</param>
|
||
<typeparam name="TSource">The type of the elements of <paramref name="source" />.</typeparam>
|
||
<returns>The product of the projected values.</returns>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception>
|
||
</member>
|
||
<member name="M:X10D.Linq.Int64Extensions.RangeTo(System.Int64,System.Int64)">
|
||
<summary>
|
||
Returns an enumerable sequence of 64-bit integers ranging from the current value to a specified value.
|
||
</summary>
|
||
<param name="value">The starting value of the sequence.</param>
|
||
<param name="end">The ending value of the sequence.</param>
|
||
<returns>
|
||
An enumerable collection of 64-bit integers, ranging from <paramref name="value" /> to <paramref name="end" />.
|
||
</returns>
|
||
</member>
|
||
<member name="T:X10D.Linq.ReadOnlySpanExtensions">
|
||
<summary>
|
||
Extension methods for <see cref="T:System.ReadOnlySpan`1" />.
|
||
</summary>
|
||
</member>
|
||
<member name="M:X10D.Linq.ReadOnlySpanExtensions.All``1(System.ReadOnlySpan{``0},System.Predicate{``0})">
|
||
<summary>
|
||
Determines whether all elements of a read-only span satisfy a condition.
|
||
</summary>
|
||
<param name="source">A <see cref="T:System.ReadOnlySpan`1" /> that contains the elements to apply the predicate to.</param>
|
||
<param name="predicate">A function to test each element for a condition.</param>
|
||
<typeparam name="TSource">The type of the elements of <paramref name="source" />.</typeparam>
|
||
<returns>
|
||
<see langword="true" /> if every element of the source sequence passes the test in the specified predicate, or if the
|
||
span is empty; otherwise, <see langword="false" />.
|
||
</returns>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="predicate" /> is <see langword="null" />.</exception>
|
||
</member>
|
||
<member name="M:X10D.Linq.ReadOnlySpanExtensions.Any``1(System.ReadOnlySpan{``0},System.Predicate{``0})">
|
||
<summary>
|
||
Determines whether any element of a read-only span satisfies a condition.
|
||
</summary>
|
||
<param name="source">A <see cref="T:System.ReadOnlySpan`1" /> that contains the elements to apply the predicate to.</param>
|
||
<param name="predicate">A function to test each element for a condition.</param>
|
||
<typeparam name="TSource">The type of the elements of <paramref name="source" />.</typeparam>
|
||
<returns>
|
||
<see langword="true" /> if the source span is not empty and at least one of its elements passes the test in the
|
||
specified predicate; otherwise, <see langword="false" />.
|
||
</returns>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="predicate" /> is <see langword="null" />.</exception>
|
||
</member>
|
||
<member name="M:X10D.Linq.ReadOnlySpanExtensions.Count``1(System.ReadOnlySpan{``0},System.Predicate{``0})">
|
||
<summary>
|
||
Returns a number that represents how many elements in the specified sequence satisfy a condition.
|
||
</summary>
|
||
<param name="source">A <see cref="T:System.ReadOnlySpan`1" /> that contains elements to be tested and counted.</param>
|
||
<param name="predicate">A function to test each element for a condition.</param>
|
||
<typeparam name="TSource">The type of the elements in <paramref name="source" />.</typeparam>
|
||
<returns>
|
||
A number that represents how many elements in the sequence satisfy the condition in the predicate function.
|
||
</returns>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="predicate" /> is <see langword="null" />.</exception>
|
||
</member>
|
||
<member name="T:X10D.Linq.SingleExtensions">
|
||
<summary>
|
||
LINQ-inspired extension methods for <see cref="T:System.Collections.Generic.IEnumerable`1" /> of <see cref="T:System.Single" />.
|
||
</summary>
|
||
</member>
|
||
<member name="M:X10D.Linq.SingleExtensions.Product(System.Collections.Generic.IEnumerable{System.Single})">
|
||
<summary>
|
||
Computes the product of a sequence of <see cref="T:System.Single" /> values.
|
||
</summary>
|
||
<param name="source">A sequence of <see cref="T:System.Single" /> values that are used to calculate the product.</param>
|
||
<returns>The product the values in the sequence.</returns>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception>
|
||
</member>
|
||
<member name="M:X10D.Linq.SingleExtensions.Product``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.Single})">
|
||
<summary>
|
||
Computes the product of a sequence of <see cref="T:System.Single" /> values that are obtained by invoking a transform function
|
||
on each element of the input sequence.
|
||
</summary>
|
||
<param name="source">A sequence of values that are used to calculate a product.</param>
|
||
<param name="selector">A transform function to apply to each element.</param>
|
||
<typeparam name="TSource">The type of the elements of <paramref name="source" />.</typeparam>
|
||
<returns>The product of the projected values.</returns>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception>
|
||
</member>
|
||
<member name="T:X10D.Linq.SpanExtensions">
|
||
<summary>
|
||
Extension methods for <see cref="T:System.Span`1" />.
|
||
</summary>
|
||
</member>
|
||
<member name="M:X10D.Linq.SpanExtensions.All``1(System.Span{``0},System.Predicate{``0})">
|
||
<summary>
|
||
Determines whether all elements of a span satisfy a condition.
|
||
</summary>
|
||
<param name="source">A <see cref="T:System.Span`1" /> that contains the elements to apply the predicate to.</param>
|
||
<param name="predicate">A function to test each element for a condition.</param>
|
||
<typeparam name="TSource">The type of the elements of <paramref name="source" />.</typeparam>
|
||
<returns>
|
||
<see langword="true" /> if every element of the source sequence passes the test in the specified predicate, or if the
|
||
span is empty; otherwise, <see langword="false" />.
|
||
</returns>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="predicate" /> is <see langword="null" />.</exception>
|
||
</member>
|
||
<member name="M:X10D.Linq.SpanExtensions.Any``1(System.Span{``0},System.Predicate{``0})">
|
||
<summary>
|
||
Determines whether any element of a span satisfies a condition.
|
||
</summary>
|
||
<param name="source">A <see cref="T:System.Span`1" /> that contains the elements to apply the predicate to.</param>
|
||
<param name="predicate">A function to test each element for a condition.</param>
|
||
<typeparam name="TSource">The type of the elements of <paramref name="source" />.</typeparam>
|
||
<returns>
|
||
<see langword="true" /> if the source span is not empty and at least one of its elements passes the test in the
|
||
specified predicate; otherwise, <see langword="false" />.
|
||
</returns>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="predicate" /> is <see langword="null" />.</exception>
|
||
</member>
|
||
<member name="M:X10D.Linq.SpanExtensions.Count``1(System.Span{``0},System.Predicate{``0})">
|
||
<summary>
|
||
Returns a number that represents how many elements in the specified sequence satisfy a condition.
|
||
</summary>
|
||
<param name="source">A <see cref="T:System.Span`1" /> that contains elements to be tested and counted.</param>
|
||
<param name="predicate">A function to test each element for a condition.</param>
|
||
<typeparam name="TSource">The type of the elements in <paramref name="source" />.</typeparam>
|
||
<returns>
|
||
A number that represents how many elements in the sequence satisfy the condition in the predicate function.
|
||
</returns>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="predicate" /> is <see langword="null" />.</exception>
|
||
</member>
|
||
<member name="T:X10D.Math.ByteExtensions">
|
||
<summary>
|
||
Math-related extension methods for <see cref="T:System.Byte" />.
|
||
</summary>
|
||
</member>
|
||
<member name="M:X10D.Math.ByteExtensions.DigitalRoot(System.Byte)">
|
||
<summary>
|
||
Computes the digital root of this 16-bit integer.
|
||
</summary>
|
||
<param name="value">The value whose digital root to compute.</param>
|
||
<returns>The digital root of <paramref name="value" />.</returns>
|
||
<remarks>The digital root is defined as the recursive sum of digits until that result is a single digit.</remarks>
|
||
<remarks>
|
||
<para>The digital root is defined as the recursive sum of digits until that result is a single digit.</para>
|
||
<para>For example, the digital root of 239 is 5: <c>2 + 3 + 9 = 14</c>, then <c>1 + 4 = 5</c>.</para>
|
||
</remarks>
|
||
</member>
|
||
<member name="M:X10D.Math.ByteExtensions.Factorial(System.Byte)">
|
||
<summary>
|
||
Returns the factorial of the current 8-bit unsigned integer.
|
||
</summary>
|
||
<param name="value">The value whose factorial to compute.</param>
|
||
<returns>The factorial of <paramref name="value" />.</returns>
|
||
</member>
|
||
<member name="M:X10D.Math.ByteExtensions.IsEven(System.Byte)">
|
||
<summary>
|
||
Returns a value indicating whether the current value is evenly divisible by 2.
|
||
</summary>
|
||
<param name="value">The value whose parity to check.</param>
|
||
<returns>
|
||
<see langword="true" /> if <paramref name="value" /> is evenly divisible by 2, or <see langword="false" />
|
||
otherwise.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Math.ByteExtensions.IsOdd(System.Byte)">
|
||
<summary>
|
||
Returns a value indicating whether the current value is not evenly divisible by 2.
|
||
</summary>
|
||
<param name="value">The value whose parity to check.</param>
|
||
<returns>
|
||
<see langword="true" /> if <paramref name="value" /> is not evenly divisible by 2, or <see langword="false" />
|
||
otherwise.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Math.ByteExtensions.IsPrime(System.Byte)">
|
||
<summary>
|
||
Returns a value indicating whether the current value is a prime number.
|
||
</summary>
|
||
<param name="value">The value whose primality to check.</param>
|
||
<returns>
|
||
<see langword="true" /> if <paramref name="value" /> is prime; otherwise, <see langword="false" />.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Math.ByteExtensions.MultiplicativePersistence(System.Byte)">
|
||
<summary>
|
||
Returns the multiplicative persistence of a specified value.
|
||
</summary>
|
||
<param name="value">The value whose multiplicative persistence to calculate.</param>
|
||
<returns>The multiplicative persistence.</returns>
|
||
<remarks>
|
||
Multiplicative persistence is defined as the recursive digital product until that product is a single digit.
|
||
</remarks>
|
||
</member>
|
||
<member name="T:X10D.Math.ComparableExtensions">
|
||
<summary>
|
||
Extension methods for <see cref="T:System.IComparable`1" />.
|
||
</summary>
|
||
</member>
|
||
<member name="M:X10D.Math.ComparableExtensions.Between``3(``0,``1,``2,X10D.Math.InclusiveOptions)">
|
||
<summary>
|
||
Determines if a specified value falls exclusively between a specified lower bound and upper bound.
|
||
</summary>
|
||
<typeparam name="T1">An <see cref="T:System.IComparable`1" /> type.</typeparam>
|
||
<typeparam name="T2">The first comparison operand type.</typeparam>
|
||
<typeparam name="T3">The second comparison operand type.</typeparam>
|
||
<param name="value">The value to compare.</param>
|
||
<param name="lower">The exclusive lower bound.</param>
|
||
<param name="upper">The exclusive upper bound.</param>
|
||
<param name="inclusiveOptions">The comparison clusivity.</param>
|
||
<returns>
|
||
<see langword="true" /> if <paramref name="value" /> is between the <paramref name="lower" /> and
|
||
<paramref name="upper" />
|
||
-or-
|
||
<see langword="false" /> otherwise.
|
||
</returns>
|
||
<example>
|
||
<code lang="csharp">
|
||
int firstValue = 42;
|
||
int secondValue = 15;
|
||
|
||
int lower = 0;
|
||
int upper = 20;
|
||
|
||
Console.WriteLine($"{firstValue} between {lower} and {upper}?");
|
||
Console.WriteLine(firstValue.Between(lower, upper));
|
||
|
||
Console.WriteLine($"{secondValue} between {lower} and {upper}?");
|
||
Console.WriteLine(secondValue.Between(lower, upper));
|
||
|
||
// This will output the following:
|
||
// 42 between 0 and 20?
|
||
// False
|
||
// 15 between 0 and 20?
|
||
// True
|
||
</code>
|
||
</example>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="value" /> is <see langword="null" />.</exception>
|
||
</member>
|
||
<member name="M:X10D.Math.ComparableExtensions.Clamp``1(``0,``0,``0)">
|
||
<summary>
|
||
Returns the current value clamped to the inclusive range of <paramref name="lower" /> and <paramref name="upper" />.
|
||
</summary>
|
||
<param name="value">The value to be clamped.</param>
|
||
<param name="lower">The lower bound of the result.</param>
|
||
<param name="upper">The upper bound of the result.</param>
|
||
<typeparam name="T">An <see cref="T:System.IComparable" /> type.</typeparam>
|
||
<returns>
|
||
<paramref name="value" /> if <paramref name="lower" /> ≤ <paramref name="value" /> ≤ <paramref name="upper" />.
|
||
-or-
|
||
<paramref name="lower" /> if <paramref name="value" /> < <paramref name="lower" />.
|
||
-or-
|
||
<paramref name="upper" /> if <paramref name="upper" /> < <paramref name="value" />.
|
||
</returns>
|
||
<exception cref="T:System.ArgumentException"><paramref name="lower" /> is greater than <paramref name="upper" />.</exception>
|
||
<example>
|
||
<code lang="csharp">
|
||
int value = 42;
|
||
int lower = 0;
|
||
int upper = 20;
|
||
|
||
int clamped = value.Clamp(lower, upper);
|
||
// clamped will be 20
|
||
</code>
|
||
</example>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="value" /> is <see langword="null" />.</exception>
|
||
</member>
|
||
<member name="M:X10D.Math.ComparableExtensions.GreaterThan``2(``0,``1)">
|
||
<summary>
|
||
Determines if the current value is greater than another value.
|
||
</summary>
|
||
<param name="value">The first value.</param>
|
||
<param name="other">The second value.</param>
|
||
<typeparam name="T1">An <see cref="T:System.IComparable`1" /> type.</typeparam>
|
||
<typeparam name="T2">The comparison operand type.</typeparam>
|
||
<returns>
|
||
<see langword="true" /> if <paramref name="value" /> is greater than <paramref name="other" />
|
||
-or-
|
||
<see langword="false" /> otherwise.
|
||
</returns>
|
||
<example>
|
||
<code lang="csharp">
|
||
int first = 5;
|
||
int second = 10;
|
||
|
||
bool result = first.GreaterThan(second);
|
||
// result will be False
|
||
</code>
|
||
</example>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="value" /> is <see langword="null" />.</exception>
|
||
</member>
|
||
<member name="M:X10D.Math.ComparableExtensions.GreaterThanOrEqualTo``2(``0,``1)">
|
||
<summary>
|
||
Determines if the current value is greater than or equal to another value.
|
||
</summary>
|
||
<param name="value">The first value.</param>
|
||
<param name="other">The second value.</param>
|
||
<typeparam name="T1">An <see cref="T:System.IComparable`1" /> type.</typeparam>
|
||
<typeparam name="T2">The comparison operand type.</typeparam>
|
||
<returns>
|
||
<see langword="true" /> if <paramref name="value" /> is greater than or equal to <paramref name="other" />
|
||
-or-
|
||
<see langword="false" /> otherwise.
|
||
</returns>
|
||
<example>
|
||
<code lang="csharp">
|
||
int first = 5;
|
||
int second = 10;
|
||
|
||
bool result = first.GreaterThanOrEqualTo(second);
|
||
// result will be False
|
||
</code>
|
||
</example>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="value" /> is <see langword="null" />.</exception>
|
||
</member>
|
||
<member name="M:X10D.Math.ComparableExtensions.LessThan``2(``0,``1)">
|
||
<summary>
|
||
Determines if the current value is less than another value.
|
||
</summary>
|
||
<param name="value">The first value.</param>
|
||
<param name="other">The second value.</param>
|
||
<typeparam name="T1">An <see cref="T:System.IComparable`1" /> type.</typeparam>
|
||
<typeparam name="T2">The comparison operand type.</typeparam>
|
||
<returns>
|
||
<see langword="true" /> if <paramref name="value" /> is less than <paramref name="other" />
|
||
-or-
|
||
<see langword="false" /> otherwise.
|
||
</returns>
|
||
<example>
|
||
<code lang="csharp">
|
||
int first = 5;
|
||
int second = 10;
|
||
|
||
bool result = first.LessThan(second);
|
||
// result will be True
|
||
</code>
|
||
</example>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="value" /> is <see langword="null" />.</exception>
|
||
</member>
|
||
<member name="M:X10D.Math.ComparableExtensions.LessThanOrEqualTo``2(``0,``1)">
|
||
<summary>
|
||
Determines if the current value is less than or equal to another value.
|
||
</summary>
|
||
<param name="value">The first value.</param>
|
||
<param name="other">The second value.</param>
|
||
<typeparam name="T1">An <see cref="T:System.IComparable`1" /> type.</typeparam>
|
||
<typeparam name="T2">The comparison operand type.</typeparam>
|
||
<returns>
|
||
<see langword="true" /> if <paramref name="value" /> is less than or equal to <paramref name="other" />
|
||
-or-
|
||
<see langword="false" /> otherwise.
|
||
</returns>
|
||
<example>
|
||
<code lang="csharp">
|
||
int first = 5;
|
||
int second = 10;
|
||
|
||
bool result = first.LessThanOrEqualTo(second);
|
||
// result will be True
|
||
</code>
|
||
</example>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="value" /> is <see langword="null" />.</exception>
|
||
</member>
|
||
<member name="M:X10D.Math.ComparableExtensions.Max``1(``0,``0)">
|
||
<summary>
|
||
Returns the maximum of two values.
|
||
</summary>
|
||
<param name="value">The first value.</param>
|
||
<param name="other">The second value.</param>
|
||
<typeparam name="T">A type which implements <see cref="T:System.IComparable`1" />.</typeparam>
|
||
<returns>
|
||
<paramref name="value" /> if <paramref name="value" /> is greater than <paramref name="other" />
|
||
-or-
|
||
<paramref name="other" /> otherwise.
|
||
</returns>
|
||
<example>
|
||
<code lang="csharp">
|
||
int first = 5;
|
||
int second = 10;
|
||
|
||
int max = first.Max(second);
|
||
// max will be 10
|
||
</code>
|
||
</example>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="value" /> is <see langword="null" />.</exception>
|
||
</member>
|
||
<member name="M:X10D.Math.ComparableExtensions.Min``1(``0,``0)">
|
||
<summary>
|
||
Returns the minimum of two values.
|
||
</summary>
|
||
<param name="value">The first value.</param>
|
||
<param name="other">The second value.</param>
|
||
<typeparam name="T">A type which implements <see cref="T:System.IComparable`1" />.</typeparam>
|
||
<returns>
|
||
<paramref name="value" /> if <paramref name="value" /> is less than <paramref name="other" />
|
||
-or-
|
||
<paramref name="other" /> otherwise.
|
||
</returns>
|
||
<example>
|
||
<code lang="csharp">
|
||
int first = 5;
|
||
int second = 10;
|
||
|
||
int min = first.Min(second);
|
||
// min will be 5
|
||
</code>
|
||
</example>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="value" /> is <see langword="null" />.</exception>
|
||
</member>
|
||
<member name="T:X10D.Math.DecimalExtensions">
|
||
<summary>
|
||
Extension methods for <see cref="T:System.Decimal" />.
|
||
</summary>
|
||
</member>
|
||
<member name="M:X10D.Math.DecimalExtensions.IsEven(System.Decimal)">
|
||
<summary>
|
||
Returns a value indicating whether the current value is evenly divisible by 2.
|
||
</summary>
|
||
<param name="value">The value whose parity to check.</param>
|
||
<returns>
|
||
<see langword="true" /> if <paramref name="value" /> is evenly divisible by 2, or <see langword="false" />
|
||
otherwise.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Math.DecimalExtensions.IsOdd(System.Decimal)">
|
||
<summary>
|
||
Returns a value indicating whether the current value is not evenly divisible by 2.
|
||
</summary>
|
||
<param name="value">The value whose parity to check.</param>
|
||
<returns>
|
||
<see langword="true" /> if <paramref name="value" /> is not evenly divisible by 2, or <see langword="false" />
|
||
otherwise.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Math.DecimalExtensions.Round(System.Decimal)">
|
||
<summary>
|
||
Rounds the current value to the nearest whole number.
|
||
</summary>
|
||
<param name="value">The value to round.</param>
|
||
<returns><paramref name="value" /> rounded to the nearest whole number.</returns>
|
||
</member>
|
||
<member name="M:X10D.Math.DecimalExtensions.Round(System.Decimal,System.Decimal)">
|
||
<summary>
|
||
Rounds the current value to the nearest multiple of a specified number.
|
||
</summary>
|
||
<param name="value">The value to round.</param>
|
||
<param name="nearest">The nearest multiple to which <paramref name="value" /> should be rounded.</param>
|
||
<returns><paramref name="value" /> rounded to the nearest multiple of <paramref name="nearest" />.</returns>
|
||
</member>
|
||
<member name="M:X10D.Math.DecimalExtensions.Sign(System.Decimal)">
|
||
<summary>
|
||
Returns an integer that indicates the sign of this decimal number.
|
||
</summary>
|
||
<param name="value">A signed number.</param>
|
||
<returns>
|
||
A number that indicates the sign of <paramref name="value" />, as shown in the following table.
|
||
|
||
<list type="table">
|
||
<listheader>
|
||
<term>Return value</term>
|
||
<description>Meaning</description>
|
||
</listheader>
|
||
|
||
<item>
|
||
<term>-1</term>
|
||
<description><paramref name="value" /> is less than zero.</description>
|
||
</item>
|
||
<item>
|
||
<term>0</term>
|
||
<description><paramref name="value" /> is equal to zero.</description>
|
||
</item>
|
||
<item>
|
||
<term>1</term>
|
||
<description><paramref name="value" /> is greater than zero.</description>
|
||
</item>
|
||
</list>
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Math.DecimalExtensions.Sqrt(System.Decimal)">
|
||
<summary>
|
||
Returns the square root of this double-precision floating-point number.
|
||
</summary>
|
||
<param name="value">The number whose square root is to be found.</param>
|
||
<returns>
|
||
One of the values in the following table.
|
||
|
||
<list type="table">
|
||
<listheader>
|
||
<term>Return value</term>
|
||
<description>Meaning</description>
|
||
</listheader>
|
||
|
||
<item>
|
||
<term>The positive square root of <paramref name="value" />.</term>
|
||
<description><paramref name="value" /> is greater than or equal to 0.</description>
|
||
</item>
|
||
<item>
|
||
<term><see cref="F:System.Double.NaN" /></term>
|
||
<description><paramref name="value" /> is equal to <see cref="F:System.Double.NaN" /> or is negative.</description>
|
||
</item>
|
||
<item>
|
||
<term><see cref="F:System.Double.PositiveInfinity" /></term>
|
||
<description><paramref name="value" /> is equal to <see cref="F:System.Double.PositiveInfinity" />.</description>
|
||
</item>
|
||
</list>
|
||
</returns>
|
||
<exception cref="T:System.ArgumentException"><paramref name="value" /> is negative.</exception>
|
||
</member>
|
||
<member name="T:X10D.Math.DoubleExtensions">
|
||
<summary>
|
||
Mathematical extension methods.
|
||
</summary>
|
||
</member>
|
||
<member name="M:X10D.Math.DoubleExtensions.Acos(System.Double)">
|
||
<summary>
|
||
Returns the arccosine of the specified value.
|
||
</summary>
|
||
<param name="value">
|
||
The value representing a cosine, which must be greater than or equal to -1, but less than or equal to 1.
|
||
</param>
|
||
<returns>
|
||
The arccosine of <paramref name="value" />, θ, measured in radians; such that 0 ≤ θ ≤ π. If <paramref name="value" />
|
||
is equal to <see cref="F:System.Double.NaN" />, less than -1, or greater than 1, <see cref="F:System.Double.NaN" /> is returned.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Math.DoubleExtensions.Acosh(System.Double)">
|
||
<summary>
|
||
Returns the hyperbolic arccosine of the specified value.
|
||
</summary>
|
||
<param name="value">
|
||
The value representing a hyperbolic cosine, which must be greater than or equal to 1, but less than or equal to
|
||
<see cref="F:System.Double.PositiveInfinity" />.
|
||
</param>
|
||
<returns>
|
||
The hyperbolic arccosine of <paramref name="value" />, θ, measured in radians; such that 0 ≤ θ ≤ ∞. If
|
||
<paramref name="value" /> is less than 1 or equal to <see cref="F:System.Double.NaN" />, <see cref="F:System.Double.NaN" /> is returned.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Math.DoubleExtensions.Asin(System.Double)">
|
||
<summary>
|
||
Returns the arcsine of the specified value.
|
||
</summary>
|
||
<param name="value">
|
||
The value representing a sine, which must be greater than or equal to -1, but less than or equal to 1.
|
||
</param>
|
||
<returns>
|
||
The arccosine of <paramref name="value" />, θ, measured in radians; such that π/2 ≤ θ ≤ π/2. If
|
||
<paramref name="value" /> is equal to <see cref="F:System.Double.NaN" />, less than -1, or greater than 1,
|
||
<see cref="F:System.Double.NaN" /> is returned.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Math.DoubleExtensions.Asinh(System.Double)">
|
||
<summary>
|
||
Returns the hyperbolic arcsine of the specified value.
|
||
</summary>
|
||
<param name="value">
|
||
The value representing a hyperbolic sine, which must be greater than or equal to 1, but less than or equal to
|
||
<see cref="F:System.Double.PositiveInfinity" />.
|
||
</param>
|
||
<returns>
|
||
The hyperbolic arccosine of <paramref name="value" />, measured in radians. If <paramref name="value" /> is equal to
|
||
<see cref="F:System.Double.NaN" />, <see cref="F:System.Double.NaN" /> is returned.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Math.DoubleExtensions.Atan(System.Double)">
|
||
<summary>
|
||
Returns the arctangent of the specified value.
|
||
</summary>
|
||
<param name="value">
|
||
The value representing a tangent, which must be greater than or equal to -1, but less than or equal to 1.
|
||
</param>
|
||
<returns>
|
||
The arctangent of <paramref name="value" />, θ, measured in radians; such that π/2 ≤ θ ≤ π/2. If
|
||
<paramref name="value" /> is equal to <see cref="F:System.Double.NaN" />, <see cref="F:System.Double.NaN" /> is returned.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Math.DoubleExtensions.Atanh(System.Double)">
|
||
<summary>
|
||
Returns the hyperbolic arctangent of the specified value.
|
||
</summary>
|
||
<param name="value">
|
||
The value representing a hyperbolic tangent, which must be greater than or equal to 1, but less than or equal to
|
||
<see cref="F:System.Double.PositiveInfinity" />.
|
||
</param>
|
||
<returns>
|
||
The hyperbolic arctangent of <paramref name="value" />, θ, measured in radians; such that -∞ < θ < -1, or 1 <
|
||
θ < ∞. If <paramref name="value" /> is equal to <see cref="F:System.Double.NaN" />, less than -1, or greater than 1,
|
||
<see cref="F:System.Double.NaN" /> is returned.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Math.DoubleExtensions.Cos(System.Double)">
|
||
<summary>
|
||
Returns the cosine of the specified angle.
|
||
</summary>
|
||
<param name="value">The angle, measured in radians.</param>
|
||
<returns>
|
||
The cosine of <paramref name="value" />. If <paramref name="value" /> is equal to <see cref="F:System.Double.NaN" />,
|
||
<see cref="F:System.Double.NegativeInfinity" />, or <see cref="F:System.Double.PositiveInfinity" />, this method returns
|
||
<see cref="F:System.Double.NaN" />.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Math.DoubleExtensions.Cosh(System.Double)">
|
||
<summary>
|
||
Returns the hyperbolic cosine of the specified angle.
|
||
</summary>
|
||
<param name="value">The angle, measured in radians.</param>
|
||
<returns>
|
||
The hyperbolic cosine of <paramref name="value" />. If <paramref name="value" /> is equal to
|
||
<see cref="F:System.Double.NegativeInfinity" /> or <see cref="F:System.Double.PositiveInfinity" />,
|
||
<see cref="F:System.Double.PositiveInfinity" /> is returned. If <paramref name="value" /> is equal to
|
||
<see cref="F:System.Double.NaN" />, <see cref="F:System.Double.NaN" /> is returned.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Math.DoubleExtensions.DegreesToRadians(System.Double)">
|
||
<summary>
|
||
Converts the current angle in degrees to its equivalent represented in radians.
|
||
</summary>
|
||
<param name="value">The angle in degrees to convert.</param>
|
||
<returns>The result of π * <paramref name="value" /> / 180.</returns>
|
||
</member>
|
||
<member name="M:X10D.Math.DoubleExtensions.IsEven(System.Double)">
|
||
<summary>
|
||
Returns a value indicating whether the current value is evenly divisible by 2.
|
||
</summary>
|
||
<param name="value">The value whose parity to check.</param>
|
||
<returns>
|
||
<see langword="true" /> if <paramref name="value" /> is evenly divisible by 2, or <see langword="false" />
|
||
otherwise.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Math.DoubleExtensions.IsOdd(System.Double)">
|
||
<summary>
|
||
Returns a value indicating whether the current value is not evenly divisible by 2.
|
||
</summary>
|
||
<param name="value">The value whose parity to check.</param>
|
||
<returns>
|
||
<see langword="true" /> if <paramref name="value" /> is not evenly divisible by 2, or <see langword="false" />
|
||
otherwise.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Math.DoubleExtensions.RadiansToDegrees(System.Double)">
|
||
<summary>
|
||
Converts the current angle in radians to its equivalent represented in degrees.
|
||
</summary>
|
||
<param name="value">The angle in radians to convert.</param>
|
||
<returns>The result of π * <paramref name="value" /> / 180.</returns>
|
||
</member>
|
||
<member name="M:X10D.Math.DoubleExtensions.Round(System.Double)">
|
||
<summary>
|
||
Rounds the current value to the nearest whole number.
|
||
</summary>
|
||
<param name="value">The value to round.</param>
|
||
<returns><paramref name="value" /> rounded to the nearest whole number.</returns>
|
||
</member>
|
||
<member name="M:X10D.Math.DoubleExtensions.Round(System.Double,System.Double)">
|
||
<summary>
|
||
Rounds the current value to the nearest multiple of a specified number.
|
||
</summary>
|
||
<param name="value">The value to round.</param>
|
||
<param name="nearest">The nearest multiple to which <paramref name="value" /> should be rounded.</param>
|
||
<returns><paramref name="value" /> rounded to the nearest multiple of <paramref name="nearest" />.</returns>
|
||
</member>
|
||
<member name="M:X10D.Math.DoubleExtensions.Sin(System.Double)">
|
||
<summary>
|
||
Returns the sine of the specified angle.
|
||
</summary>
|
||
<param name="value">The angle, in radians.</param>
|
||
<returns>
|
||
The sine of <paramref name="value" />. If <paramref name="value" /> is equal to <see cref="F:System.Double.NaN" />,
|
||
<see cref="F:System.Double.NegativeInfinity" />, or <see cref="F:System.Double.PositiveInfinity" />, this method returns
|
||
<see cref="F:System.Double.NaN" />.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Math.DoubleExtensions.Sinh(System.Double)">
|
||
<summary>
|
||
Returns the hyperbolic sine of the specified angle.
|
||
</summary>
|
||
<param name="value">The angle, in radians.</param>
|
||
<returns>
|
||
The hyperbolic sine of <paramref name="value" />. If <paramref name="value" /> is equal to <see cref="F:System.Double.NaN" />,
|
||
<see cref="F:System.Double.NegativeInfinity" />, or <see cref="F:System.Double.PositiveInfinity" />, this method returns
|
||
<see cref="F:System.Double.NaN" />.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Math.DoubleExtensions.Sign(System.Double)">
|
||
<summary>
|
||
Returns an integer that indicates the sign of this double-precision floating-point number.
|
||
</summary>
|
||
<param name="value">A signed number.</param>
|
||
<returns>
|
||
A number that indicates the sign of <paramref name="value" />, as shown in the following table.
|
||
|
||
<list type="table">
|
||
<listheader>
|
||
<term>Return value</term>
|
||
<description>Meaning</description>
|
||
</listheader>
|
||
|
||
<item>
|
||
<term>-1</term>
|
||
<description><paramref name="value" /> is less than zero.</description>
|
||
</item>
|
||
<item>
|
||
<term>0</term>
|
||
<description><paramref name="value" /> is equal to zero.</description>
|
||
</item>
|
||
<item>
|
||
<term>1</term>
|
||
<description><paramref name="value" /> is greater than zero.</description>
|
||
</item>
|
||
</list>
|
||
</returns>
|
||
<exception cref="T:System.ArithmeticException"><paramref name="value" /> is equal to <see cref="F:System.Double.NaN" />.</exception>
|
||
</member>
|
||
<member name="M:X10D.Math.DoubleExtensions.Sqrt(System.Double)">
|
||
<summary>
|
||
Returns the square root of this double-precision floating-point number.
|
||
</summary>
|
||
<param name="value">The number whose square root is to be found.</param>
|
||
<returns>
|
||
One of the values in the following table.
|
||
|
||
<list type="table">
|
||
<listheader>
|
||
<term>Return value</term>
|
||
<description>Meaning</description>
|
||
</listheader>
|
||
|
||
<item>
|
||
<term>The positive square root of <paramref name="value" />.</term>
|
||
<description><paramref name="value" /> is greater than or equal to 0.</description>
|
||
</item>
|
||
<item>
|
||
<term><see cref="F:System.Double.NaN" /></term>
|
||
<description><paramref name="value" /> is equal to <see cref="F:System.Double.NaN" /> or is negative.</description>
|
||
</item>
|
||
<item>
|
||
<term><see cref="F:System.Double.PositiveInfinity" /></term>
|
||
<description><paramref name="value" /> is equal to <see cref="F:System.Double.PositiveInfinity" />.</description>
|
||
</item>
|
||
</list>
|
||
</returns>
|
||
<author>SLenik https://stackoverflow.com/a/6755197/1467293</author>
|
||
<license>CC BY-SA 3.0</license>
|
||
</member>
|
||
<member name="M:X10D.Math.DoubleExtensions.Tan(System.Double)">
|
||
<summary>
|
||
Returns the tangent of the specified angle.
|
||
</summary>
|
||
<param name="value">The angle, measured in radians.</param>
|
||
<returns>
|
||
The tangent of <paramref name="value" />. If <paramref name="value" /> is equal to <see cref="F:System.Double.NaN" />,
|
||
<see cref="F:System.Double.NegativeInfinity" />, or <see cref="F:System.Double.PositiveInfinity" />, this method returns
|
||
<see cref="F:System.Double.NaN" />.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Math.DoubleExtensions.Tanh(System.Double)">
|
||
<summary>
|
||
Returns the hyperbolic tangent of the specified angle.
|
||
</summary>
|
||
<param name="value">The angle, measured in radians.</param>
|
||
<returns>
|
||
The hyperbolic tangent of <paramref name="value" />. If <paramref name="value" /> is equal to
|
||
<see cref="F:System.Double.NegativeInfinity" />, this method returns -1. If <paramref name="value" /> is equal to
|
||
<see cref="F:System.Double.PositiveInfinity" />, this method returns 1. If <paramref name="value" /> is equal to
|
||
<see cref="F:System.Double.NaN" />, this method returns <see cref="F:System.Double.NaN" />.
|
||
</returns>
|
||
</member>
|
||
<member name="T:X10D.Math.InclusiveOptions">
|
||
<summary>
|
||
Provides options for <see cref="M:X10D.Math.ComparableExtensions.Between``3(``0,``1,``2,X10D.Math.InclusiveOptions)" /> clusivity.
|
||
</summary>
|
||
</member>
|
||
<member name="F:X10D.Math.InclusiveOptions.None">
|
||
<summary>
|
||
Indicates that the comparison will be exclusive.
|
||
</summary>
|
||
</member>
|
||
<member name="F:X10D.Math.InclusiveOptions.UpperInclusive">
|
||
<summary>
|
||
Indicates that the comparison will treat the upper bound as exclusive.
|
||
</summary>
|
||
</member>
|
||
<member name="F:X10D.Math.InclusiveOptions.LowerInclusive">
|
||
<summary>
|
||
Indicates that the comparison will treat the lower bound as exclusive.
|
||
</summary>
|
||
</member>
|
||
<member name="F:X10D.Math.InclusiveOptions.Inclusive">
|
||
<summary>
|
||
Indicates that the comparison will treat both the upper and lower bound as exclusive.
|
||
</summary>
|
||
</member>
|
||
<member name="T:X10D.Math.Int16Extensions">
|
||
<summary>
|
||
Extension methods for <see cref="T:System.Int16" />.
|
||
</summary>
|
||
</member>
|
||
<member name="M:X10D.Math.Int16Extensions.DigitalRoot(System.Int16)">
|
||
<summary>
|
||
Computes the digital root of this 16-bit integer.
|
||
</summary>
|
||
<param name="value">The value whose digital root to compute.</param>
|
||
<returns>The digital root of <paramref name="value" />.</returns>
|
||
<remarks>
|
||
<para>The digital root is defined as the recursive sum of digits until that result is a single digit.</para>
|
||
<para>For example, the digital root of 239 is 5: <c>2 + 3 + 9 = 14</c>, then <c>1 + 4 = 5</c>.</para>
|
||
</remarks>
|
||
</member>
|
||
<member name="M:X10D.Math.Int16Extensions.Factorial(System.Int16)">
|
||
<summary>
|
||
Returns the factorial of the current 16-bit signed integer.
|
||
</summary>
|
||
<param name="value">The value whose factorial to compute.</param>
|
||
<returns>The factorial of <paramref name="value" />.</returns>
|
||
<exception cref="T:System.ArithmeticException"><paramref name="value" /> is less than 0.</exception>
|
||
</member>
|
||
<member name="M:X10D.Math.Int16Extensions.IsEven(System.Int16)">
|
||
<summary>
|
||
Returns a value indicating whether the current value is evenly divisible by 2.
|
||
</summary>
|
||
<param name="value">The value whose parity to check.</param>
|
||
<returns>
|
||
<see langword="true" /> if <paramref name="value" /> is evenly divisible by 2, or <see langword="false" />
|
||
otherwise.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Math.Int16Extensions.IsOdd(System.Int16)">
|
||
<summary>
|
||
Returns a value indicating whether the current value is not evenly divisible by 2.
|
||
</summary>
|
||
<param name="value">The value whose parity to check.</param>
|
||
<returns>
|
||
<see langword="true" /> if <paramref name="value" /> is not evenly divisible by 2, or <see langword="false" />
|
||
otherwise.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Math.Int16Extensions.IsPrime(System.Int16)">
|
||
<summary>
|
||
Returns a value indicating whether the current value is a prime number.
|
||
</summary>
|
||
<param name="value">The value whose primality to check.</param>
|
||
<returns>
|
||
<see langword="true" /> if <paramref name="value" /> is prime; otherwise, <see langword="false" />.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Math.Int16Extensions.Mod(System.Int16,System.Int16)">
|
||
<summary>
|
||
Performs a modulo operation which supports a negative dividend.
|
||
</summary>
|
||
<param name="dividend">The dividend.</param>
|
||
<param name="divisor">The divisor.</param>
|
||
<returns>The result of <c>dividend mod divisor</c>.</returns>
|
||
<remarks>
|
||
The <c>%</c> operator (commonly called the modulo operator) in C# is not defined to be modulo, but is instead
|
||
remainder. This quirk inherently makes it difficult to use modulo in a negative context, as <c>x % y</c> where x is
|
||
negative will return a negative value, akin to <c>-(x % y)</c>, even if precedence is forced. This method provides a
|
||
modulo operation which supports negative dividends.
|
||
</remarks>
|
||
<author>ShreevatsaR, https://stackoverflow.com/a/1082938/1467293</author>
|
||
<license>CC-BY-SA 2.5</license>
|
||
</member>
|
||
<member name="M:X10D.Math.Int16Extensions.MultiplicativePersistence(System.Int16)">
|
||
<summary>
|
||
Returns the multiplicative persistence of a specified value.
|
||
</summary>
|
||
<param name="value">The value whose multiplicative persistence to calculate.</param>
|
||
<returns>The multiplicative persistence.</returns>
|
||
<remarks>
|
||
Multiplicative persistence is defined as the recursive digital product until that product is a single digit.
|
||
</remarks>
|
||
</member>
|
||
<member name="M:X10D.Math.Int16Extensions.Sign(System.Int16)">
|
||
<summary>
|
||
Returns an integer that indicates the sign of this 16-bit signed integer.
|
||
</summary>
|
||
<param name="value">A signed number.</param>
|
||
<returns>
|
||
A number that indicates the sign of <paramref name="value" />, as shown in the following table.
|
||
|
||
<list type="table">
|
||
<listheader>
|
||
<term>Return value</term>
|
||
<description>Meaning</description>
|
||
</listheader>
|
||
|
||
<item>
|
||
<term>-1</term>
|
||
<description><paramref name="value" /> is less than zero.</description>
|
||
</item>
|
||
<item>
|
||
<term>0</term>
|
||
<description><paramref name="value" /> is equal to zero.</description>
|
||
</item>
|
||
<item>
|
||
<term>1</term>
|
||
<description><paramref name="value" /> is greater than zero.</description>
|
||
</item>
|
||
</list>
|
||
</returns>
|
||
</member>
|
||
<member name="T:X10D.Math.Int32Extensions">
|
||
<summary>
|
||
Extension methods for <see cref="T:System.Int32" />.
|
||
</summary>
|
||
</member>
|
||
<member name="M:X10D.Math.Int32Extensions.DigitalRoot(System.Int32)">
|
||
<summary>
|
||
Computes the digital root of this 32-bit integer.
|
||
</summary>
|
||
<param name="value">The value whose digital root to compute.</param>
|
||
<returns>The digital root of <paramref name="value" />.</returns>
|
||
<remarks>
|
||
<para>The digital root is defined as the recursive sum of digits until that result is a single digit.</para>
|
||
<para>For example, the digital root of 239 is 5: <c>2 + 3 + 9 = 14</c>, then <c>1 + 4 = 5</c>.</para>
|
||
</remarks>
|
||
</member>
|
||
<member name="M:X10D.Math.Int32Extensions.Factorial(System.Int32)">
|
||
<summary>
|
||
Returns the factorial of the current 32-bit signed integer.
|
||
</summary>
|
||
<param name="value">The value whose factorial to compute.</param>
|
||
<returns>The factorial of <paramref name="value" />.</returns>
|
||
<exception cref="T:System.ArithmeticException"><paramref name="value" /> is less than 0.</exception>
|
||
</member>
|
||
<member name="M:X10D.Math.Int32Extensions.IsEven(System.Int32)">
|
||
<summary>
|
||
Returns a value indicating whether the current value is evenly divisible by 2.
|
||
</summary>
|
||
<param name="value">The value whose parity to check.</param>
|
||
<returns>
|
||
<see langword="true" /> if <paramref name="value" /> is evenly divisible by 2, or <see langword="false" />
|
||
otherwise.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Math.Int32Extensions.IsOdd(System.Int32)">
|
||
<summary>
|
||
Returns a value indicating whether the current value is not evenly divisible by 2.
|
||
</summary>
|
||
<param name="value">The value whose parity to check.</param>
|
||
<returns>
|
||
<see langword="true" /> if <paramref name="value" /> is not evenly divisible by 2, or <see langword="false" />
|
||
otherwise.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Math.Int32Extensions.IsPrime(System.Int32)">
|
||
<summary>
|
||
Returns a value indicating whether the current value is a prime number.
|
||
</summary>
|
||
<param name="value">The value whose primality to check.</param>
|
||
<returns>
|
||
<see langword="true" /> if <paramref name="value" /> is prime; otherwise, <see langword="false" />.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Math.Int32Extensions.Mod(System.Int32,System.Int32)">
|
||
<summary>
|
||
Performs a modulo operation which supports a negative dividend.
|
||
</summary>
|
||
<param name="dividend">The dividend.</param>
|
||
<param name="divisor">The divisor.</param>
|
||
<returns>The result of <c>dividend mod divisor</c>.</returns>
|
||
<remarks>
|
||
The <c>%</c> operator (commonly called the modulo operator) in C# is not defined to be modulo, but is instead
|
||
remainder. This quirk inherently makes it difficult to use modulo in a negative context, as <c>x % y</c> where x is
|
||
negative will return a negative value, akin to <c>-(x % y)</c>, even if precedence is forced. This method provides a
|
||
modulo operation which supports negative dividends.
|
||
</remarks>
|
||
<author>ShreevatsaR, https://stackoverflow.com/a/1082938/1467293</author>
|
||
<license>CC-BY-SA 2.5</license>
|
||
</member>
|
||
<member name="M:X10D.Math.Int32Extensions.MultiplicativePersistence(System.Int32)">
|
||
<summary>
|
||
Returns the multiplicative persistence of a specified value.
|
||
</summary>
|
||
<param name="value">The value whose multiplicative persistence to calculate.</param>
|
||
<returns>The multiplicative persistence.</returns>
|
||
<remarks>
|
||
Multiplicative persistence is defined as the recursive digital product until that product is a single digit.
|
||
</remarks>
|
||
</member>
|
||
<member name="M:X10D.Math.Int32Extensions.Sign(System.Int32)">
|
||
<summary>
|
||
Returns an integer that indicates the sign of this 32-bit signed integer.
|
||
</summary>
|
||
<param name="value">A signed number.</param>
|
||
<returns>
|
||
A number that indicates the sign of <paramref name="value" />, as shown in the following table.
|
||
|
||
<list type="table">
|
||
<listheader>
|
||
<term>Return value</term>
|
||
<description>Meaning</description>
|
||
</listheader>
|
||
|
||
<item>
|
||
<term>-1</term>
|
||
<description><paramref name="value" /> is less than zero.</description>
|
||
</item>
|
||
<item>
|
||
<term>0</term>
|
||
<description><paramref name="value" /> is equal to zero.</description>
|
||
</item>
|
||
<item>
|
||
<term>1</term>
|
||
<description><paramref name="value" /> is greater than zero.</description>
|
||
</item>
|
||
</list>
|
||
</returns>
|
||
</member>
|
||
<member name="T:X10D.Math.Int64Extensions">
|
||
<summary>
|
||
Extension methods for <see cref="T:System.Int64" />.
|
||
</summary>
|
||
</member>
|
||
<member name="M:X10D.Math.Int64Extensions.DigitalRoot(System.Int64)">
|
||
<summary>
|
||
Computes the digital root of this 64-bit integer.
|
||
</summary>
|
||
<param name="value">The value whose digital root to compute.</param>
|
||
<returns>The digital root of <paramref name="value" />.</returns>
|
||
<remarks>
|
||
<para>The digital root is defined as the recursive sum of digits until that result is a single digit.</para>
|
||
<para>For example, the digital root of 239 is 5: <c>2 + 3 + 9 = 14</c>, then <c>1 + 4 = 5</c>.</para>
|
||
</remarks>
|
||
</member>
|
||
<member name="M:X10D.Math.Int64Extensions.Factorial(System.Int64)">
|
||
<summary>
|
||
Returns the factorial of the current 64-bit signed integer.
|
||
</summary>
|
||
<param name="value">The value whose factorial to compute.</param>
|
||
<returns>The factorial of <paramref name="value" />.</returns>
|
||
<exception cref="T:System.ArithmeticException"><paramref name="value" /> is less than 0.</exception>
|
||
</member>
|
||
<member name="M:X10D.Math.Int64Extensions.IsEven(System.Int64)">
|
||
<summary>
|
||
Returns a value indicating whether the current value is evenly divisible by 2.
|
||
</summary>
|
||
<param name="value">The value whose parity to check.</param>
|
||
<returns>
|
||
<see langword="true" /> if <paramref name="value" /> is evenly divisible by 2, or <see langword="false" />
|
||
otherwise.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Math.Int64Extensions.IsOdd(System.Int64)">
|
||
<summary>
|
||
Returns a value indicating whether the current value is not evenly divisible by 2.
|
||
</summary>
|
||
<param name="value">The value whose parity to check.</param>
|
||
<returns>
|
||
<see langword="true" /> if <paramref name="value" /> is not evenly divisible by 2, or <see langword="false" />
|
||
otherwise.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Math.Int64Extensions.IsPrime(System.Int64)">
|
||
<summary>
|
||
Returns a value indicating whether the current value is a prime number.
|
||
</summary>
|
||
<param name="value">The value whose primality to check.</param>
|
||
<returns>
|
||
<see langword="true" /> if <paramref name="value" /> is prime; otherwise, <see langword="false" />.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Math.Int64Extensions.Mod(System.Int64,System.Int64)">
|
||
<summary>
|
||
Performs a modulo operation which supports a negative dividend.
|
||
</summary>
|
||
<param name="dividend">The dividend.</param>
|
||
<param name="divisor">The divisor.</param>
|
||
<returns>The result of <c>dividend mod divisor</c>.</returns>
|
||
<remarks>
|
||
The <c>%</c> operator (commonly called the modulo operator) in C# is not defined to be modulo, but is instead
|
||
remainder. This quirk inherently makes it difficult to use modulo in a negative context, as <c>x % y</c> where x is
|
||
negative will return a negative value, akin to <c>-(x % y)</c>, even if precedence is forced. This method provides a
|
||
modulo operation which supports negative dividends.
|
||
</remarks>
|
||
<author>ShreevatsaR, https://stackoverflow.com/a/1082938/1467293</author>
|
||
<license>CC-BY-SA 2.5</license>
|
||
</member>
|
||
<member name="M:X10D.Math.Int64Extensions.MultiplicativePersistence(System.Int64)">
|
||
<summary>
|
||
Returns the multiplicative persistence of a specified value.
|
||
</summary>
|
||
<param name="value">The value whose multiplicative persistence to calculate.</param>
|
||
<returns>The multiplicative persistence.</returns>
|
||
<remarks>
|
||
Multiplicative persistence is defined as the recursive digital product until that product is a single digit.
|
||
</remarks>
|
||
</member>
|
||
<member name="M:X10D.Math.Int64Extensions.Sign(System.Int64)">
|
||
<summary>
|
||
Returns an integer that indicates the sign of this 64-bit signed integer.
|
||
</summary>
|
||
<param name="value">A signed number.</param>
|
||
<returns>
|
||
A number that indicates the sign of <paramref name="value" />, as shown in the following table.
|
||
|
||
<list type="table">
|
||
<listheader>
|
||
<term>Return value</term>
|
||
<description>Meaning</description>
|
||
</listheader>
|
||
|
||
<item>
|
||
<term>-1</term>
|
||
<description><paramref name="value" /> is less than zero.</description>
|
||
</item>
|
||
<item>
|
||
<term>0</term>
|
||
<description><paramref name="value" /> is equal to zero.</description>
|
||
</item>
|
||
<item>
|
||
<term>1</term>
|
||
<description><paramref name="value" /> is greater than zero.</description>
|
||
</item>
|
||
</list>
|
||
</returns>
|
||
</member>
|
||
<member name="T:X10D.Math.MathUtility">
|
||
<summary>
|
||
Provides static helpers methods for mathematical functions not found in the .NET <see cref="T:System.Math" /> class.
|
||
</summary>
|
||
</member>
|
||
<member name="M:X10D.Math.MathUtility.Lerp(System.Single,System.Single,System.Single)">
|
||
<summary>
|
||
Linearly interpolates from one value to a target using a specified alpha.
|
||
</summary>
|
||
<param name="value">The interpolation source.</param>
|
||
<param name="target">The interpolation target.</param>
|
||
<param name="alpha">The interpolation alpha.</param>
|
||
<returns>
|
||
The interpolation result as determined by <c>(1 - alpha) * value + alpha * target</c>.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Math.MathUtility.Lerp(System.Double,System.Double,System.Double)">
|
||
<summary>
|
||
Linearly interpolates from one value to a target using a specified alpha.
|
||
</summary>
|
||
<param name="value">The interpolation source.</param>
|
||
<param name="target">The interpolation target.</param>
|
||
<param name="alpha">The interpolation alpha.</param>
|
||
<returns>
|
||
The interpolation result as determined by <c>(1 - alpha) * value + alpha * target</c>.
|
||
</returns>
|
||
</member>
|
||
<member name="T:X10D.Math.SByteExtensions">
|
||
<summary>
|
||
Math-related extension methods for <see cref="T:System.SByte" />.
|
||
</summary>
|
||
</member>
|
||
<member name="M:X10D.Math.SByteExtensions.DigitalRoot(System.SByte)">
|
||
<summary>
|
||
Computes the digital root of this 32-bit integer.
|
||
</summary>
|
||
<param name="value">The value whose digital root to compute.</param>
|
||
<returns>The digital root of <paramref name="value" />.</returns>
|
||
<remarks>
|
||
<para>The digital root is defined as the recursive sum of digits until that result is a single digit.</para>
|
||
<para>For example, the digital root of 239 is 5: <c>2 + 3 + 9 = 14</c>, then <c>1 + 4 = 5</c>.</para>
|
||
</remarks>
|
||
</member>
|
||
<member name="M:X10D.Math.SByteExtensions.Factorial(System.SByte)">
|
||
<summary>
|
||
Returns the factorial of the current 8-bit signed integer.
|
||
</summary>
|
||
<param name="value">The value whose factorial to compute.</param>
|
||
<returns>The factorial of <paramref name="value" />.</returns>
|
||
<exception cref="T:System.ArithmeticException"><paramref name="value" /> is less than 0.</exception>
|
||
</member>
|
||
<member name="M:X10D.Math.SByteExtensions.IsEven(System.SByte)">
|
||
<summary>
|
||
Returns a value indicating whether the current value is evenly divisible by 2.
|
||
</summary>
|
||
<param name="value">The value whose parity to check.</param>
|
||
<returns>
|
||
<see langword="true" /> if <paramref name="value" /> is evenly divisible by 2, or <see langword="false" />
|
||
otherwise.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Math.SByteExtensions.IsOdd(System.SByte)">
|
||
<summary>
|
||
Returns a value indicating whether the current value is not evenly divisible by 2.
|
||
</summary>
|
||
<param name="value">The value whose parity to check.</param>
|
||
<returns>
|
||
<see langword="true" /> if <paramref name="value" /> is not evenly divisible by 2, or <see langword="false" />
|
||
otherwise.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Math.SByteExtensions.IsPrime(System.SByte)">
|
||
<summary>
|
||
Returns a value indicating whether the current value is a prime number.
|
||
</summary>
|
||
<param name="value">The value whose primality to check.</param>
|
||
<returns>
|
||
<see langword="true" /> if <paramref name="value" /> is prime; otherwise, <see langword="false" />.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Math.SByteExtensions.Mod(System.SByte,System.SByte)">
|
||
<summary>
|
||
Performs a modulo operation which supports a negative dividend.
|
||
</summary>
|
||
<param name="dividend">The dividend.</param>
|
||
<param name="divisor">The divisor.</param>
|
||
<returns>The result of <c>dividend mod divisor</c>.</returns>
|
||
<remarks>
|
||
The <c>%</c> operator (commonly called the modulo operator) in C# is not defined to be modulo, but is instead
|
||
remainder. This quirk inherently makes it difficult to use modulo in a negative context, as <c>x % y</c> where x is
|
||
negative will return a negative value, akin to <c>-(x % y)</c>, even if precedence is forced. This method provides a
|
||
modulo operation which supports negative dividends.
|
||
</remarks>
|
||
<author>ShreevatsaR, https://stackoverflow.com/a/1082938/1467293</author>
|
||
<license>CC-BY-SA 2.5</license>
|
||
</member>
|
||
<member name="M:X10D.Math.SByteExtensions.MultiplicativePersistence(System.SByte)">
|
||
<summary>
|
||
Returns the multiplicative persistence of a specified value.
|
||
</summary>
|
||
<param name="value">The value whose multiplicative persistence to calculate.</param>
|
||
<returns>The multiplicative persistence.</returns>
|
||
<remarks>
|
||
Multiplicative persistence is defined as the recursive digital product until that product is a single digit.
|
||
</remarks>
|
||
</member>
|
||
<member name="M:X10D.Math.SByteExtensions.Sign(System.SByte)">
|
||
<summary>
|
||
Returns an integer that indicates the sign of this 8-bit signed integer.
|
||
</summary>
|
||
<param name="value">A signed number.</param>
|
||
<returns>
|
||
A number that indicates the sign of <paramref name="value" />, as shown in the following table.
|
||
|
||
<list type="table">
|
||
<listheader>
|
||
<term>Return value</term>
|
||
<description>Meaning</description>
|
||
</listheader>
|
||
|
||
<item>
|
||
<term>-1</term>
|
||
<description><paramref name="value" /> is less than zero.</description>
|
||
</item>
|
||
<item>
|
||
<term>0</term>
|
||
<description><paramref name="value" /> is equal to zero.</description>
|
||
</item>
|
||
<item>
|
||
<term>1</term>
|
||
<description><paramref name="value" /> is greater than zero.</description>
|
||
</item>
|
||
</list>
|
||
</returns>
|
||
</member>
|
||
<member name="T:X10D.Math.SingleExtensions">
|
||
<summary>
|
||
Extension methods for <see cref="T:System.Single" />.
|
||
</summary>
|
||
</member>
|
||
<member name="M:X10D.Math.SingleExtensions.Acos(System.Single)">
|
||
<summary>
|
||
Returns the arccosine of the specified value.
|
||
</summary>
|
||
<param name="value">
|
||
The value representing a cosine, which must be greater than or equal to -1, but less than or equal to 1.
|
||
</param>
|
||
<returns>
|
||
The arccosine of <paramref name="value" />, θ, measured in radians; such that 0 ≤ θ ≤ π. If <paramref name="value" />
|
||
is equal to <see cref="F:System.Single.NaN" />, less than -1, or greater than 1, <see cref="F:System.Single.NaN" /> is returned.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Math.SingleExtensions.Acosh(System.Single)">
|
||
<summary>
|
||
Returns the hyperbolic arccosine of the specified value.
|
||
</summary>
|
||
<param name="value">
|
||
The value representing a hyperbolic cosine, which must be greater than or equal to 1, but less than or equal to
|
||
<see cref="F:System.Single.PositiveInfinity" />.
|
||
</param>
|
||
<returns>
|
||
The hyperbolic arccosine of <paramref name="value" />, θ, measured in radians; such that 0 ≤ θ ≤ ∞. If
|
||
<paramref name="value" /> is less than 1 or equal to <see cref="F:System.Single.NaN" />, <see cref="F:System.Single.NaN" /> is returned.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Math.SingleExtensions.Asin(System.Single)">
|
||
<summary>
|
||
Returns the arcsine of the specified value.
|
||
</summary>
|
||
<param name="value">
|
||
The value representing a sine, which must be greater than or equal to -1, but less than or equal to 1.
|
||
</param>
|
||
<returns>
|
||
The arccosine of <paramref name="value" />, θ, measured in radians; such that π/2 ≤ θ ≤ π/2. If
|
||
<paramref name="value" /> is equal to <see cref="F:System.Single.NaN" />, less than -1, or greater than 1,
|
||
<see cref="F:System.Single.NaN" /> is returned.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Math.SingleExtensions.Asinh(System.Single)">
|
||
<summary>
|
||
Returns the hyperbolic arcsine of the specified value.
|
||
</summary>
|
||
<param name="value">
|
||
The value representing a hyperbolic sine, which must be greater than or equal to 1, but less than or equal to
|
||
<see cref="F:System.Single.PositiveInfinity" />.
|
||
</param>
|
||
<returns>
|
||
The hyperbolic arccosine of <paramref name="value" />, measured in radians. If <paramref name="value" /> is equal to
|
||
<see cref="F:System.Single.NaN" />, <see cref="F:System.Single.NaN" /> is returned.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Math.SingleExtensions.Atan(System.Single)">
|
||
<summary>
|
||
Returns the arctangent of the specified value.
|
||
</summary>
|
||
<param name="value">
|
||
The value representing a tangent, which must be greater than or equal to -1, but less than or equal to 1.
|
||
</param>
|
||
<returns>
|
||
The arctangent of <paramref name="value" />, θ, measured in radians; such that π/2 ≤ θ ≤ π/2. If
|
||
<paramref name="value" /> is equal to <see cref="F:System.Single.NaN" />, <see cref="F:System.Single.NaN" /> is returned.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Math.SingleExtensions.Atanh(System.Single)">
|
||
<summary>
|
||
Returns the hyperbolic arctangent of the specified value.
|
||
</summary>
|
||
<param name="value">
|
||
The value representing a hyperbolic tangent, which must be greater than or equal to 1, but less than or equal to
|
||
<see cref="F:System.Single.PositiveInfinity" />.
|
||
</param>
|
||
<returns>
|
||
The hyperbolic arctangent of <paramref name="value" />, θ, measured in radians; such that -∞ < θ < -1, or 1 <
|
||
θ < ∞. If <paramref name="value" /> is equal to <see cref="F:System.Single.NaN" />, less than -1, or greater than 1,
|
||
<see cref="F:System.Single.NaN" /> is returned.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Math.SingleExtensions.Cos(System.Single)">
|
||
<summary>
|
||
Returns the cosine of the specified angle.
|
||
</summary>
|
||
<param name="value">The angle, measured in radians.</param>
|
||
<returns>
|
||
The cosine of <paramref name="value" />. If <paramref name="value" /> is equal to <see cref="F:System.Single.NaN" />,
|
||
<see cref="F:System.Single.NegativeInfinity" />, or <see cref="F:System.Single.PositiveInfinity" />, this method returns
|
||
<see cref="F:System.Single.NaN" />.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Math.SingleExtensions.Cosh(System.Single)">
|
||
<summary>
|
||
Returns the hyperbolic cosine of the specified angle.
|
||
</summary>
|
||
<param name="value">The angle, measured in radians.</param>
|
||
<returns>
|
||
The hyperbolic cosine of <paramref name="value" />. If <paramref name="value" /> is equal to
|
||
<see cref="F:System.Single.NegativeInfinity" /> or <see cref="F:System.Single.PositiveInfinity" />,
|
||
<see cref="F:System.Single.PositiveInfinity" /> is returned. If <paramref name="value" /> is equal to
|
||
<see cref="F:System.Single.NaN" />, <see cref="F:System.Double.NaN" /> is returned.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Math.SingleExtensions.DegreesToRadians(System.Single)">
|
||
<summary>
|
||
Converts the current angle in degrees to its equivalent represented in radians.
|
||
</summary>
|
||
<param name="value">The angle in degrees to convert.</param>
|
||
<returns>The result of π * <paramref name="value" /> / 180.</returns>
|
||
</member>
|
||
<member name="M:X10D.Math.SingleExtensions.IsEven(System.Single)">
|
||
<summary>
|
||
Returns a value indicating whether the current value is evenly divisible by 2.
|
||
</summary>
|
||
<param name="value">The value whose parity to check.</param>
|
||
<returns>
|
||
<see langword="true" /> if <paramref name="value" /> is evenly divisible by 2, or <see langword="false" />
|
||
otherwise.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Math.SingleExtensions.IsOdd(System.Single)">
|
||
<summary>
|
||
Returns a value indicating whether the current value is not evenly divisible by 2.
|
||
</summary>
|
||
<param name="value">The value whose parity to check.</param>
|
||
<returns>
|
||
<see langword="true" /> if <paramref name="value" /> is not evenly divisible by 2, or <see langword="false" />
|
||
otherwise.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Math.SingleExtensions.RadiansToDegrees(System.Single)">
|
||
<summary>
|
||
Converts the current angle in radians to its equivalent represented in degrees.
|
||
</summary>
|
||
<param name="value">The angle in radians to convert.</param>
|
||
<returns>The result of π * <paramref name="value" /> / 180.</returns>
|
||
</member>
|
||
<member name="M:X10D.Math.SingleExtensions.Round(System.Single)">
|
||
<summary>
|
||
Rounds the current value to the nearest whole number.
|
||
</summary>
|
||
<param name="value">The value to round.</param>
|
||
<returns><paramref name="value" /> rounded to the nearest whole number.</returns>
|
||
</member>
|
||
<member name="M:X10D.Math.SingleExtensions.Round(System.Single,System.Single)">
|
||
<summary>
|
||
Rounds the current value to the nearest multiple of a specified number.
|
||
</summary>
|
||
<param name="value">The value to round.</param>
|
||
<param name="nearest">The nearest multiple to which <paramref name="value" /> should be rounded.</param>
|
||
<returns><paramref name="value" /> rounded to the nearest multiple of <paramref name="nearest" />.</returns>
|
||
</member>
|
||
<member name="M:X10D.Math.SingleExtensions.Sign(System.Single)">
|
||
<summary>
|
||
Returns an integer that indicates the sign of this single-precision floating-point number.
|
||
</summary>
|
||
<param name="value">A signed number.</param>
|
||
<returns>
|
||
A number that indicates the sign of <paramref name="value" />, as shown in the following table.
|
||
|
||
<list type="table">
|
||
<listheader>
|
||
<term>Return value</term>
|
||
<description>Meaning</description>
|
||
</listheader>
|
||
|
||
<item>
|
||
<term>-1</term>
|
||
<description><paramref name="value" /> is less than zero.</description>
|
||
</item>
|
||
<item>
|
||
<term>0</term>
|
||
<description><paramref name="value" /> is equal to zero.</description>
|
||
</item>
|
||
<item>
|
||
<term>1</term>
|
||
<description><paramref name="value" /> is greater than zero.</description>
|
||
</item>
|
||
</list>
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Math.SingleExtensions.Sqrt(System.Single)">
|
||
<summary>
|
||
Returns the square root of this single-precision floating-point number.
|
||
</summary>
|
||
<param name="value">The number whose square root is to be found.</param>
|
||
<returns>
|
||
One of the values in the following table.
|
||
|
||
<list type="table">
|
||
<listheader>
|
||
<term>Return value</term>
|
||
<description>Meaning</description>
|
||
</listheader>
|
||
|
||
<item>
|
||
<term>The positive square root of <paramref name="value" />.</term>
|
||
<description><paramref name="value" /> is greater than or equal to 0.</description>
|
||
</item>
|
||
<item>
|
||
<term><see cref="F:System.Single.NaN" /></term>
|
||
<description><paramref name="value" /> is equal to <see cref="F:System.Single.NaN" /> or is negative.</description>
|
||
</item>
|
||
<item>
|
||
<term><see cref="F:System.Single.PositiveInfinity" /></term>
|
||
<description><paramref name="value" /> is equal to <see cref="F:System.Single.PositiveInfinity" />.</description>
|
||
</item>
|
||
</list>
|
||
</returns>
|
||
<author>SLenik https://stackoverflow.com/a/6755197/1467293</author>
|
||
<license>CC BY-SA 3.0</license>
|
||
</member>
|
||
<member name="M:X10D.Math.SingleExtensions.Sin(System.Single)">
|
||
<summary>
|
||
Returns the sine of the specified angle.
|
||
</summary>
|
||
<param name="value">The angle, measured in radians.</param>
|
||
<returns>
|
||
The sine of <paramref name="value" />. If <paramref name="value" /> is equal to <see cref="F:System.Double.NaN" />,
|
||
<see cref="F:System.Double.NegativeInfinity" />, or <see cref="F:System.Double.PositiveInfinity" />, this method returns
|
||
<see cref="F:System.Double.NaN" />.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Math.SingleExtensions.Sinh(System.Single)">
|
||
<summary>
|
||
Returns the hyperbolic sine of the specified angle.
|
||
</summary>
|
||
<param name="value">The angle, measured in radians.</param>
|
||
<returns>
|
||
The hyperbolic sine of <paramref name="value" />. If <paramref name="value" /> is equal to <see cref="F:System.Single.NaN" />,
|
||
<see cref="F:System.Single.NegativeInfinity" />, or <see cref="F:System.Single.PositiveInfinity" />, this method returns
|
||
<see cref="F:System.Single.NaN" />.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Math.SingleExtensions.Tan(System.Single)">
|
||
<summary>
|
||
Returns the tangent of the specified angle.
|
||
</summary>
|
||
<param name="value">The angle, measured in radians.</param>
|
||
<returns>
|
||
The tangent of <paramref name="value" />. If <paramref name="value" /> is equal to <see cref="F:System.Single.NaN" />,
|
||
<see cref="F:System.Single.NegativeInfinity" />, or <see cref="F:System.Single.PositiveInfinity" />, this method returns
|
||
<see cref="F:System.Single.NaN" />.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Math.SingleExtensions.Tanh(System.Single)">
|
||
<summary>
|
||
Returns the hyperbolic tangent of the specified angle.
|
||
</summary>
|
||
<param name="value">The angle, measured in radians.</param>
|
||
<returns>
|
||
The hyperbolic tangent of <paramref name="value" />. If <paramref name="value" /> is equal to
|
||
<see cref="F:System.Single.NegativeInfinity" />, this method returns -1. If <paramref name="value" /> is equal to
|
||
<see cref="F:System.Single.PositiveInfinity" />, this method returns 1. If <paramref name="value" /> is equal to
|
||
<see cref="F:System.Single.NaN" />, this method returns <see cref="F:System.Single.NaN" />.
|
||
</returns>
|
||
</member>
|
||
<member name="T:X10D.Math.UInt16Extensions">
|
||
<summary>
|
||
Extension methods for <see cref="T:System.UInt16" />.
|
||
</summary>
|
||
</member>
|
||
<member name="M:X10D.Math.UInt16Extensions.DigitalRoot(System.UInt16)">
|
||
<summary>
|
||
Computes the digital root of the current 16-bit unsigned integer.
|
||
</summary>
|
||
<param name="value">The value whose digital root to compute.</param>
|
||
<returns>The digital root of <paramref name="value" />.</returns>
|
||
<remarks>
|
||
<para>The digital root is defined as the recursive sum of digits until that result is a single digit.</para>
|
||
<para>For example, the digital root of 239 is 5: <c>2 + 3 + 9 = 14</c>, then <c>1 + 4 = 5</c>.</para>
|
||
</remarks>
|
||
</member>
|
||
<member name="M:X10D.Math.UInt16Extensions.Factorial(System.UInt16)">
|
||
<summary>
|
||
Returns the factorial of the current 16-bit unsigned integer.
|
||
</summary>
|
||
<param name="value">The value whose factorial to compute.</param>
|
||
<returns>The factorial of <paramref name="value" />.</returns>
|
||
</member>
|
||
<member name="M:X10D.Math.UInt16Extensions.IsEven(System.UInt16)">
|
||
<summary>
|
||
Returns a value indicating whether the current value is evenly divisible by 2.
|
||
</summary>
|
||
<param name="value">The value whose parity to check.</param>
|
||
<returns>
|
||
<see langword="true" /> if <paramref name="value" /> is evenly divisible by 2, or <see langword="false" />
|
||
otherwise.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Math.UInt16Extensions.IsPrime(System.UInt16)">
|
||
<summary>
|
||
Returns a value indicating whether the current value is a prime number.
|
||
</summary>
|
||
<param name="value">The value whose primality to check.</param>
|
||
<returns>
|
||
<see langword="true" /> if <paramref name="value" /> is prime; otherwise, <see langword="false" />.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Math.UInt16Extensions.IsOdd(System.UInt16)">
|
||
<summary>
|
||
Returns a value indicating whether the current value is not evenly divisible by 2.
|
||
</summary>
|
||
<param name="value">The value whose parity to check.</param>
|
||
<returns>
|
||
<see langword="true" /> if <paramref name="value" /> is not evenly divisible by 2, or <see langword="false" />
|
||
otherwise.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Math.UInt16Extensions.MultiplicativePersistence(System.UInt16)">
|
||
<summary>
|
||
Returns the multiplicative persistence of a specified value.
|
||
</summary>
|
||
<param name="value">The value whose multiplicative persistence to calculate.</param>
|
||
<returns>The multiplicative persistence.</returns>
|
||
<remarks>
|
||
Multiplicative persistence is defined as the recursive digital product until that product is a single digit.
|
||
</remarks>
|
||
</member>
|
||
<member name="T:X10D.Math.UInt32Extensions">
|
||
<summary>
|
||
Extension methods for <see cref="T:System.UInt32" />.
|
||
</summary>
|
||
</member>
|
||
<member name="M:X10D.Math.UInt32Extensions.DigitalRoot(System.UInt32)">
|
||
<summary>
|
||
Computes the digital root of the current 32-bit unsigned integer.
|
||
</summary>
|
||
<param name="value">The value whose digital root to compute.</param>
|
||
<returns>The digital root of <paramref name="value" />.</returns>
|
||
<remarks>
|
||
<para>The digital root is defined as the recursive sum of digits until that result is a single digit.</para>
|
||
<para>For example, the digital root of 239 is 5: <c>2 + 3 + 9 = 14</c>, then <c>1 + 4 = 5</c>.</para>
|
||
</remarks>
|
||
</member>
|
||
<member name="M:X10D.Math.UInt32Extensions.Factorial(System.UInt32)">
|
||
<summary>
|
||
Returns the factorial of the current 32-bit unsigned integer.
|
||
</summary>
|
||
<param name="value">The value whose factorial to compute.</param>
|
||
<returns>The factorial of <paramref name="value" />.</returns>
|
||
</member>
|
||
<member name="M:X10D.Math.UInt32Extensions.IsEven(System.UInt32)">
|
||
<summary>
|
||
Returns a value indicating whether the current value is evenly divisible by 2.
|
||
</summary>
|
||
<param name="value">The value whose parity to check.</param>
|
||
<returns>
|
||
<see langword="true" /> if <paramref name="value" /> is evenly divisible by 2, or <see langword="false" />
|
||
otherwise.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Math.UInt32Extensions.IsPrime(System.UInt32)">
|
||
<summary>
|
||
Returns a value indicating whether the current value is a prime number.
|
||
</summary>
|
||
<param name="value">The value whose primality to check.</param>
|
||
<returns>
|
||
<see langword="true" /> if <paramref name="value" /> is prime; otherwise, <see langword="false" />.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Math.UInt32Extensions.IsOdd(System.UInt32)">
|
||
<summary>
|
||
Returns a value indicating whether the current value is not evenly divisible by 2.
|
||
</summary>
|
||
<param name="value">The value whose parity to check.</param>
|
||
<returns>
|
||
<see langword="true" /> if <paramref name="value" /> is not evenly divisible by 2, or <see langword="false" />
|
||
otherwise.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Math.UInt32Extensions.MultiplicativePersistence(System.UInt32)">
|
||
<summary>
|
||
Returns the multiplicative persistence of a specified value.
|
||
</summary>
|
||
<param name="value">The value whose multiplicative persistence to calculate.</param>
|
||
<returns>The multiplicative persistence.</returns>
|
||
<remarks>
|
||
Multiplicative persistence is defined as the recursive digital product until that product is a single digit.
|
||
</remarks>
|
||
</member>
|
||
<member name="T:X10D.Math.UInt64Extensions">
|
||
<summary>
|
||
Extension methods for <see cref="T:System.UInt64" />.
|
||
</summary>
|
||
</member>
|
||
<member name="M:X10D.Math.UInt64Extensions.DigitalRoot(System.UInt64)">
|
||
<summary>
|
||
Computes the digital root of the current 64-bit unsigned integer.
|
||
</summary>
|
||
<param name="value">The value whose digital root to compute.</param>
|
||
<returns>The digital root of <paramref name="value" />.</returns>
|
||
<remarks>
|
||
<para>The digital root is defined as the recursive sum of digits until that result is a single digit.</para>
|
||
<para>For example, the digital root of 239 is 5: <c>2 + 3 + 9 = 14</c>, then <c>1 + 4 = 5</c>.</para>
|
||
</remarks>
|
||
</member>
|
||
<member name="M:X10D.Math.UInt64Extensions.Factorial(System.UInt64)">
|
||
<summary>
|
||
Returns the factorial of the current 64-bit unsigned integer.
|
||
</summary>
|
||
<param name="value">The value whose factorial to compute.</param>
|
||
<returns>The factorial of <paramref name="value" />.</returns>
|
||
</member>
|
||
<member name="M:X10D.Math.UInt64Extensions.IsEven(System.UInt64)">
|
||
<summary>
|
||
Returns a value indicating whether the current value is evenly divisible by 2.
|
||
</summary>
|
||
<param name="value">The value whose parity to check.</param>
|
||
<returns>
|
||
<see langword="true" /> if <paramref name="value" /> is evenly divisible by 2, or <see langword="false" />
|
||
otherwise.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Math.UInt64Extensions.IsPrime(System.UInt64)">
|
||
<summary>
|
||
Returns a value indicating whether the current value is a prime number.
|
||
</summary>
|
||
<param name="value">The value whose primality to check.</param>
|
||
<returns>
|
||
<see langword="true" /> if <paramref name="value" /> is prime; otherwise, <see langword="false" />.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Math.UInt64Extensions.IsOdd(System.UInt64)">
|
||
<summary>
|
||
Returns a value indicating whether the current value is not evenly divisible by 2.
|
||
</summary>
|
||
<param name="value">The value whose parity to check.</param>
|
||
<returns>
|
||
<see langword="true" /> if <paramref name="value" /> is not evenly divisible by 2, or <see langword="false" />
|
||
otherwise.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Math.UInt64Extensions.MultiplicativePersistence(System.UInt64)">
|
||
<summary>
|
||
Returns the multiplicative persistence of a specified value.
|
||
</summary>
|
||
<param name="value">The value whose multiplicative persistence to calculate.</param>
|
||
<returns>The multiplicative persistence.</returns>
|
||
<remarks>
|
||
Multiplicative persistence is defined as the recursive digital product until that product is a single digit.
|
||
</remarks>
|
||
</member>
|
||
<member name="T:X10D.Net.EndPointExtensions">
|
||
<summary>
|
||
Extension methods for <see cref="T:System.Net.EndPoint" /> and derived types.
|
||
</summary>
|
||
</member>
|
||
<member name="M:X10D.Net.EndPointExtensions.GetHost(System.Net.EndPoint)">
|
||
<summary>
|
||
Returns the hostname for the current <see cref="T:System.Net.EndPoint" />.
|
||
</summary>
|
||
<param name="endPoint">The endpoint whose hostname to get.</param>
|
||
<returns>
|
||
<para><see cref="P:System.Net.IPEndPoint.Address" /> if <paramref name="endPoint" /> is <see cref="T:System.Net.IPEndPoint" />.</para>
|
||
-or-
|
||
<para><see cref="P:System.Net.DnsEndPoint.Host" /> if <paramref name="endPoint" /> is <see cref="T:System.Net.DnsEndPoint" />.</para>
|
||
-or-
|
||
<para><see cref="F:System.String.Empty" /> otherwise.</para>
|
||
</returns>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="endPoint" /> is <see langword="null" />.</exception>
|
||
</member>
|
||
<member name="M:X10D.Net.EndPointExtensions.GetPort(System.Net.EndPoint)">
|
||
<summary>
|
||
Returns the port number for the current <see cref="T:System.Net.EndPoint" />.
|
||
</summary>
|
||
<param name="endPoint">The endpoint whose port number to get.</param>
|
||
<returns>
|
||
<para><see cref="P:System.Net.IPEndPoint.Port" /> if <paramref name="endPoint" /> is <see cref="T:System.Net.IPEndPoint" />.</para>
|
||
-or-
|
||
<para><see cref="P:System.Net.DnsEndPoint.Port" /> if <paramref name="endPoint" /> is <see cref="T:System.Net.DnsEndPoint" />.</para>
|
||
-or-
|
||
<para><c>0</c> otherwise.</para>
|
||
</returns>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="endPoint" /> is <see langword="null" />.</exception>
|
||
</member>
|
||
<member name="T:X10D.Net.Int16Extensions">
|
||
<summary>
|
||
Network-related extension methods for <see cref="T:System.Int16" />.
|
||
</summary>
|
||
</member>
|
||
<member name="M:X10D.Net.Int16Extensions.HostToNetworkOrder(System.Int16)">
|
||
<summary>
|
||
Converts a 16-bit signed integer value from host byte order to network byte order.
|
||
</summary>
|
||
<param name="value">The value to convert, expressed in host byte order.</param>
|
||
<returns>An integer value, expressed in network byte order.</returns>
|
||
</member>
|
||
<member name="M:X10D.Net.Int16Extensions.NetworkToHostOrder(System.Int16)">
|
||
<summary>
|
||
Converts a 16-bit signed integer value from network byte order to host byte order.
|
||
</summary>
|
||
<param name="value">The value to convert, expressed in network byte order.</param>
|
||
<returns>An integer value, expressed in host byte order.</returns>
|
||
</member>
|
||
<member name="T:X10D.Net.Int32Extensions">
|
||
<summary>
|
||
IO-related extension methods for <see cref="T:System.Int32" />.
|
||
</summary>
|
||
</member>
|
||
<member name="M:X10D.Net.Int32Extensions.HostToNetworkOrder(System.Int32)">
|
||
<summary>
|
||
Converts a 32-bit signed integer value from host byte order to network byte order.
|
||
</summary>
|
||
<param name="value">The value to convert, expressed in host byte order.</param>
|
||
<returns>An integer value, expressed in network byte order.</returns>
|
||
</member>
|
||
<member name="M:X10D.Net.Int32Extensions.NetworkToHostOrder(System.Int32)">
|
||
<summary>
|
||
Converts a 32-bit signed integer value from network byte order to host byte order.
|
||
</summary>
|
||
<param name="value">The value to convert, expressed in network byte order.</param>
|
||
<returns>An integer value, expressed in host byte order.</returns>
|
||
</member>
|
||
<member name="T:X10D.Net.Int64Extensions">
|
||
<summary>
|
||
IO-related extension methods for <see cref="T:System.Int64" />.
|
||
</summary>
|
||
</member>
|
||
<member name="M:X10D.Net.Int64Extensions.HostToNetworkOrder(System.Int64)">
|
||
<summary>
|
||
Converts a 64-bit signed integer value from host byte order to network byte order.
|
||
</summary>
|
||
<param name="value">The value to convert, expressed in host byte order.</param>
|
||
<returns>An integer value, expressed in network byte order.</returns>
|
||
</member>
|
||
<member name="M:X10D.Net.Int64Extensions.NetworkToHostOrder(System.Int64)">
|
||
<summary>
|
||
Converts a 64-bit signed integer value from network byte order to host byte order.
|
||
</summary>
|
||
<param name="value">The value to convert, expressed in network byte order.</param>
|
||
<returns>An integer value, expressed in host byte order.</returns>
|
||
</member>
|
||
<member name="T:X10D.Net.IPAddressExtensions">
|
||
<summary>
|
||
Extension methods for <see cref="T:System.Net.IPAddress" />.
|
||
</summary>
|
||
</member>
|
||
<member name="M:X10D.Net.IPAddressExtensions.IsIPv4(System.Net.IPAddress)">
|
||
<summary>
|
||
Returns a value indicating whether the specified IP address is a valid IPv4 address.
|
||
</summary>
|
||
<param name="address">The IP address to check.</param>
|
||
<returns>
|
||
<see langword="true" /> if the specified IP address is a valid IPv4 address; otherwise, <see langword="false" />.
|
||
</returns>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="address" /> is <see langword="null" />.</exception>
|
||
</member>
|
||
<member name="M:X10D.Net.IPAddressExtensions.IsIPv6(System.Net.IPAddress)">
|
||
<summary>
|
||
Returns a value indicating whether the specified IP address is a valid IPv6 address.
|
||
</summary>
|
||
<param name="address">The IP address to check.</param>
|
||
<returns>
|
||
<see langword="true" /> if the specified IP address is a valid IPv6 address; otherwise, <see langword="false" />.
|
||
</returns>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="address" /> is <see langword="null" />.</exception>
|
||
</member>
|
||
<member name="T:X10D.Numerics.ByteExtensions">
|
||
<summary>
|
||
Numeric-related extension methods for <see cref="T:System.Byte" />.
|
||
</summary>
|
||
</member>
|
||
<member name="M:X10D.Numerics.ByteExtensions.RotateLeft(System.Byte,System.Int32)">
|
||
<summary>
|
||
Rotates the current value left by the specified number of bits.
|
||
</summary>
|
||
<param name="value">The value to rotate.</param>
|
||
<param name="count">
|
||
The number of bits by which to rotate. Any value outside the range [0..7] is treated as congruent mod 8.
|
||
</param>
|
||
<returns>The rotated value.</returns>
|
||
</member>
|
||
<member name="M:X10D.Numerics.ByteExtensions.RotateRight(System.Byte,System.Int32)">
|
||
<summary>
|
||
Rotates the current value right by the specified number of bits.
|
||
</summary>
|
||
<param name="value">The value to rotate.</param>
|
||
<param name="count">
|
||
The number of bits by which to rotate. Any value outside the range [0..7] is treated as congruent mod 8.
|
||
</param>
|
||
<returns>The rotated value.</returns>
|
||
</member>
|
||
<member name="M:X10D.Numerics.ByteExtensions.RoundUpToPowerOf2(System.Byte)">
|
||
<summary>
|
||
Rounds the current value up to a power of two.
|
||
</summary>
|
||
<param name="value">The value to round.</param>
|
||
<returns>
|
||
The smallest power of two that's greater than or equal to <paramref name="value" />, or 0 if <paramref name="value" />
|
||
is 0 or the result overflows.
|
||
</returns>
|
||
</member>
|
||
<member name="T:X10D.Numerics.Int16Extensions">
|
||
<summary>
|
||
Numeric-related extension methods for <see cref="T:System.Int16" />.
|
||
</summary>
|
||
</member>
|
||
<member name="M:X10D.Numerics.Int16Extensions.RotateLeft(System.Int16,System.Int32)">
|
||
<summary>
|
||
Rotates the current value left by the specified number of bits.
|
||
</summary>
|
||
<param name="value">The value to rotate.</param>
|
||
<param name="count">
|
||
The number of bits by which to rotate. Any value outside the range [0..15] is treated as congruent mod 16.
|
||
</param>
|
||
<returns>The rotated value.</returns>
|
||
</member>
|
||
<member name="M:X10D.Numerics.Int16Extensions.RotateRight(System.Int16,System.Int32)">
|
||
<summary>
|
||
Rotates the current value right by the specified number of bits.
|
||
</summary>
|
||
<param name="value">The value to rotate.</param>
|
||
<param name="count">
|
||
The number of bits by which to rotate. Any value outside the range [0..15] is treated as congruent mod 16.
|
||
</param>
|
||
<returns>The rotated value.</returns>
|
||
</member>
|
||
<member name="M:X10D.Numerics.Int16Extensions.RoundUpToPowerOf2(System.Int16)">
|
||
<summary>
|
||
Rounds the current value up to a power of two.
|
||
</summary>
|
||
<param name="value">The value to round.</param>
|
||
<returns>
|
||
The smallest power of two that's greater than or equal to <paramref name="value" />, or 0 if <paramref name="value" />
|
||
is 0 or the result overflows.
|
||
</returns>
|
||
</member>
|
||
<member name="T:X10D.Numerics.Int32Extensions">
|
||
<summary>
|
||
Numeric-related extension methods for <see cref="T:System.Int32" />.
|
||
</summary>
|
||
</member>
|
||
<member name="M:X10D.Numerics.Int32Extensions.RotateLeft(System.Int32,System.Int32)">
|
||
<summary>
|
||
Rotates the current value left by the specified number of bits.
|
||
</summary>
|
||
<param name="value">The value to rotate.</param>
|
||
<param name="count">
|
||
The number of bits by which to rotate. Any value outside the range [0..31] is treated as congruent mod 32.
|
||
</param>
|
||
<returns>The rotated value.</returns>
|
||
</member>
|
||
<member name="M:X10D.Numerics.Int32Extensions.RotateRight(System.Int32,System.Int32)">
|
||
<summary>
|
||
Rotates the current value right by the specified number of bits.
|
||
</summary>
|
||
<param name="value">The value to rotate.</param>
|
||
<param name="count">
|
||
The number of bits by which to rotate. Any value outside the range [0..31] is treated as congruent mod 32.
|
||
</param>
|
||
<returns>The rotated value.</returns>
|
||
</member>
|
||
<member name="M:X10D.Numerics.Int32Extensions.RoundUpToPowerOf2(System.Int32)">
|
||
<summary>
|
||
Rounds the current value up to a power of two.
|
||
</summary>
|
||
<param name="value">The value to round.</param>
|
||
<returns>
|
||
The smallest power of two that's greater than or equal to <paramref name="value" />, or 0 if <paramref name="value" />
|
||
is 0 or the result overflows.
|
||
</returns>
|
||
</member>
|
||
<member name="T:X10D.Numerics.Int64Extensions">
|
||
<summary>
|
||
Numeric-related extension methods for <see cref="T:System.Int64" />.
|
||
</summary>
|
||
</member>
|
||
<member name="M:X10D.Numerics.Int64Extensions.RotateLeft(System.Int64,System.Int32)">
|
||
<summary>
|
||
Rotates the current value left by the specified number of bits.
|
||
</summary>
|
||
<param name="value">The value to rotate.</param>
|
||
<param name="count">
|
||
The number of bits by which to rotate. Any value outside the range [0..63] is treated as congruent mod 64.
|
||
</param>
|
||
<returns>The rotated value.</returns>
|
||
</member>
|
||
<member name="M:X10D.Numerics.Int64Extensions.RotateRight(System.Int64,System.Int32)">
|
||
<summary>
|
||
Rotates the current value right by the specified number of bits.
|
||
</summary>
|
||
<param name="value">The value to rotate.</param>
|
||
<param name="count">
|
||
The number of bits by which to rotate. Any value outside the range [0..63] is treated as congruent mod 64.
|
||
</param>
|
||
<returns>The rotated value.</returns>
|
||
</member>
|
||
<member name="M:X10D.Numerics.Int64Extensions.RoundUpToPowerOf2(System.Int64)">
|
||
<summary>
|
||
Rounds the current value up to a power of two.
|
||
</summary>
|
||
<param name="value">The value to round.</param>
|
||
<returns>
|
||
The smallest power of two that's greater than or equal to <paramref name="value" />, or 0 if <paramref name="value" />
|
||
is 0 or the result overflows.
|
||
</returns>
|
||
</member>
|
||
<member name="T:X10D.Numerics.RandomExtensions">
|
||
<summary>
|
||
Extension methods for <see cref="T:System.Random" />.
|
||
</summary>
|
||
</member>
|
||
<member name="M:X10D.Numerics.RandomExtensions.NextRotation(System.Random)">
|
||
<summary>
|
||
Returns a randomly generated rotation as represented by a <see cref="T:System.Numerics.Quaternion" />.
|
||
</summary>
|
||
<param name="random">The <see cref="T:System.Random" /> instance.</param>
|
||
<returns>
|
||
A <see cref="T:System.Numerics.Quaternion" /> constructed from 3 random single-precision floating point numbers representing the
|
||
yaw, pitch, and roll.
|
||
</returns>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="random" /> is <see langword="null" />.</exception>
|
||
</member>
|
||
<member name="M:X10D.Numerics.RandomExtensions.NextRotationUniform(System.Random)">
|
||
<summary>
|
||
Returns a randomly generated rotation with uniform distribution.
|
||
</summary>
|
||
<param name="random">The <see cref="T:System.Random" /> instance.</param>
|
||
<returns>A <see cref="T:System.Numerics.Quaternion" /> constructed with uniform distribution.</returns>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="random" /> is <see langword="null" />.</exception>
|
||
</member>
|
||
<member name="M:X10D.Numerics.RandomExtensions.NextUnitVector2(System.Random)">
|
||
<summary>
|
||
Returns a <see cref="T:System.Numerics.Vector2" /> with magnitude 1 whose components indicate a random point on the unit circle.
|
||
</summary>
|
||
<param name="random">The <see cref="T:System.Random" /> instance</param>
|
||
<returns>
|
||
A <see cref="T:System.Numerics.Vector2" /> whose <see cref="M:System.Numerics.Vector2.Length" /> returns 1, and whose components indicate a random
|
||
point on the unit circle.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Numerics.RandomExtensions.NextUnitVector3(System.Random)">
|
||
<summary>
|
||
Returns a <see cref="T:System.Numerics.Vector3" /> with magnitude 1 whose components indicate a random point on the unit sphere.
|
||
</summary>
|
||
<param name="random">The <see cref="T:System.Random" /> instance</param>
|
||
<returns>
|
||
A <see cref="T:System.Numerics.Vector3" /> whose <see cref="M:System.Numerics.Vector3.Length" /> returns 1, and whose components indicate a random
|
||
point on the unit sphere.
|
||
</returns>
|
||
</member>
|
||
<member name="T:X10D.Numerics.SByteExtensions">
|
||
<summary>
|
||
Numeric-related extension methods for <see cref="T:System.SByte" />.
|
||
</summary>
|
||
</member>
|
||
<member name="M:X10D.Numerics.SByteExtensions.RotateLeft(System.SByte,System.Int32)">
|
||
<summary>
|
||
Rotates the current value left by the specified number of bits.
|
||
</summary>
|
||
<param name="value">The value to rotate.</param>
|
||
<param name="count">
|
||
The number of bits by which to rotate. Any value outside the range [0..7] is treated as congruent mod 8.
|
||
</param>
|
||
<returns>The rotated value.</returns>
|
||
</member>
|
||
<member name="M:X10D.Numerics.SByteExtensions.RotateRight(System.SByte,System.Int32)">
|
||
<summary>
|
||
Rotates the current value right by the specified number of bits.
|
||
</summary>
|
||
<param name="value">The value to rotate.</param>
|
||
<param name="count">
|
||
The number of bits by which to rotate. Any value outside the range [0..7] is treated as congruent mod 8.
|
||
</param>
|
||
<returns>The rotated value.</returns>
|
||
</member>
|
||
<member name="M:X10D.Numerics.SByteExtensions.RoundUpToPowerOf2(System.SByte)">
|
||
<summary>
|
||
Rounds the current value up to a power of two.
|
||
</summary>
|
||
<param name="value">The value to round.</param>
|
||
<returns>
|
||
The smallest power of two that's greater than or equal to <paramref name="value" />, or 0 if <paramref name="value" />
|
||
is 0 or the result overflows.
|
||
</returns>
|
||
</member>
|
||
<member name="T:X10D.Numerics.UInt16Extensions">
|
||
<summary>
|
||
Numeric-related extension methods for <see cref="T:System.UInt16" />.
|
||
</summary>
|
||
</member>
|
||
<member name="M:X10D.Numerics.UInt16Extensions.RotateLeft(System.UInt16,System.Int32)">
|
||
<summary>
|
||
Rotates the current value left by the specified number of bits.
|
||
</summary>
|
||
<param name="value">The value to rotate.</param>
|
||
<param name="count">
|
||
The number of bits by which to rotate. Any value outside the range [0..15] is treated as congruent mod 16.
|
||
</param>
|
||
<returns>The rotated value.</returns>
|
||
</member>
|
||
<member name="M:X10D.Numerics.UInt16Extensions.RotateRight(System.UInt16,System.Int32)">
|
||
<summary>
|
||
Rotates the current value right by the specified number of bits.
|
||
</summary>
|
||
<param name="value">The value to rotate.</param>
|
||
<param name="count">
|
||
The number of bits by which to rotate. Any value outside the range [0..15] is treated as congruent mod 16.
|
||
</param>
|
||
<returns>The rotated value.</returns>
|
||
</member>
|
||
<member name="M:X10D.Numerics.UInt16Extensions.RoundUpToPowerOf2(System.UInt16)">
|
||
<summary>
|
||
Rounds the current value up to a power of two.
|
||
</summary>
|
||
<param name="value">The value to round.</param>
|
||
<returns>
|
||
The smallest power of two that's greater than or equal to <paramref name="value" />, or 0 if <paramref name="value" />
|
||
is 0 or the result overflows.
|
||
</returns>
|
||
</member>
|
||
<member name="T:X10D.Numerics.UInt32Extensions">
|
||
<summary>
|
||
Numeric-related extension methods for <see cref="T:System.UInt32" />.
|
||
</summary>
|
||
</member>
|
||
<member name="M:X10D.Numerics.UInt32Extensions.RotateLeft(System.UInt32,System.Int32)">
|
||
<summary>
|
||
Rotates the current value left by the specified number of bits.
|
||
</summary>
|
||
<param name="value">The value to rotate.</param>
|
||
<param name="count">
|
||
The number of bits by which to rotate. Any value outside the range [0..31] is treated as congruent mod 32.
|
||
</param>
|
||
<returns>The rotated value.</returns>
|
||
</member>
|
||
<member name="M:X10D.Numerics.UInt32Extensions.RotateRight(System.UInt32,System.Int32)">
|
||
<summary>
|
||
Rotates the current value right by the specified number of bits.
|
||
</summary>
|
||
<param name="value">The value to rotate.</param>
|
||
<param name="count">
|
||
The number of bits by which to rotate. Any value outside the range [0..31] is treated as congruent mod 32.
|
||
</param>
|
||
<returns>The rotated value.</returns>
|
||
</member>
|
||
<member name="M:X10D.Numerics.UInt32Extensions.RoundUpToPowerOf2(System.UInt32)">
|
||
<summary>
|
||
Rounds the current value up to a power of two.
|
||
</summary>
|
||
<param name="value">The value to round.</param>
|
||
<returns>
|
||
The smallest power of two that's greater than or equal to <paramref name="value" />, or 0 if <paramref name="value" />
|
||
is 0 or the result overflows.
|
||
</returns>
|
||
</member>
|
||
<member name="T:X10D.Numerics.UInt64Extensions">
|
||
<summary>
|
||
Numeric-related extension methods for <see cref="T:System.UInt64" />.
|
||
</summary>
|
||
</member>
|
||
<member name="M:X10D.Numerics.UInt64Extensions.RotateLeft(System.UInt64,System.Int32)">
|
||
<summary>
|
||
Rotates the current value left by the specified number of bits.
|
||
</summary>
|
||
<param name="value">The value to rotate.</param>
|
||
<param name="count">
|
||
The number of bits by which to rotate. Any value outside the range [0..63] is treated as congruent mod 64.
|
||
</param>
|
||
<returns>The rotated value.</returns>
|
||
</member>
|
||
<member name="M:X10D.Numerics.UInt64Extensions.RotateRight(System.UInt64,System.Int32)">
|
||
<summary>
|
||
Rotates the current value right by the specified number of bits.
|
||
</summary>
|
||
<param name="value">The value to rotate.</param>
|
||
<param name="count">
|
||
The number of bits by which to rotate. Any value outside the range [0..63] is treated as congruent mod 64.
|
||
</param>
|
||
<returns>The rotated value.</returns>
|
||
</member>
|
||
<member name="M:X10D.Numerics.UInt64Extensions.RoundUpToPowerOf2(System.UInt64)">
|
||
<summary>
|
||
Rounds the current value up to a power of two.
|
||
</summary>
|
||
<param name="value">The value to round.</param>
|
||
<returns>
|
||
The smallest power of two that's greater than or equal to <paramref name="value" />, or 0 if <paramref name="value" />
|
||
is 0 or the result overflows.
|
||
</returns>
|
||
</member>
|
||
<member name="T:X10D.Numerics.Vector2Extensions">
|
||
<summary>
|
||
Numeric-extensions for <see cref="T:System.Numerics.Vector2" />.
|
||
</summary>
|
||
</member>
|
||
<member name="M:X10D.Numerics.Vector2Extensions.Deconstruct(System.Numerics.Vector2,System.Single@,System.Single@)">
|
||
<summary>
|
||
Deconstructs the current <see cref="T:System.Numerics.Vector2" /> into its components.
|
||
</summary>
|
||
<param name="vector">The vector to deconstruct.</param>
|
||
<param name="x">The X component value.</param>
|
||
<param name="y">The Y component value.</param>
|
||
</member>
|
||
<member name="M:X10D.Numerics.Vector2Extensions.WithX(System.Numerics.Vector2,System.Single)">
|
||
<summary>
|
||
Returns a vector whose Y component is the same as the specified vector, and whose X component is a new value.
|
||
</summary>
|
||
<param name="vector">The vector to copy.</param>
|
||
<param name="x">The new X component value.</param>
|
||
<returns>
|
||
A new instance of <see cref="T:System.Numerics.Vector2" /> whose <see cref="F:System.Numerics.Vector2.Y" /> components is the same as that of
|
||
<paramref name="vector" />, and whose <see cref="F:System.Numerics.Vector2.X" /> component is <paramref name="x" />.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Numerics.Vector2Extensions.WithY(System.Numerics.Vector2,System.Single)">
|
||
<summary>
|
||
Returns a vector whose X component is the same as the specified vector, and whose Y component is a new value.
|
||
</summary>
|
||
<param name="vector">The vector to copy.</param>
|
||
<param name="y">The new Y component value.</param>
|
||
<returns>
|
||
A new instance of <see cref="T:System.Numerics.Vector2" /> whose <see cref="F:System.Numerics.Vector2.X" /> components is the same as that of
|
||
<paramref name="vector" />, and whose <see cref="F:System.Numerics.Vector2.Y" /> component is <paramref name="y" />.
|
||
</returns>
|
||
</member>
|
||
<member name="T:X10D.Numerics.Vector3Extensions">
|
||
<summary>
|
||
Numeric-extensions for <see cref="T:System.Numerics.Vector3" />.
|
||
</summary>
|
||
</member>
|
||
<member name="M:X10D.Numerics.Vector3Extensions.Deconstruct(System.Numerics.Vector3,System.Single@,System.Single@,System.Single@)">
|
||
<summary>
|
||
Deconstructs the current <see cref="T:System.Numerics.Vector3" /> into its components.
|
||
</summary>
|
||
<param name="vector">The vector to deconstruct.</param>
|
||
<param name="x">The X component value.</param>
|
||
<param name="y">The Y component value.</param>
|
||
<param name="z">The Z component value.</param>
|
||
</member>
|
||
<member name="M:X10D.Numerics.Vector3Extensions.WithX(System.Numerics.Vector3,System.Single)">
|
||
<summary>
|
||
Returns a vector whose Y and Z components are the same as the specified vector, and whose X component is a new value.
|
||
</summary>
|
||
<param name="vector">The vector to copy.</param>
|
||
<param name="x">The new X component value.</param>
|
||
<returns>
|
||
A new instance of <see cref="T:System.Numerics.Vector3" /> whose <see cref="F:System.Numerics.Vector3.Y" /> and <see cref="F:System.Numerics.Vector3.Z" /> components are
|
||
the same as that of <paramref name="vector" />, and whose <see cref="F:System.Numerics.Vector3.Y" /> component is <paramref name="x" />.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Numerics.Vector3Extensions.WithY(System.Numerics.Vector3,System.Single)">
|
||
<summary>
|
||
Returns a vector whose X and Z components are the same as the specified vector, and whose Y component is a new value.
|
||
</summary>
|
||
<param name="vector">The vector to copy.</param>
|
||
<param name="y">The new Y component value.</param>
|
||
<returns>
|
||
A new instance of <see cref="T:System.Numerics.Vector3" /> whose <see cref="F:System.Numerics.Vector3.X" /> and <see cref="F:System.Numerics.Vector3.Z" /> components are
|
||
the same as that of <paramref name="vector" />, and whose <see cref="F:System.Numerics.Vector3.Y" /> component is <paramref name="y" />.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Numerics.Vector3Extensions.WithZ(System.Numerics.Vector3,System.Single)">
|
||
<summary>
|
||
Returns a vector whose X and Y components are the same as the specified vector, and whose Z component is a new value.
|
||
</summary>
|
||
<param name="vector">The vector to copy.</param>
|
||
<param name="z">The new Z component value.</param>
|
||
<returns>
|
||
A new instance of <see cref="T:System.Numerics.Vector3" /> whose <see cref="F:System.Numerics.Vector3.X" /> and <see cref="F:System.Numerics.Vector3.Y" /> components are
|
||
the same as that of <paramref name="vector" />, and whose <see cref="F:System.Numerics.Vector3.Z" /> component is <paramref name="z" />.
|
||
</returns>
|
||
</member>
|
||
<member name="T:X10D.Numerics.Vector4Extensions">
|
||
<summary>
|
||
Numeric-extensions for <see cref="T:System.Numerics.Vector4" />.
|
||
</summary>
|
||
</member>
|
||
<member name="M:X10D.Numerics.Vector4Extensions.Deconstruct(System.Numerics.Vector4,System.Single@,System.Single@,System.Single@,System.Single@)">
|
||
<summary>
|
||
Deconstructs the current <see cref="T:System.Numerics.Vector4" /> into its components.
|
||
</summary>
|
||
<param name="vector">The vector to deconstruct.</param>
|
||
<param name="x">The X component value.</param>
|
||
<param name="y">The Y component value.</param>
|
||
<param name="z">The Z component value.</param>
|
||
<param name="w">The W component value.</param>
|
||
</member>
|
||
<member name="M:X10D.Numerics.Vector4Extensions.WithX(System.Numerics.Vector4,System.Single)">
|
||
<summary>
|
||
Returns a vector whose Y, Z, and W components are the same as the specified vector, and whose X component is a new
|
||
value.
|
||
</summary>
|
||
<param name="vector">The vector to copy.</param>
|
||
<param name="x">The new X component value.</param>
|
||
<returns>
|
||
A new instance of <see cref="T:System.Numerics.Vector4" /> whose <see cref="F:System.Numerics.Vector4.Y" />, <see cref="F:System.Numerics.Vector4.Z" />, and
|
||
<see cref="F:System.Numerics.Vector4.W" /> components are the same as that of <paramref name="vector" />, and whose
|
||
<see cref="F:System.Numerics.Vector4.X" /> component is <paramref name="x" />.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Numerics.Vector4Extensions.WithY(System.Numerics.Vector4,System.Single)">
|
||
<summary>
|
||
Returns a vector whose X, Z, and W components are the same as the specified vector, and whose Y component is a new
|
||
value.
|
||
</summary>
|
||
<param name="vector">The vector to copy.</param>
|
||
<param name="y">The new Y component value.</param>
|
||
<returns>
|
||
A new instance of <see cref="T:System.Numerics.Vector4" /> whose <see cref="F:System.Numerics.Vector4.X" />, <see cref="F:System.Numerics.Vector4.Z" />, and
|
||
<see cref="F:System.Numerics.Vector4.W" /> components are the same as that of <paramref name="vector" />, and whose
|
||
<see cref="F:System.Numerics.Vector4.Y" /> component is <paramref name="y" />.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Numerics.Vector4Extensions.WithZ(System.Numerics.Vector4,System.Single)">
|
||
<summary>
|
||
Returns a vector whose X, Y, and W components are the same as the specified vector, and whose Z component is a new
|
||
value.
|
||
</summary>
|
||
<param name="vector">The vector to copy.</param>
|
||
<param name="z">The new Z component value.</param>
|
||
<returns>
|
||
A new instance of <see cref="T:System.Numerics.Vector4" /> whose <see cref="F:System.Numerics.Vector4.X" />, <see cref="F:System.Numerics.Vector4.Y" />, and
|
||
<see cref="F:System.Numerics.Vector4.W" /> components are the same as that of <paramref name="vector" />, and whose
|
||
<see cref="F:System.Numerics.Vector4.Z" /> component is <paramref name="z" />.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Numerics.Vector4Extensions.WithW(System.Numerics.Vector4,System.Single)">
|
||
<summary>
|
||
Returns a vector whose X, Y, and Z components are the same as the specified vector, and whose W component is a new
|
||
value.
|
||
</summary>
|
||
<param name="vector">The vector to copy.</param>
|
||
<param name="w">The new W component value.</param>
|
||
<returns>
|
||
A new instance of <see cref="T:System.Numerics.Vector4" /> whose <see cref="F:System.Numerics.Vector4.X" />, <see cref="F:System.Numerics.Vector4.Y" />, and
|
||
<see cref="F:System.Numerics.Vector4.Z" /> components are the same as that of <paramref name="vector" />, and whose
|
||
<see cref="F:System.Numerics.Vector4.W" /> component is <paramref name="w" />.
|
||
</returns>
|
||
</member>
|
||
<member name="T:X10D.Reflection.MemberInfoExtensions">
|
||
<summary>
|
||
Extension methods for <see cref="T:System.Reflection.MemberInfo" />.
|
||
</summary>
|
||
</member>
|
||
<member name="M:X10D.Reflection.MemberInfoExtensions.HasCustomAttribute``1(System.Reflection.MemberInfo)">
|
||
<summary>
|
||
Returns a value indicating whether or not the current member has been decorated with a specified attribute.
|
||
</summary>
|
||
<param name="member">The member attributes to check.</param>
|
||
<typeparam name="T">The attribute type.</typeparam>
|
||
<returns>
|
||
<see langword="true" /> if the current member has been decorated with a specified attribute, or
|
||
<see langword="false" /> otherwise.
|
||
</returns>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="member" /> is <see langword="null" />.</exception>
|
||
</member>
|
||
<member name="M:X10D.Reflection.MemberInfoExtensions.HasCustomAttribute(System.Reflection.MemberInfo,System.Type)">
|
||
<summary>
|
||
Returns a value indicating whether or not the current member has been decorated with a specified attribute.
|
||
</summary>
|
||
<param name="member">The member attributes to check.</param>
|
||
<param name="attribute">The attribute type.</param>
|
||
<returns>
|
||
<see langword="true" /> if the current member has been decorated with a specified attribute, or
|
||
<see langword="false" /> otherwise.
|
||
</returns>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="member" /> is <see langword="null" />.</exception>
|
||
</member>
|
||
<member name="M:X10D.Reflection.MemberInfoExtensions.SelectFromCustomAttribute``2(System.Reflection.MemberInfo,System.Func{``0,``1})">
|
||
<summary>
|
||
Retrieves a custom attribute that is decorated by the current member, and projects it into to a new form.
|
||
</summary>
|
||
<typeparam name="TAttribute">The attribute type.</typeparam>
|
||
<typeparam name="TReturn">The return type of the <paramref name="selector" /> delegate.</typeparam>
|
||
<param name="member">The member.</param>
|
||
<param name="selector">A transform function to apply to the attribute.</param>
|
||
<returns>
|
||
An instance of <typeparamref name="TReturn" /> as provided from <paramref name="selector" />.
|
||
</returns>
|
||
<exception cref="T:System.ArgumentNullException">
|
||
<paramref name="member" /> is <see langword="null" />
|
||
-or-
|
||
<paramref name="selector" /> is <see langword="null" />.
|
||
</exception>
|
||
</member>
|
||
<member name="M:X10D.Reflection.MemberInfoExtensions.SelectFromCustomAttribute``2(System.Reflection.MemberInfo,System.Func{``0,``1},``1)">
|
||
<summary>
|
||
Retrieves a custom attribute that is decorated by the current member, and projects it into to a new form.
|
||
</summary>
|
||
<typeparam name="TAttribute">The attribute type.</typeparam>
|
||
<typeparam name="TReturn">The return type of the <paramref name="selector" /> delegate.</typeparam>
|
||
<param name="member">The member.</param>
|
||
<param name="selector">A transform function to apply to the attribute.</param>
|
||
<param name="defaultValue">The default value to return when the specified attribute is not found.</param>
|
||
<returns>
|
||
An instance of <typeparamref name="TReturn" /> as provided from <paramref name="selector" />.
|
||
</returns>
|
||
<exception cref="T:System.ArgumentNullException">
|
||
<paramref name="member" /> is <see langword="null" />
|
||
-or-
|
||
<paramref name="selector" /> is <see langword="null" />.
|
||
</exception>
|
||
</member>
|
||
<member name="T:X10D.Reflection.TypeExtensions">
|
||
<summary>
|
||
Extension methods for <see cref="T:System.Type" />.
|
||
</summary>
|
||
</member>
|
||
<member name="M:X10D.Reflection.TypeExtensions.Implements``1(System.Type)">
|
||
<summary>
|
||
Returns a value indicating whether the current type implements a specified interface.
|
||
</summary>
|
||
<param name="value">The type whose interface list to check.</param>
|
||
<typeparam name="T">The interface type.</typeparam>
|
||
<returns><see langword="true" /> if the current exists on the type; otherwise, <see langword="false" />.</returns>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="value" /> is <see langword="null" />.</exception>
|
||
</member>
|
||
<member name="M:X10D.Reflection.TypeExtensions.Implements(System.Type,System.Type)">
|
||
<summary>
|
||
Returns a value indicating whether the current type implements a specified interface.
|
||
</summary>
|
||
<param name="value">The type whose interface list to check.</param>
|
||
<param name="interfaceType">The interface type.</param>
|
||
<returns><see langword="true" /> if the current exists on the type; otherwise, <see langword="false" />.</returns>
|
||
<exception cref="T:System.ArgumentNullException">
|
||
<para><paramref name="value" /> is <see langword="null" />.</para>
|
||
-or-
|
||
<para><paramref name="interfaceType" /> is <see langword="null" />.</para>
|
||
</exception>
|
||
</member>
|
||
<member name="M:X10D.Reflection.TypeExtensions.Inherits``1(System.Type)">
|
||
<summary>
|
||
Returns a value indicating whether the current type inherits a specified type.
|
||
</summary>
|
||
<param name="value">The type whose interface list to check.</param>
|
||
<typeparam name="T">The base type.</typeparam>
|
||
<returns>
|
||
<see langword="true" /> if the current type inherits <typeparamref name="T" />, or <see langword="false" />
|
||
otherwise.
|
||
</returns>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="value" /> is <see langword="null" />.</exception>
|
||
<exception cref="T:System.ArgumentException"><paramref name="value" /> is not a class.</exception>
|
||
</member>
|
||
<member name="M:X10D.Reflection.TypeExtensions.Inherits(System.Type,System.Type)">
|
||
<summary>
|
||
Returns a value indicating whether the current type inherits a specified type.
|
||
</summary>
|
||
<param name="value">The type whose interface list to check.</param>
|
||
<param name="type">The base type.</param>
|
||
<returns>
|
||
<see langword="true" /> if the current type inherits <paramref name="type" />, or <see langword="false" />
|
||
otherwise.
|
||
</returns>
|
||
<exception cref="T:System.ArgumentNullException">
|
||
<para><paramref name="value" /> is <see langword="null" />.</para>
|
||
-or-
|
||
<para><paramref name="type" /> is <see langword="null" />.</para>
|
||
</exception>
|
||
<exception cref="T:System.ArgumentException">
|
||
<para><paramref name="value" /> is not a class.</para>
|
||
-or-
|
||
<para><paramref name="type" /> is not a class.</para>
|
||
</exception>
|
||
</member>
|
||
<member name="T:X10D.Text.CharExtensions">
|
||
<summary>
|
||
Text-related extension methods for <see cref="T:System.Char" />.
|
||
</summary>
|
||
</member>
|
||
<member name="M:X10D.Text.CharExtensions.IsEmoji(System.Char)">
|
||
<summary>
|
||
Returns a value indicating whether this character constitutes an emoji.
|
||
</summary>
|
||
<param name="value">The character to check.</param>
|
||
<returns><see langword="true" /> if this character is an emoji; otherwise, <see langword="false" />.</returns>
|
||
</member>
|
||
<member name="M:X10D.Text.CharExtensions.Repeat(System.Char,System.Int32)">
|
||
<summary>
|
||
Returns a string composed of the current character repeated a specified number of times.
|
||
</summary>
|
||
<param name="value">The character to repeat.</param>
|
||
<param name="count">The number of times to repeat.</param>
|
||
<returns>
|
||
A <see cref="T:System.String" /> composed of <paramref name="value" /> repeated <paramref name="count" /> times.
|
||
</returns>
|
||
</member>
|
||
<member name="T:X10D.Text.StringBuilderReader">
|
||
<summary>
|
||
Represents a <see cref="T:System.IO.TextReader"/> reads from a <see cref="T:System.Text.StringBuilder" />.
|
||
</summary>
|
||
</member>
|
||
<member name="M:X10D.Text.StringBuilderReader.#ctor(System.Text.StringBuilder)">
|
||
<summary>
|
||
Initializes a new instance of the <see cref="T:X10D.Text.StringBuilderReader" /> class.
|
||
</summary>
|
||
<param name="stringBuilder">The <see cref="T:System.Text.StringBuilder" /> to wrap.</param>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="stringBuilder" /> is <see langword="null" />.</exception>
|
||
</member>
|
||
<member name="M:X10D.Text.StringBuilderReader.Close">
|
||
<inheritdoc />
|
||
</member>
|
||
<member name="M:X10D.Text.StringBuilderReader.Peek">
|
||
<inheritdoc />
|
||
</member>
|
||
<member name="M:X10D.Text.StringBuilderReader.Read">
|
||
<inheritdoc />
|
||
</member>
|
||
<member name="M:X10D.Text.StringBuilderReader.Read(System.Char[],System.Int32,System.Int32)">
|
||
<inheritdoc />
|
||
</member>
|
||
<member name="M:X10D.Text.StringBuilderReader.Read(System.Span{System.Char})">
|
||
<inheritdoc />
|
||
</member>
|
||
<member name="M:X10D.Text.StringBuilderReader.ReadAsync(System.Char[],System.Int32,System.Int32)">
|
||
<inheritdoc />
|
||
</member>
|
||
<member name="M:X10D.Text.StringBuilderReader.ReadAsync(System.Memory{System.Char},System.Threading.CancellationToken)">
|
||
<summary>
|
||
Asynchronously reads the characters from the current stream into a memory block.
|
||
</summary>
|
||
<param name="buffer">
|
||
When this method returns, contains the specified memory block of characters replaced by the characters read from the
|
||
current source.
|
||
</param>
|
||
<param name="cancellationToken">Ignored.</param>
|
||
<returns>
|
||
A value task that represents the asynchronous read operation. The value of the type parameter contains the number of
|
||
characters that have been read, or 0 if at the end of the stream and no data was read. The number will be less than or
|
||
equal to the buffer length, depending on whether the data is available within the stream.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Text.StringBuilderReader.ReadBlock(System.Span{System.Char})">
|
||
<inheritdoc />
|
||
</member>
|
||
<member name="M:X10D.Text.StringBuilderReader.ReadBlock(System.Char[],System.Int32,System.Int32)">
|
||
<inheritdoc />
|
||
</member>
|
||
<member name="M:X10D.Text.StringBuilderReader.ReadBlockAsync(System.Char[],System.Int32,System.Int32)">
|
||
<inheritdoc />
|
||
</member>
|
||
<member name="M:X10D.Text.StringBuilderReader.ReadBlockAsync(System.Memory{System.Char},System.Threading.CancellationToken)">
|
||
<summary>
|
||
Asynchronously reads the characters from the current stream and writes the data to a buffer.
|
||
</summary>
|
||
<param name="buffer">
|
||
When this method returns, contains the specified memory block of characters replaced by the characters read from the
|
||
current source.
|
||
</param>
|
||
<param name="cancellationToken">Ignored.</param>
|
||
<returns>
|
||
A value task that represents the asynchronous read operation. The value of the type parameter contains the total
|
||
number of characters read into the buffer. The result value can be less than the number of characters requested if the
|
||
number of characters currently available is less than the requested number, or it can be 0 (zero) if the end of the
|
||
stream has been reached.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Text.StringBuilderReader.ReadLine">
|
||
<inheritdoc />
|
||
</member>
|
||
<member name="M:X10D.Text.StringBuilderReader.ReadLineAsync">
|
||
<inheritdoc />
|
||
</member>
|
||
<member name="M:X10D.Text.StringBuilderReader.ReadToEnd">
|
||
<inheritdoc />
|
||
</member>
|
||
<member name="M:X10D.Text.StringBuilderReader.ReadToEndAsync">
|
||
<inheritdoc />
|
||
</member>
|
||
<member name="T:X10D.Text.StringExtensions">
|
||
<summary>
|
||
Text-related extension methods for <see cref="T:System.String" />.
|
||
</summary>
|
||
</member>
|
||
<member name="M:X10D.Text.StringExtensions.AsNullIfEmpty(System.String)">
|
||
<summary>
|
||
Normalizes a string which may be either <see langword="null" /> or empty to <see langword="null" />.
|
||
</summary>
|
||
<param name="value">The value to normalize.</param>
|
||
<returns>
|
||
<see langword="null" /> if <paramref name="value" /> is <see langword="null" /> or empty; otherwise,
|
||
<paramref name="value" />.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Text.StringExtensions.AsNullIfWhiteSpace(System.String)">
|
||
<summary>
|
||
Normalizes a string which may be either <see langword="null" />, empty, or consisting of only whitespace, to
|
||
<see langword="null" />.
|
||
</summary>
|
||
<param name="value">The value to normalize.</param>
|
||
<returns>
|
||
<see langword="null" /> if <paramref name="value" /> is <see langword="null" />, empty, or consists of only
|
||
whitespace; otherwise, <paramref name="value" />.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Text.StringExtensions.Base64Decode(System.String)">
|
||
<summary>
|
||
Converts the specified string, which encodes binary data as base-64 digits, to an equivalent plain text string.
|
||
</summary>
|
||
<param name="value">The base-64 string to convert.</param>
|
||
<returns>The plain text string representation of <paramref name="value" />.</returns>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="value" /> is <see langword="null" />.</exception>
|
||
</member>
|
||
<member name="M:X10D.Text.StringExtensions.Base64Encode(System.String)">
|
||
<summary>
|
||
Converts the current string to its equivalent string representation that is encoded with base-64 digits.
|
||
</summary>
|
||
<param name="value">The plain text string to convert.</param>
|
||
<returns>The string representation, in base 64, of <paramref name="value" />.</returns>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="value" /> is <see langword="null" />.</exception>
|
||
</member>
|
||
<member name="M:X10D.Text.StringExtensions.ChangeEncoding(System.String,System.Text.Encoding,System.Text.Encoding)">
|
||
<summary>
|
||
Converts this string from one encoding to another.
|
||
</summary>
|
||
<param name="value">The input string.</param>
|
||
<param name="sourceEncoding">The input encoding.</param>
|
||
<param name="destinationEncoding">The output encoding.</param>
|
||
<returns>
|
||
Returns a new <see cref="T:System.String" /> with its data converted to
|
||
<paramref name="destinationEncoding" />.
|
||
</returns>
|
||
<exception cref="T:System.ArgumentNullException">
|
||
<paramref name="value" /> is <see langword="null" />
|
||
- or -
|
||
<paramref name="sourceEncoding" /> is <see langword="null" />
|
||
-or
|
||
<paramref name="destinationEncoding" /> is <see langword="null" />.
|
||
</exception>
|
||
</member>
|
||
<member name="M:X10D.Text.StringExtensions.EnumParse``1(System.String)">
|
||
<summary>
|
||
Parses a <see cref="T:System.String" /> into an <see cref="T:System.Enum" />.
|
||
</summary>
|
||
<typeparam name="T">The type of the <see cref="T:System.Enum" />.</typeparam>
|
||
<param name="value">The <see cref="T:System.String" /> value to parse.</param>
|
||
<returns>The <see cref="T:System.Enum" /> value corresponding to the <see cref="T:System.String" />.</returns>
|
||
<remarks>
|
||
Credit for this method goes to Scott Dorman:
|
||
(http://geekswithblogs.net/sdorman/Default.aspx).
|
||
</remarks>
|
||
</member>
|
||
<member name="M:X10D.Text.StringExtensions.EnumParse``1(System.String,System.Boolean)">
|
||
<summary>
|
||
Parses a <see cref="T:System.String" /> into an <see cref="T:System.Enum" />.
|
||
</summary>
|
||
<typeparam name="T">The type of the <see cref="T:System.Enum" />.</typeparam>
|
||
<param name="value">The <see cref="T:System.String" /> value to parse.</param>
|
||
<param name="ignoreCase">Whether or not to ignore casing.</param>
|
||
<returns>The <see cref="T:System.Enum" /> value corresponding to the <see cref="T:System.String" />.</returns>
|
||
<remarks>
|
||
Credit for this method goes to Scott Dorman:
|
||
(http://geekswithblogs.net/sdorman/Default.aspx).
|
||
</remarks>
|
||
</member>
|
||
<member name="M:X10D.Text.StringExtensions.GetBytes(System.String)">
|
||
<summary>
|
||
Gets a <see cref="T:System.Byte" />[] representing the value the <see cref="T:System.String" /> with
|
||
<see cref="P:System.Text.Encoding.UTF8" /> encoding.
|
||
</summary>
|
||
<param name="value">The string to convert.</param>
|
||
<returns>Returns a <see cref="T:System.Byte" />[].</returns>
|
||
</member>
|
||
<member name="M:X10D.Text.StringExtensions.GetBytes(System.String,System.Text.Encoding)">
|
||
<summary>
|
||
Gets a <see cref="T:System.Byte" />[] representing the value the <see cref="T:System.String" /> with the provided encoding.
|
||
</summary>
|
||
<param name="value">The string to convert.</param>
|
||
<param name="encoding">The encoding to use.</param>
|
||
<returns>Returns a <see cref="T:System.Byte" />[].</returns>
|
||
<exception cref="T:System.ArgumentNullException">
|
||
<paramref name="value" /> or <paramref name="encoding" /> or both are
|
||
<see langword="null" />.
|
||
</exception>
|
||
</member>
|
||
<member name="M:X10D.Text.StringExtensions.IsEmoji(System.String)">
|
||
<summary>
|
||
Returns a value indicating whether this string constitutes an emoji.
|
||
</summary>
|
||
<param name="value">The input string.</param>
|
||
<returns><see langword="true" /> if this string is an emoji; otherwise, <see langword="false" />.</returns>
|
||
</member>
|
||
<member name="M:X10D.Text.StringExtensions.IsLower(System.String)">
|
||
<summary>
|
||
Determines if all alpha characters in this string are considered lowercase.
|
||
</summary>
|
||
<param name="value">The input string.</param>
|
||
<returns>
|
||
<see langword="true" /> if all alpha characters in this string are lowercase; otherwise, <see langword="false" />.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Text.StringExtensions.IsPalindrome(System.String)">
|
||
<summary>
|
||
Determines whether the current string is considered palindromic; that is, the letters within the string are the
|
||
same when reversed.
|
||
</summary>
|
||
<param name="value">The value to check.</param>
|
||
<returns>
|
||
<see langword="true" /> if <paramref name="value" /> is considered a palindromic string; otherwise,
|
||
<see langword="false" />.
|
||
</returns>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="value" /> is <see langword="null" />.</exception>
|
||
</member>
|
||
<member name="M:X10D.Text.StringExtensions.IsUpper(System.String)">
|
||
<summary>
|
||
Determines if all alpha characters in this string are considered uppercase.
|
||
</summary>
|
||
<param name="value">The input string.</param>
|
||
<returns>
|
||
<see langword="true" /> if all alpha characters in this string are uppercase; otherwise, <see langword="false" />.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Text.StringExtensions.Repeat(System.String,System.Int32)">
|
||
<summary>
|
||
Repeats a string a specified number of times.
|
||
</summary>
|
||
<param name="value">The string to repeat.</param>
|
||
<param name="count">The repeat count.</param>
|
||
<returns>A string containing <paramref name="value" /> repeated <paramref name="count" /> times.
|
||
</returns>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="value" /> is <see langword="null" />.</exception>
|
||
</member>
|
||
<member name="M:X10D.Text.StringExtensions.Randomize(System.String,System.Int32,System.Random)">
|
||
<summary>
|
||
Returns a new string of a specified length by randomly selecting characters from the current string.
|
||
</summary>
|
||
<param name="source">The pool of characters to use.</param>
|
||
<param name="length">The length of the new string returned.</param>
|
||
<param name="random">The <see cref="T:System.Random" /> supplier.</param>
|
||
<returns>
|
||
A new string whose length is equal to <paramref name="length" /> which contains randomly selected characters from
|
||
<paramref name="source" />.
|
||
</returns>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception>
|
||
<exception cref="T:System.ArgumentOutOfRangeException"><paramref name="length" /> is less than 0.</exception>
|
||
</member>
|
||
<member name="M:X10D.Text.StringExtensions.Reverse(System.String)">
|
||
<summary>
|
||
Reverses the current string.
|
||
</summary>
|
||
<param name="value">The string to reverse.</param>
|
||
<returns>A <see cref="T:System.String" /> whose characters are that of <paramref name="value" /> in reverse order.</returns>
|
||
</member>
|
||
<member name="M:X10D.Text.StringExtensions.Shuffled(System.String,System.Random)">
|
||
<summary>
|
||
Shuffles the characters in the string.
|
||
</summary>
|
||
<param name="value">The string to shuffle.</param>
|
||
<param name="random">
|
||
The <see cref="T:System.Random" /> instance to use for the shuffling. If <see langword="null" /> is specified, a shared
|
||
instance is used.
|
||
</param>
|
||
<returns>A new <see cref="T:System.String" /> containing the characters in <paramref name="value" />, rearranged.</returns>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="value" /> is <see langword="null" />.</exception>
|
||
</member>
|
||
<member name="M:X10D.Text.StringExtensions.Split(System.String,System.Int32)">
|
||
<summary>
|
||
Splits the <see cref="T:System.String" /> into chunks that are no greater than <paramref name="chunkSize" /> in length.
|
||
</summary>
|
||
<param name="value">The string to split.</param>
|
||
<param name="chunkSize">The maximum length of each string in the returned result.</param>
|
||
<returns>
|
||
Returns an <see cref="T:System.Collections.Generic.IEnumerable`1" /> containing <see cref="T:System.String" /> instances which are no
|
||
greater than <paramref name="chunkSize" /> in length.
|
||
</returns>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="value" /> is <see langword="null" />.</exception>
|
||
</member>
|
||
<member name="M:X10D.Text.StringExtensions.WithEmptyAlternative(System.String,System.String)">
|
||
<summary>
|
||
Normalizes a string which may be either <see langword="null" /> or empty to a specified alternative.
|
||
</summary>
|
||
<param name="value">The value to normalize.</param>
|
||
<param name="alternative">The alternative string.</param>
|
||
<returns>
|
||
<paramref name="alternative" /> if <paramref name="value" /> is <see langword="null" /> or empty; otherwise,
|
||
<paramref name="value" />.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Text.StringExtensions.WithWhiteSpaceAlternative(System.String,System.String)">
|
||
<summary>
|
||
Normalizes a string which may be either <see langword="null" />, empty, or consisting of only whitespace, to a
|
||
specified alternative.
|
||
</summary>
|
||
<param name="value">The value to normalize.</param>
|
||
<param name="alternative">The alternative string.</param>
|
||
<returns>
|
||
<paramref name="alternative" /> if <paramref name="value" /> is <see langword="null" />, empty, or consists of only
|
||
whitespace; otherwise, <paramref name="value" />.
|
||
</returns>
|
||
</member>
|
||
<member name="T:X10D.Time.ByteExtensions">
|
||
<summary>
|
||
Time-related extension methods for <see cref="T:System.Byte" />.
|
||
</summary>
|
||
</member>
|
||
<member name="M:X10D.Time.ByteExtensions.IsLeapYear(System.Byte)">
|
||
<summary>
|
||
Returns a value indicating whether the current integer, representing a year, is a leap year.
|
||
</summary>
|
||
<param name="value">The value whose leap year status to check.</param>
|
||
<returns>
|
||
<see langword="true" /> if <paramref name="value" /> refers to a leap year; otherwise, <see langword="false" />.
|
||
</returns>
|
||
<exception cref="T:System.ArgumentOutOfRangeException"><paramref name="value" /> is 0.</exception>
|
||
</member>
|
||
<member name="M:X10D.Time.ByteExtensions.FromUnixTimeMilliseconds(System.Byte)">
|
||
<summary>
|
||
Converts a Unix time expressed as the number of milliseconds that have elapsed since 1970-01-01T00:00:00Z to a
|
||
<see cref="T:System.DateTimeOffset" /> value.
|
||
</summary>
|
||
<param name="value">
|
||
A Unix time, expressed as the number of milliseconds that have elapsed since 1970-01-01T00:00:00Z (January 1,
|
||
1970, at 12:00 AM UTC). For Unix times before this date, its value is negative.
|
||
</param>
|
||
<returns>A date and time value that represents the same moment in time as the Unix time.</returns>
|
||
<exception cref="T:System.ArgumentOutOfRangeException">
|
||
<para><paramref name="value" /> is less than -62,135,596,800,000.</para>
|
||
-or-
|
||
<para><paramref name="value" /> is greater than 253,402,300,799,999.</para>
|
||
</exception>
|
||
</member>
|
||
<member name="M:X10D.Time.ByteExtensions.FromUnixTimeSeconds(System.Byte)">
|
||
<summary>
|
||
Converts a Unix time expressed as the number of seconds that have elapsed since 1970-01-01T00:00:00Z to a
|
||
<see cref="T:System.DateTimeOffset" /> value.
|
||
</summary>
|
||
<param name="value">
|
||
A Unix time, expressed as the number of seconds that have elapsed since 1970-01-01T00:00:00Z (January 1, 1970, at
|
||
12:00 AM UTC). For Unix times before this date, its value is negative.
|
||
</param>
|
||
<returns>A date and time value that represents the same moment in time as the Unix time.</returns>
|
||
<exception cref="T:System.ArgumentOutOfRangeException">
|
||
<para><paramref name="value" /> is less than -62,135,596,800.</para>
|
||
-or-
|
||
<para><paramref name="value" /> is greater than 253,402,300,799.</para>
|
||
</exception>
|
||
</member>
|
||
<member name="M:X10D.Time.ByteExtensions.Ticks(System.Byte)">
|
||
<summary>
|
||
Returns a <see cref="T:System.TimeSpan" /> that represents this value as the number of ticks.
|
||
</summary>
|
||
<param name="value">The duration, in ticks.</param>
|
||
<returns>A <see cref="T:System.TimeSpan" /> whose <see cref="P:System.TimeSpan.Ticks" /> will equal <paramref name="value" />.</returns>
|
||
</member>
|
||
<member name="M:X10D.Time.ByteExtensions.Milliseconds(System.Byte)">
|
||
<summary>
|
||
Returns a <see cref="T:System.TimeSpan" /> that represents this value as the number of milliseconds.
|
||
</summary>
|
||
<param name="value">The duration, in milliseconds.</param>
|
||
<returns>
|
||
A <see cref="T:System.TimeSpan" /> whose <see cref="P:System.TimeSpan.TotalMilliseconds" /> will equal <paramref name="value" />.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Time.ByteExtensions.Seconds(System.Byte)">
|
||
<summary>
|
||
Returns a <see cref="T:System.TimeSpan" /> that represents this value as the number of seconds.
|
||
</summary>
|
||
<param name="value">The duration, in seconds.</param>
|
||
<returns>
|
||
A <see cref="T:System.TimeSpan" /> whose <see cref="P:System.TimeSpan.TotalSeconds" /> will equal <paramref name="value" />.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Time.ByteExtensions.Minutes(System.Byte)">
|
||
<summary>
|
||
Returns a <see cref="T:System.TimeSpan" /> that represents this value as the number of minutes.
|
||
</summary>
|
||
<param name="value">The duration, in minutes.</param>
|
||
<returns>
|
||
A <see cref="T:System.TimeSpan" /> whose <see cref="P:System.TimeSpan.TotalMinutes" /> will equal <paramref name="value" />.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Time.ByteExtensions.Hours(System.Byte)">
|
||
<summary>
|
||
Returns a <see cref="T:System.TimeSpan" /> that represents this value as the number of hours.
|
||
</summary>
|
||
<param name="value">The duration, in hours.</param>
|
||
<returns>
|
||
A <see cref="T:System.TimeSpan" /> whose <see cref="P:System.TimeSpan.TotalHours" /> will equal <paramref name="value" />.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Time.ByteExtensions.Days(System.Byte)">
|
||
<summary>
|
||
Returns a <see cref="T:System.TimeSpan" /> that represents this value as the number of days.
|
||
</summary>
|
||
<param name="value">The duration, in days.</param>
|
||
<returns>A <see cref="T:System.TimeSpan" /> whose <see cref="P:System.TimeSpan.TotalDays" /> will equal <paramref name="value" />.</returns>
|
||
</member>
|
||
<member name="M:X10D.Time.ByteExtensions.Weeks(System.Byte)">
|
||
<summary>
|
||
Returns a <see cref="T:System.TimeSpan" /> that represents this value as the number of weeks.
|
||
</summary>
|
||
<param name="value">The duration, in weeks.</param>
|
||
<returns>
|
||
A <see cref="T:System.TimeSpan" /> whose <see cref="P:System.TimeSpan.TotalDays" /> will equal <paramref name="value" /> × 7.
|
||
</returns>
|
||
</member>
|
||
<member name="T:X10D.Time.DateTimeExtensions">
|
||
<summary>
|
||
Extension methods for <see cref="T:System.DateTime" />.
|
||
</summary>
|
||
</member>
|
||
<member name="M:X10D.Time.DateTimeExtensions.Age(System.DateTime)">
|
||
<inheritdoc cref="M:X10D.Time.DateTimeOffsetExtensions.Age(System.DateTimeOffset)" />
|
||
</member>
|
||
<member name="M:X10D.Time.DateTimeExtensions.Age(System.DateTime,System.DateTime)">
|
||
<inheritdoc cref="M:X10D.Time.DateTimeOffsetExtensions.Age(System.DateTimeOffset,System.DateTimeOffset)" />
|
||
</member>
|
||
<member name="M:X10D.Time.DateTimeExtensions.First(System.DateTime,System.DayOfWeek)">
|
||
<inheritdoc cref="M:X10D.Time.DateTimeOffsetExtensions.First(System.DateTimeOffset,System.DayOfWeek)" />
|
||
<returns>A <see cref="T:System.DateTime" /> representing the first occurence of <paramref name="dayOfWeek" />.</returns>
|
||
</member>
|
||
<member name="M:X10D.Time.DateTimeExtensions.FirstDayOfMonth(System.DateTime)">
|
||
<inheritdoc cref="M:X10D.Time.DateTimeOffsetExtensions.FirstDayOfMonth(System.DateTimeOffset)" />
|
||
<returns>A <see cref="T:System.DateTime" /> representing the first day of the current month.</returns>
|
||
</member>
|
||
<member name="M:X10D.Time.DateTimeExtensions.IsLeapYear(System.DateTime)">
|
||
<summary>
|
||
Returns a value indicating whether the year represented by the current <see cref="T:System.DateTime" /> is a leap year.
|
||
</summary>
|
||
<param name="value">The date whose year to check.</param>
|
||
<returns>
|
||
<see langword="true" /> if the year represented by <paramref name="value" /> is a leap year; otherwise,
|
||
<see langword="false" />.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Time.DateTimeExtensions.Last(System.DateTime,System.DayOfWeek)">
|
||
<inheritdoc cref="M:X10D.Time.DateTimeOffsetExtensions.Last(System.DateTimeOffset,System.DayOfWeek)" />
|
||
<returns>A <see cref="T:System.DateTimeOffset" /> representing the final occurence of <paramref name="dayOfWeek" />.</returns>
|
||
</member>
|
||
<member name="M:X10D.Time.DateTimeExtensions.LastDayOfMonth(System.DateTime)">
|
||
<inheritdoc cref="M:X10D.Time.DateTimeOffsetExtensions.LastDayOfMonth(System.DateTimeOffset)" />
|
||
<returns>A <see cref="T:System.DateTimeOffset" /> representing the last day of the current month.</returns>
|
||
</member>
|
||
<member name="M:X10D.Time.DateTimeExtensions.Next(System.DateTime,System.DayOfWeek)">
|
||
<inheritdoc cref="M:X10D.Time.DateTimeOffsetExtensions.Next(System.DateTimeOffset,System.DayOfWeek)" />
|
||
<returns>A <see cref="T:System.DateTimeOffset" /> representing the next occurence of <paramref name="dayOfWeek" />.</returns>
|
||
</member>
|
||
<member name="M:X10D.Time.DateTimeExtensions.ToUnixTimeMilliseconds(System.DateTime)">
|
||
<summary>
|
||
Returns the number of milliseconds that have elapsed since 1970-01-01T00:00:00.000Z.
|
||
</summary>
|
||
<param name="value">The current date.</param>
|
||
<returns>The number of milliseconds that have elapsed since 1970-01-01T00:00:00.000Z.</returns>
|
||
</member>
|
||
<member name="M:X10D.Time.DateTimeExtensions.ToUnixTimeSeconds(System.DateTime)">
|
||
<summary>
|
||
Returns the number of seconds that have elapsed since 1970-01-01T00:00:00.000Z.
|
||
</summary>
|
||
<param name="value">The current date.</param>
|
||
<returns>The number of seconds that have elapsed since 1970-01-01T00:00:00.000Z.</returns>
|
||
</member>
|
||
<member name="T:X10D.Time.DateTimeOffsetExtensions">
|
||
<summary>
|
||
Extension methods for <see cref="T:System.DateTimeOffset" />.
|
||
</summary>
|
||
</member>
|
||
<member name="M:X10D.Time.DateTimeOffsetExtensions.Age(System.DateTimeOffset)">
|
||
<summary>
|
||
Returns the rounded-down integer number of years since a given date as of today.
|
||
</summary>
|
||
<param name="value">The date from which to calculate.</param>
|
||
<returns>The rounded-down integer number of years since <paramref name="value" /> as of today.</returns>
|
||
</member>
|
||
<member name="M:X10D.Time.DateTimeOffsetExtensions.Age(System.DateTimeOffset,System.DateTimeOffset)">
|
||
<summary>
|
||
Returns the rounded-down integer number of years since a given date as of another specified date.
|
||
</summary>
|
||
<param name="value">The date from which to calculate.</param>
|
||
<param name="asOf">The date at which to stop calculating.</param>
|
||
<returns>
|
||
The rounded-down integer number of years since <paramref name="value" /> as of the date specified by
|
||
<paramref name="asOf" />.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Time.DateTimeOffsetExtensions.First(System.DateTimeOffset,System.DayOfWeek)">
|
||
<summary>
|
||
Gets a date representing the first occurence of a specified day of the week in the current month.
|
||
</summary>
|
||
<param name="value">The current date.</param>
|
||
<param name="dayOfWeek">The day of the week.</param>
|
||
<returns>A <see cref="T:System.DateTimeOffset" /> representing the first occurence of <paramref name="dayOfWeek" />.</returns>
|
||
</member>
|
||
<member name="M:X10D.Time.DateTimeOffsetExtensions.FirstDayOfMonth(System.DateTimeOffset)">
|
||
<summary>
|
||
Gets a date representing the first day of the current month.
|
||
</summary>
|
||
<param name="value">The current date.</param>
|
||
<returns>A <see cref="T:System.DateTimeOffset" /> representing the first day of the current month.</returns>
|
||
</member>
|
||
<member name="M:X10D.Time.DateTimeOffsetExtensions.IsLeapYear(System.DateTimeOffset)">
|
||
<summary>
|
||
Returns a value indicating whether the year represented by the current <see cref="T:System.DateTimeOffset" /> is a leap year.
|
||
</summary>
|
||
<param name="value">The date whose year to check.</param>
|
||
<returns>
|
||
<see langword="true" /> if the year represented by <paramref name="value" /> is a leap year; otherwise,
|
||
<see langword="false" />.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Time.DateTimeOffsetExtensions.Last(System.DateTimeOffset,System.DayOfWeek)">
|
||
<summary>
|
||
Gets a date representing the final occurence of a specified day of the week in the current month.
|
||
</summary>
|
||
<param name="value">The current date.</param>
|
||
<param name="dayOfWeek">The day of the week.</param>
|
||
<returns>A <see cref="T:System.DateTimeOffset" /> representing the final occurence of <paramref name="dayOfWeek" />.</returns>
|
||
</member>
|
||
<member name="M:X10D.Time.DateTimeOffsetExtensions.LastDayOfMonth(System.DateTimeOffset)">
|
||
<summary>
|
||
Gets a date representing the last day of the current month.
|
||
</summary>
|
||
<param name="value">The current date.</param>
|
||
<returns>A <see cref="T:System.DateTimeOffset" /> representing the last day of the current month.</returns>
|
||
</member>
|
||
<member name="M:X10D.Time.DateTimeOffsetExtensions.Next(System.DateTimeOffset,System.DayOfWeek)">
|
||
<summary>
|
||
Gets a date representing the next occurence of a specified day of the week in the current month.
|
||
</summary>
|
||
<param name="value">The current date.</param>
|
||
<param name="dayOfWeek">The day of the week.</param>
|
||
<returns>A <see cref="T:System.DateTimeOffset" /> representing the next occurence of <paramref name="dayOfWeek" />.</returns>
|
||
</member>
|
||
<member name="T:X10D.Time.DecimalExtensions">
|
||
<summary>
|
||
Time-related extension methods for <see cref="T:System.Decimal" />.
|
||
</summary>
|
||
</member>
|
||
<member name="M:X10D.Time.DecimalExtensions.Milliseconds(System.Decimal)">
|
||
<summary>
|
||
Returns a <see cref="T:System.TimeSpan" /> that represents this value as the number of milliseconds.
|
||
</summary>
|
||
<param name="value">The duration, in milliseconds.</param>
|
||
<returns>
|
||
A <see cref="T:System.TimeSpan" /> whose <see cref="P:System.TimeSpan.TotalMilliseconds" /> will equal <paramref name="value" />.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Time.DecimalExtensions.Seconds(System.Decimal)">
|
||
<summary>
|
||
Returns a <see cref="T:System.TimeSpan" /> that represents this value as the number of seconds.
|
||
</summary>
|
||
<param name="value">The duration, in seconds.</param>
|
||
<returns>
|
||
A <see cref="T:System.TimeSpan" /> whose <see cref="P:System.TimeSpan.TotalSeconds" /> will equal <paramref name="value" />.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Time.DecimalExtensions.Minutes(System.Decimal)">
|
||
<summary>
|
||
Returns a <see cref="T:System.TimeSpan" /> that represents this value as the number of minutes.
|
||
</summary>
|
||
<param name="value">The duration, in minutes.</param>
|
||
<returns>
|
||
A <see cref="T:System.TimeSpan" /> whose <see cref="P:System.TimeSpan.TotalMinutes" /> will equal <paramref name="value" />.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Time.DecimalExtensions.Hours(System.Decimal)">
|
||
<summary>
|
||
Returns a <see cref="T:System.TimeSpan" /> that represents this value as the number of hours.
|
||
</summary>
|
||
<param name="value">The duration, in hours.</param>
|
||
<returns>
|
||
A <see cref="T:System.TimeSpan" /> whose <see cref="P:System.TimeSpan.TotalHours" /> will equal <paramref name="value" />.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Time.DecimalExtensions.Days(System.Decimal)">
|
||
<summary>
|
||
Returns a <see cref="T:System.TimeSpan" /> that represents this value as the number of days.
|
||
</summary>
|
||
<param name="value">The duration, in days.</param>
|
||
<returns>A <see cref="T:System.TimeSpan" /> whose <see cref="P:System.TimeSpan.TotalDays" /> will equal <paramref name="value" />.</returns>
|
||
</member>
|
||
<member name="M:X10D.Time.DecimalExtensions.Weeks(System.Decimal)">
|
||
<summary>
|
||
Returns a <see cref="T:System.TimeSpan" /> that represents this value as the number of weeks.
|
||
</summary>
|
||
<param name="value">The duration, in weeks.</param>
|
||
<returns>
|
||
A <see cref="T:System.TimeSpan" /> whose <see cref="P:System.TimeSpan.TotalDays" /> will equal <paramref name="value" /> × 7.
|
||
</returns>
|
||
</member>
|
||
<member name="T:X10D.Time.DoubleExtensions">
|
||
<summary>
|
||
Time-related extension methods for <see cref="T:System.Double" />.
|
||
</summary>
|
||
</member>
|
||
<member name="M:X10D.Time.DoubleExtensions.Milliseconds(System.Double)">
|
||
<summary>
|
||
Returns a <see cref="T:System.TimeSpan" /> that represents this value as the number of milliseconds.
|
||
</summary>
|
||
<param name="value">The duration, in milliseconds.</param>
|
||
<returns>
|
||
A <see cref="T:System.TimeSpan" /> whose <see cref="P:System.TimeSpan.TotalMilliseconds" /> will equal <paramref name="value" />.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Time.DoubleExtensions.Seconds(System.Double)">
|
||
<summary>
|
||
Returns a <see cref="T:System.TimeSpan" /> that represents this value as the number of seconds.
|
||
</summary>
|
||
<param name="value">The duration, in seconds.</param>
|
||
<returns>
|
||
A <see cref="T:System.TimeSpan" /> whose <see cref="P:System.TimeSpan.TotalSeconds" /> will equal <paramref name="value" />.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Time.DoubleExtensions.Minutes(System.Double)">
|
||
<summary>
|
||
Returns a <see cref="T:System.TimeSpan" /> that represents this value as the number of minutes.
|
||
</summary>
|
||
<param name="value">The duration, in minutes.</param>
|
||
<returns>
|
||
A <see cref="T:System.TimeSpan" /> whose <see cref="P:System.TimeSpan.TotalMinutes" /> will equal <paramref name="value" />.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Time.DoubleExtensions.Hours(System.Double)">
|
||
<summary>
|
||
Returns a <see cref="T:System.TimeSpan" /> that represents this value as the number of hours.
|
||
</summary>
|
||
<param name="value">The duration, in hours.</param>
|
||
<returns>
|
||
A <see cref="T:System.TimeSpan" /> whose <see cref="P:System.TimeSpan.TotalHours" /> will equal <paramref name="value" />.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Time.DoubleExtensions.Days(System.Double)">
|
||
<summary>
|
||
Returns a <see cref="T:System.TimeSpan" /> that represents this value as the number of days.
|
||
</summary>
|
||
<param name="value">The duration, in days.</param>
|
||
<returns>A <see cref="T:System.TimeSpan" /> whose <see cref="P:System.TimeSpan.TotalDays" /> will equal <paramref name="value" />.</returns>
|
||
</member>
|
||
<member name="M:X10D.Time.DoubleExtensions.Weeks(System.Double)">
|
||
<summary>
|
||
Returns a <see cref="T:System.TimeSpan" /> that represents this value as the number of weeks.
|
||
</summary>
|
||
<param name="value">The duration, in weeks.</param>
|
||
<returns>
|
||
A <see cref="T:System.TimeSpan" /> whose <see cref="P:System.TimeSpan.TotalDays" /> will equal <paramref name="value" /> × 7.
|
||
</returns>
|
||
</member>
|
||
<member name="T:X10D.Time.Int16Extensions">
|
||
<summary>
|
||
Time-related extension methods for <see cref="T:System.Int16" />.
|
||
</summary>
|
||
</member>
|
||
<member name="M:X10D.Time.Int16Extensions.IsLeapYear(System.Int16)">
|
||
<summary>
|
||
Returns a value indicating whether the current integer, representing a year, is a leap year.
|
||
</summary>
|
||
<param name="value">The value whose leap year status to check.</param>
|
||
<returns>
|
||
<see langword="true" /> if <paramref name="value" /> refers to a leap year; otherwise, <see langword="false" />.
|
||
</returns>
|
||
<exception cref="T:System.ArgumentOutOfRangeException"><paramref name="value" /> is 0.</exception>
|
||
</member>
|
||
<member name="M:X10D.Time.Int16Extensions.FromUnixTimeMilliseconds(System.Int16)">
|
||
<summary>
|
||
Converts a Unix time expressed as the number of milliseconds that have elapsed since 1970-01-01T00:00:00Z to a
|
||
<see cref="T:System.DateTimeOffset" /> value.
|
||
</summary>
|
||
<param name="value">
|
||
A Unix time, expressed as the number of milliseconds that have elapsed since 1970-01-01T00:00:00Z (January 1, 1970, at
|
||
12:00 AM UTC). For Unix times before this date, its value is negative.
|
||
</param>
|
||
<returns>A date and time value that represents the same moment in time as the Unix time.</returns>
|
||
<exception cref="T:System.ArgumentOutOfRangeException">
|
||
<para><paramref name="value" /> is less than -62,135,596,800,000.</para>
|
||
-or-
|
||
<para><paramref name="value" /> is greater than 253,402,300,799,999.</para>
|
||
</exception>
|
||
</member>
|
||
<member name="M:X10D.Time.Int16Extensions.FromUnixTimeSeconds(System.Int16)">
|
||
<summary>
|
||
Converts a Unix time expressed as the number of seconds that have elapsed since 1970-01-01T00:00:00Z to a
|
||
<see cref="T:System.DateTimeOffset" /> value.
|
||
</summary>
|
||
<param name="value">
|
||
A Unix time, expressed as the number of seconds that have elapsed since 1970-01-01T00:00:00Z (January 1, 1970, at
|
||
12:00 AM UTC). For Unix times before this date, its value is negative.
|
||
</param>
|
||
<returns>A date and time value that represents the same moment in time as the Unix time.</returns>
|
||
<exception cref="T:System.ArgumentOutOfRangeException">
|
||
<para><paramref name="value" /> is less than -62,135,596,800.</para>
|
||
-or-
|
||
<para><paramref name="value" /> is greater than 253,402,300,799.</para>
|
||
</exception>
|
||
</member>
|
||
<member name="M:X10D.Time.Int16Extensions.Ticks(System.Int16)">
|
||
<summary>
|
||
Returns a <see cref="T:System.TimeSpan" /> that represents this value as the number of ticks.
|
||
</summary>
|
||
<param name="value">The duration, in ticks.</param>
|
||
<returns>A <see cref="T:System.TimeSpan" /> whose <see cref="P:System.TimeSpan.Ticks" /> will equal <paramref name="value" />.</returns>
|
||
</member>
|
||
<member name="M:X10D.Time.Int16Extensions.Milliseconds(System.Int16)">
|
||
<summary>
|
||
Returns a <see cref="T:System.TimeSpan" /> that represents this value as the number of milliseconds.
|
||
</summary>
|
||
<param name="value">The duration, in milliseconds.</param>
|
||
<returns>
|
||
A <see cref="T:System.TimeSpan" /> whose <see cref="P:System.TimeSpan.TotalMilliseconds" /> will equal <paramref name="value" />.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Time.Int16Extensions.Seconds(System.Int16)">
|
||
<summary>
|
||
Returns a <see cref="T:System.TimeSpan" /> that represents this value as the number of seconds.
|
||
</summary>
|
||
<param name="value">The duration, in seconds.</param>
|
||
<returns>
|
||
A <see cref="T:System.TimeSpan" /> whose <see cref="P:System.TimeSpan.TotalSeconds" /> will equal <paramref name="value" />.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Time.Int16Extensions.Minutes(System.Int16)">
|
||
<summary>
|
||
Returns a <see cref="T:System.TimeSpan" /> that represents this value as the number of minutes.
|
||
</summary>
|
||
<param name="value">The duration, in minutes.</param>
|
||
<returns>
|
||
A <see cref="T:System.TimeSpan" /> whose <see cref="P:System.TimeSpan.TotalMinutes" /> will equal <paramref name="value" />.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Time.Int16Extensions.Hours(System.Int16)">
|
||
<summary>
|
||
Returns a <see cref="T:System.TimeSpan" /> that represents this value as the number of hours.
|
||
</summary>
|
||
<param name="value">The duration, in hours.</param>
|
||
<returns>
|
||
A <see cref="T:System.TimeSpan" /> whose <see cref="P:System.TimeSpan.TotalHours" /> will equal <paramref name="value" />.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Time.Int16Extensions.Days(System.Int16)">
|
||
<summary>
|
||
Returns a <see cref="T:System.TimeSpan" /> that represents this value as the number of days.
|
||
</summary>
|
||
<param name="value">The duration, in days.</param>
|
||
<returns>A <see cref="T:System.TimeSpan" /> whose <see cref="P:System.TimeSpan.TotalDays" /> will equal <paramref name="value" />.</returns>
|
||
</member>
|
||
<member name="M:X10D.Time.Int16Extensions.Weeks(System.Int16)">
|
||
<summary>
|
||
Returns a <see cref="T:System.TimeSpan" /> that represents this value as the number of weeks.
|
||
</summary>
|
||
<param name="value">The duration, in weeks.</param>
|
||
<returns>
|
||
A <see cref="T:System.TimeSpan" /> whose <see cref="P:System.TimeSpan.TotalDays" /> will equal <paramref name="value" /> × 7.
|
||
</returns>
|
||
</member>
|
||
<member name="T:X10D.Time.Int32Extensions">
|
||
<summary>
|
||
Time-related extension methods for <see cref="T:System.Int32" />.
|
||
</summary>
|
||
</member>
|
||
<member name="M:X10D.Time.Int32Extensions.IsLeapYear(System.Int32)">
|
||
<summary>
|
||
Returns a value indicating whether the current integer, representing a year, is a leap year.
|
||
</summary>
|
||
<param name="value">The value whose leap year status to check.</param>
|
||
<returns>
|
||
<see langword="true" /> if <paramref name="value" /> refers to a leap year; otherwise, <see langword="false" />.
|
||
</returns>
|
||
<exception cref="T:System.ArgumentOutOfRangeException"><paramref name="value" /> is 0.</exception>
|
||
</member>
|
||
<member name="M:X10D.Time.Int32Extensions.FromUnixTimeMilliseconds(System.Int32)">
|
||
<summary>
|
||
Converts a Unix time expressed as the number of milliseconds that have elapsed since 1970-01-01T00:00:00Z to a
|
||
<see cref="T:System.DateTimeOffset" /> value.
|
||
</summary>
|
||
<param name="value">
|
||
A Unix time, expressed as the number of milliseconds that have elapsed since 1970-01-01T00:00:00Z (January 1,
|
||
1970, at 12:00 AM UTC). For Unix times before this date, its value is negative.
|
||
</param>
|
||
<returns>A date and time value that represents the same moment in time as the Unix time.</returns>
|
||
<exception cref="T:System.ArgumentOutOfRangeException">
|
||
<para><paramref name="value" /> is less than -62,135,596,800,000.</para>
|
||
-or-
|
||
<para><paramref name="value" /> is greater than 253,402,300,799,999.</para>
|
||
</exception>
|
||
</member>
|
||
<member name="M:X10D.Time.Int32Extensions.FromUnixTimeSeconds(System.Int32)">
|
||
<summary>
|
||
Converts a Unix time expressed as the number of seconds that have elapsed since 1970-01-01T00:00:00Z to a
|
||
<see cref="T:System.DateTimeOffset" /> value.
|
||
</summary>
|
||
<param name="value">
|
||
A Unix time, expressed as the number of seconds that have elapsed since 1970-01-01T00:00:00Z (January 1, 1970, at
|
||
12:00 AM UTC). For Unix times before this date, its value is negative.
|
||
</param>
|
||
<returns>A date and time value that represents the same moment in time as the Unix time.</returns>
|
||
<exception cref="T:System.ArgumentOutOfRangeException">
|
||
<para><paramref name="value" /> is less than -62,135,596,800.</para>
|
||
-or-
|
||
<para><paramref name="value" /> is greater than 253,402,300,799.</para>
|
||
</exception>
|
||
</member>
|
||
<member name="M:X10D.Time.Int32Extensions.Ticks(System.Int32)">
|
||
<summary>
|
||
Returns a <see cref="T:System.TimeSpan" /> that represents this value as the number of ticks.
|
||
</summary>
|
||
<param name="value">The duration, in ticks.</param>
|
||
<returns>A <see cref="T:System.TimeSpan" /> whose <see cref="P:System.TimeSpan.Ticks" /> will equal <paramref name="value" />.</returns>
|
||
</member>
|
||
<member name="M:X10D.Time.Int32Extensions.Milliseconds(System.Int32)">
|
||
<summary>
|
||
Returns a <see cref="T:System.TimeSpan" /> that represents this value as the number of milliseconds.
|
||
</summary>
|
||
<param name="value">The duration, in milliseconds.</param>
|
||
<returns>
|
||
A <see cref="T:System.TimeSpan" /> whose <see cref="P:System.TimeSpan.TotalMilliseconds" /> will equal <paramref name="value" />.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Time.Int32Extensions.Seconds(System.Int32)">
|
||
<summary>
|
||
Returns a <see cref="T:System.TimeSpan" /> that represents this value as the number of seconds.
|
||
</summary>
|
||
<param name="value">The duration, in seconds.</param>
|
||
<returns>
|
||
A <see cref="T:System.TimeSpan" /> whose <see cref="P:System.TimeSpan.TotalSeconds" /> will equal <paramref name="value" />.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Time.Int32Extensions.Minutes(System.Int32)">
|
||
<summary>
|
||
Returns a <see cref="T:System.TimeSpan" /> that represents this value as the number of minutes.
|
||
</summary>
|
||
<param name="value">The duration, in minutes.</param>
|
||
<returns>
|
||
A <see cref="T:System.TimeSpan" /> whose <see cref="P:System.TimeSpan.TotalMinutes" /> will equal <paramref name="value" />.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Time.Int32Extensions.Hours(System.Int32)">
|
||
<summary>
|
||
Returns a <see cref="T:System.TimeSpan" /> that represents this value as the number of hours.
|
||
</summary>
|
||
<param name="value">The duration, in hours.</param>
|
||
<returns>
|
||
A <see cref="T:System.TimeSpan" /> whose <see cref="P:System.TimeSpan.TotalHours" /> will equal <paramref name="value" />.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Time.Int32Extensions.Days(System.Int32)">
|
||
<summary>
|
||
Returns a <see cref="T:System.TimeSpan" /> that represents this value as the number of days.
|
||
</summary>
|
||
<param name="value">The duration, in days.</param>
|
||
<returns>A <see cref="T:System.TimeSpan" /> whose <see cref="P:System.TimeSpan.TotalDays" /> will equal <paramref name="value" />.</returns>
|
||
</member>
|
||
<member name="M:X10D.Time.Int32Extensions.Weeks(System.Int32)">
|
||
<summary>
|
||
Returns a <see cref="T:System.TimeSpan" /> that represents this value as the number of weeks.
|
||
</summary>
|
||
<param name="value">The duration, in weeks.</param>
|
||
<returns>
|
||
A <see cref="T:System.TimeSpan" /> whose <see cref="P:System.TimeSpan.TotalDays" /> will equal <paramref name="value" /> × 7.
|
||
</returns>
|
||
</member>
|
||
<member name="T:X10D.Time.Int64Extensions">
|
||
<summary>
|
||
Time-related extension methods for <see cref="T:System.Int64" />.
|
||
</summary>
|
||
</member>
|
||
<member name="M:X10D.Time.Int64Extensions.IsLeapYear(System.Int64)">
|
||
<summary>
|
||
Returns a value indicating whether the current integer, representing a year, is a leap year.
|
||
</summary>
|
||
<param name="value">The value whose leap year status to check.</param>
|
||
<returns>
|
||
<see langword="true" /> if <paramref name="value" /> refers to a leap year; otherwise, <see langword="false" />.
|
||
</returns>
|
||
<exception cref="T:System.ArgumentOutOfRangeException"><paramref name="value" /> is 0.</exception>
|
||
</member>
|
||
<member name="M:X10D.Time.Int64Extensions.FromUnixTimeMilliseconds(System.Int64)">
|
||
<summary>
|
||
Converts a Unix time expressed as the number of milliseconds that have elapsed since 1970-01-01T00:00:00Z to a
|
||
<see cref="T:System.DateTimeOffset" /> value.
|
||
</summary>
|
||
<param name="value">
|
||
A Unix time, expressed as the number of milliseconds that have elapsed since 1970-01-01T00:00:00Z (January 1,
|
||
1970, at 12:00 AM UTC). For Unix times before this date, its value is negative.
|
||
</param>
|
||
<returns>A date and time value that represents the same moment in time as the Unix time.</returns>
|
||
<exception cref="T:System.ArgumentOutOfRangeException">
|
||
<para><paramref name="value" /> is less than -62,135,596,800,000.</para>
|
||
-or-
|
||
<para><paramref name="value" /> is greater than 253,402,300,799,999.</para>
|
||
</exception>
|
||
</member>
|
||
<member name="M:X10D.Time.Int64Extensions.FromUnixTimeSeconds(System.Int64)">
|
||
<summary>
|
||
Converts a Unix time expressed as the number of seconds that have elapsed since 1970-01-01T00:00:00Z to a
|
||
<see cref="T:System.DateTimeOffset" /> value.
|
||
</summary>
|
||
<param name="value">
|
||
A Unix time, expressed as the number of seconds that have elapsed since 1970-01-01T00:00:00Z (January 1, 1970, at
|
||
12:00 AM UTC). For Unix times before this date, its value is negative.
|
||
</param>
|
||
<returns>A date and time value that represents the same moment in time as the Unix time.</returns>
|
||
<exception cref="T:System.ArgumentOutOfRangeException">
|
||
<para><paramref name="value" /> is less than -62,135,596,800.</para>
|
||
-or-
|
||
<para><paramref name="value" /> is greater than 253,402,300,799.</para>
|
||
</exception>
|
||
</member>
|
||
<member name="M:X10D.Time.Int64Extensions.Ticks(System.Int64)">
|
||
<summary>
|
||
Returns a <see cref="T:System.TimeSpan" /> that represents this value as the number of ticks.
|
||
</summary>
|
||
<param name="value">The duration, in ticks.</param>
|
||
<returns>A <see cref="T:System.TimeSpan" /> whose <see cref="P:System.TimeSpan.Ticks" /> will equal <paramref name="value" />.</returns>
|
||
</member>
|
||
<member name="M:X10D.Time.Int64Extensions.Milliseconds(System.Int64)">
|
||
<summary>
|
||
Returns a <see cref="T:System.TimeSpan" /> that represents this value as the number of milliseconds.
|
||
</summary>
|
||
<param name="value">The duration, in milliseconds.</param>
|
||
<returns>
|
||
A <see cref="T:System.TimeSpan" /> whose <see cref="P:System.TimeSpan.TotalMilliseconds" /> will equal <paramref name="value" />.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Time.Int64Extensions.Seconds(System.Int64)">
|
||
<summary>
|
||
Returns a <see cref="T:System.TimeSpan" /> that represents this value as the number of seconds.
|
||
</summary>
|
||
<param name="value">The duration, in seconds.</param>
|
||
<returns>
|
||
A <see cref="T:System.TimeSpan" /> whose <see cref="P:System.TimeSpan.TotalSeconds" /> will equal <paramref name="value" />.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Time.Int64Extensions.Minutes(System.Int64)">
|
||
<summary>
|
||
Returns a <see cref="T:System.TimeSpan" /> that represents this value as the number of minutes.
|
||
</summary>
|
||
<param name="value">The duration, in minutes.</param>
|
||
<returns>
|
||
A <see cref="T:System.TimeSpan" /> whose <see cref="P:System.TimeSpan.TotalMinutes" /> will equal <paramref name="value" />.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Time.Int64Extensions.Hours(System.Int64)">
|
||
<summary>
|
||
Returns a <see cref="T:System.TimeSpan" /> that represents this value as the number of hours.
|
||
</summary>
|
||
<param name="value">The duration, in hours.</param>
|
||
<returns>
|
||
A <see cref="T:System.TimeSpan" /> whose <see cref="P:System.TimeSpan.TotalHours" /> will equal <paramref name="value" />.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Time.Int64Extensions.Days(System.Int64)">
|
||
<summary>
|
||
Returns a <see cref="T:System.TimeSpan" /> that represents this value as the number of days.
|
||
</summary>
|
||
<param name="value">The duration, in days.</param>
|
||
<returns>A <see cref="T:System.TimeSpan" /> whose <see cref="P:System.TimeSpan.TotalDays" /> will equal <paramref name="value" />.</returns>
|
||
</member>
|
||
<member name="M:X10D.Time.Int64Extensions.Weeks(System.Int64)">
|
||
<summary>
|
||
Returns a <see cref="T:System.TimeSpan" /> that represents this value as the number of weeks.
|
||
</summary>
|
||
<param name="value">The duration, in weeks.</param>
|
||
<returns>
|
||
A <see cref="T:System.TimeSpan" /> whose <see cref="P:System.TimeSpan.TotalDays" /> will equal <paramref name="value" /> × 7.
|
||
</returns>
|
||
</member>
|
||
<member name="T:X10D.Time.SByteExtensions">
|
||
<summary>
|
||
Time-related extension methods for <see cref="T:System.SByte" />.
|
||
</summary>
|
||
</member>
|
||
<member name="M:X10D.Time.SByteExtensions.IsLeapYear(System.SByte)">
|
||
<summary>
|
||
Returns a value indicating whether the current integer, representing a year, is a leap year.
|
||
</summary>
|
||
<param name="value">The value whose leap year status to check.</param>
|
||
<returns>
|
||
<see langword="true" /> if <paramref name="value" /> refers to a leap year; otherwise, <see langword="false" />.
|
||
</returns>
|
||
<exception cref="T:System.ArgumentOutOfRangeException"><paramref name="value" /> is 0.</exception>
|
||
</member>
|
||
<member name="M:X10D.Time.SByteExtensions.FromUnixTimeMilliseconds(System.SByte)">
|
||
<summary>
|
||
Converts a Unix time expressed as the number of milliseconds that have elapsed since 1970-01-01T00:00:00Z to a
|
||
<see cref="T:System.DateTimeOffset" /> value.
|
||
</summary>
|
||
<param name="value">
|
||
A Unix time, expressed as the number of milliseconds that have elapsed since 1970-01-01T00:00:00Z (January 1,
|
||
1970, at 12:00 AM UTC). For Unix times before this date, its value is negative.
|
||
</param>
|
||
<returns>A date and time value that represents the same moment in time as the Unix time.</returns>
|
||
<exception cref="T:System.ArgumentOutOfRangeException">
|
||
<para><paramref name="value" /> is less than -62,135,596,800,000.</para>
|
||
-or-
|
||
<para><paramref name="value" /> is greater than 253,402,300,799,999.</para>
|
||
</exception>
|
||
</member>
|
||
<member name="M:X10D.Time.SByteExtensions.FromUnixTimeSeconds(System.SByte)">
|
||
<summary>
|
||
Converts a Unix time expressed as the number of seconds that have elapsed since 1970-01-01T00:00:00Z to a
|
||
<see cref="T:System.DateTimeOffset" /> value.
|
||
</summary>
|
||
<param name="value">
|
||
A Unix time, expressed as the number of seconds that have elapsed since 1970-01-01T00:00:00Z (January 1, 1970, at
|
||
12:00 AM UTC). For Unix times before this date, its value is negative.
|
||
</param>
|
||
<returns>A date and time value that represents the same moment in time as the Unix time.</returns>
|
||
<exception cref="T:System.ArgumentOutOfRangeException">
|
||
<para><paramref name="value" /> is less than -62,135,596,800.</para>
|
||
-or-
|
||
<para><paramref name="value" /> is greater than 253,402,300,799.</para>
|
||
</exception>
|
||
</member>
|
||
<member name="M:X10D.Time.SByteExtensions.Ticks(System.SByte)">
|
||
<summary>
|
||
Returns a <see cref="T:System.TimeSpan" /> that represents this value as the number of ticks.
|
||
</summary>
|
||
<param name="value">The duration, in ticks.</param>
|
||
<returns>A <see cref="T:System.TimeSpan" /> whose <see cref="P:System.TimeSpan.Ticks" /> will equal <paramref name="value" />.</returns>
|
||
</member>
|
||
<member name="M:X10D.Time.SByteExtensions.Milliseconds(System.SByte)">
|
||
<summary>
|
||
Returns a <see cref="T:System.TimeSpan" /> that represents this value as the number of milliseconds.
|
||
</summary>
|
||
<param name="value">The duration, in milliseconds.</param>
|
||
<returns>
|
||
A <see cref="T:System.TimeSpan" /> whose <see cref="P:System.TimeSpan.TotalMilliseconds" /> will equal <paramref name="value" />.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Time.SByteExtensions.Seconds(System.SByte)">
|
||
<summary>
|
||
Returns a <see cref="T:System.TimeSpan" /> that represents this value as the number of seconds.
|
||
</summary>
|
||
<param name="value">The duration, in seconds.</param>
|
||
<returns>
|
||
A <see cref="T:System.TimeSpan" /> whose <see cref="P:System.TimeSpan.TotalSeconds" /> will equal <paramref name="value" />.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Time.SByteExtensions.Minutes(System.SByte)">
|
||
<summary>
|
||
Returns a <see cref="T:System.TimeSpan" /> that represents this value as the number of minutes.
|
||
</summary>
|
||
<param name="value">The duration, in minutes.</param>
|
||
<returns>
|
||
A <see cref="T:System.TimeSpan" /> whose <see cref="P:System.TimeSpan.TotalMinutes" /> will equal <paramref name="value" />.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Time.SByteExtensions.Hours(System.SByte)">
|
||
<summary>
|
||
Returns a <see cref="T:System.TimeSpan" /> that represents this value as the number of hours.
|
||
</summary>
|
||
<param name="value">The duration, in hours.</param>
|
||
<returns>
|
||
A <see cref="T:System.TimeSpan" /> whose <see cref="P:System.TimeSpan.TotalHours" /> will equal <paramref name="value" />.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Time.SByteExtensions.Days(System.SByte)">
|
||
<summary>
|
||
Returns a <see cref="T:System.TimeSpan" /> that represents this value as the number of days.
|
||
</summary>
|
||
<param name="value">The duration, in days.</param>
|
||
<returns>A <see cref="T:System.TimeSpan" /> whose <see cref="P:System.TimeSpan.TotalDays" /> will equal <paramref name="value" />.</returns>
|
||
</member>
|
||
<member name="M:X10D.Time.SByteExtensions.Weeks(System.SByte)">
|
||
<summary>
|
||
Returns a <see cref="T:System.TimeSpan" /> that represents this value as the number of weeks.
|
||
</summary>
|
||
<param name="value">The duration, in weeks.</param>
|
||
<returns>
|
||
A <see cref="T:System.TimeSpan" /> whose <see cref="P:System.TimeSpan.TotalDays" /> will equal <paramref name="value" /> × 7.
|
||
</returns>
|
||
</member>
|
||
<member name="T:X10D.Time.SingleExtensions">
|
||
<summary>
|
||
Time-related extension methods for <see cref="T:System.Single" />.
|
||
</summary>
|
||
</member>
|
||
<member name="M:X10D.Time.SingleExtensions.Milliseconds(System.Single)">
|
||
<summary>
|
||
Returns a <see cref="T:System.TimeSpan" /> that represents this value as the number of milliseconds.
|
||
</summary>
|
||
<param name="value">The duration, in milliseconds.</param>
|
||
<returns>
|
||
A <see cref="T:System.TimeSpan" /> whose <see cref="P:System.TimeSpan.TotalMilliseconds" /> will equal <paramref name="value" />.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Time.SingleExtensions.Seconds(System.Single)">
|
||
<summary>
|
||
Returns a <see cref="T:System.TimeSpan" /> that represents this value as the number of seconds.
|
||
</summary>
|
||
<param name="value">The duration, in seconds.</param>
|
||
<returns>
|
||
A <see cref="T:System.TimeSpan" /> whose <see cref="P:System.TimeSpan.TotalSeconds" /> will equal <paramref name="value" />.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Time.SingleExtensions.Minutes(System.Single)">
|
||
<summary>
|
||
Returns a <see cref="T:System.TimeSpan" /> that represents this value as the number of minutes.
|
||
</summary>
|
||
<param name="value">The duration, in minutes.</param>
|
||
<returns>
|
||
A <see cref="T:System.TimeSpan" /> whose <see cref="P:System.TimeSpan.TotalMinutes" /> will equal <paramref name="value" />.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Time.SingleExtensions.Hours(System.Single)">
|
||
<summary>
|
||
Returns a <see cref="T:System.TimeSpan" /> that represents this value as the number of hours.
|
||
</summary>
|
||
<param name="value">The duration, in hours.</param>
|
||
<returns>
|
||
A <see cref="T:System.TimeSpan" /> whose <see cref="P:System.TimeSpan.TotalHours" /> will equal <paramref name="value" />.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Time.SingleExtensions.Days(System.Single)">
|
||
<summary>
|
||
Returns a <see cref="T:System.TimeSpan" /> that represents this value as the number of days.
|
||
</summary>
|
||
<param name="value">The duration, in days.</param>
|
||
<returns>A <see cref="T:System.TimeSpan" /> whose <see cref="P:System.TimeSpan.TotalDays" /> will equal <paramref name="value" />.</returns>
|
||
</member>
|
||
<member name="M:X10D.Time.SingleExtensions.Weeks(System.Single)">
|
||
<summary>
|
||
Returns a <see cref="T:System.TimeSpan" /> that represents this value as the number of weeks.
|
||
</summary>
|
||
<param name="value">The duration, in weeks.</param>
|
||
<returns>
|
||
A <see cref="T:System.TimeSpan" /> whose <see cref="P:System.TimeSpan.TotalDays" /> will equal <paramref name="value" /> × 7.
|
||
</returns>
|
||
</member>
|
||
<member name="T:X10D.Time.StringExtensions">
|
||
<summary>
|
||
Extension methods for <see cref="T:System.String" />.
|
||
</summary>
|
||
</member>
|
||
<member name="M:X10D.Time.StringExtensions.ToTimeSpan(System.String)">
|
||
<summary>
|
||
Parses a shorthand time span string (e.g. 3w 2d 1h) and converts it to an instance of <see cref="T:System.TimeSpan" />.
|
||
</summary>
|
||
<param name="input">
|
||
The input string. Floating point is not supported, but range the following units are supported:
|
||
|
||
<list type="table">
|
||
<listheader>
|
||
<term>Suffix</term>
|
||
<description>Meaning</description>
|
||
</listheader>
|
||
|
||
<item>
|
||
<term>ms</term>
|
||
<description>Milliseconds</description>
|
||
</item>
|
||
<item>
|
||
<term>s</term>
|
||
<description>Seconds</description>
|
||
</item>
|
||
<item>
|
||
<term>m</term>
|
||
<description>Minutes</description>
|
||
</item>
|
||
<item>
|
||
<term>h</term>
|
||
<description>Hours</description>
|
||
</item>
|
||
<item>
|
||
<term>d</term>
|
||
<description>Days</description>
|
||
</item>
|
||
<item>
|
||
<term>w</term>
|
||
<description>Weeks</description>
|
||
</item>
|
||
<item>
|
||
<term>mo</term>
|
||
<description>Months</description>
|
||
</item>
|
||
<item>
|
||
<term>y</term>
|
||
<description>Years</description>
|
||
</item>
|
||
</list>
|
||
</param>
|
||
<returns>A new instance of <see cref="T:System.TimeSpan" />.</returns>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="input" /> is <see langword="null" />.</exception>
|
||
</member>
|
||
<member name="T:X10D.Time.TimeSpanExtensions">
|
||
<summary>
|
||
Extension methods for <see cref="T:System.TimeSpan" />.
|
||
</summary>
|
||
</member>
|
||
<member name="M:X10D.Time.TimeSpanExtensions.Ago(System.TimeSpan)">
|
||
<summary>
|
||
Returns a <see cref="T:System.DateTime" /> that is a specified duration in the past relative to the current time.
|
||
</summary>
|
||
<param name="value">The <see cref="T:System.TimeSpan" /> whose duration to subtract.</param>
|
||
<returns>
|
||
A <see cref="T:System.DateTime" /> that is a duration of <paramref name="value" /> in the past relative to the current time.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Time.TimeSpanExtensions.FromNow(System.TimeSpan)">
|
||
<summary>
|
||
Returns a <see cref="T:System.DateTime" /> that is a specified duration in the future relative to the current time.
|
||
</summary>
|
||
<param name="value">The <see cref="T:System.TimeSpan" /> whose duration to add.</param>
|
||
<returns>
|
||
A <see cref="T:System.DateTime" /> that is a duration of <paramref name="value" /> in the future relative to the current time.
|
||
</returns>
|
||
</member>
|
||
<member name="T:X10D.Time.TimeSpanParser">
|
||
<summary>
|
||
Represents a class which contains a <see cref="T:System.String" /> parser which converts into <see cref="T:System.TimeSpan" />.
|
||
</summary>
|
||
</member>
|
||
<member name="M:X10D.Time.TimeSpanParser.TryParse(System.String,System.TimeSpan@)">
|
||
<summary>
|
||
Attempts to parses a shorthand time span string (e.g. 3w 2d 1h), converting it to an instance of
|
||
<see cref="T:System.TimeSpan" /> which represents that duration of time.
|
||
</summary>
|
||
<param name="value">
|
||
The input string. Floating point is not supported, but range the following units are supported:
|
||
|
||
<list type="table">
|
||
<listheader>
|
||
<term>Suffix</term>
|
||
<description>Meaning</description>
|
||
</listheader>
|
||
|
||
<item>
|
||
<term>ms</term>
|
||
<description>Milliseconds</description>
|
||
</item>
|
||
<item>
|
||
<term>s</term>
|
||
<description>Seconds</description>
|
||
</item>
|
||
<item>
|
||
<term>m</term>
|
||
<description>Minutes</description>
|
||
</item>
|
||
<item>
|
||
<term>h</term>
|
||
<description>Hours</description>
|
||
</item>
|
||
<item>
|
||
<term>d</term>
|
||
<description>Days</description>
|
||
</item>
|
||
<item>
|
||
<term>w</term>
|
||
<description>Weeks</description>
|
||
</item>
|
||
<item>
|
||
<term>mo</term>
|
||
<description>Months</description>
|
||
</item>
|
||
<item>
|
||
<term>y</term>
|
||
<description>Years</description>
|
||
</item>
|
||
</list>
|
||
</param>
|
||
<param name="result">When this method returns, contains the parsed result.</param>
|
||
<returns><see langword="true" /> if the parse was successful, <see langword="false" /> otherwise.</returns>
|
||
<exception cref="T:System.ArgumentNullException"><paramref name="value" /> is <see langword="null" />.</exception>
|
||
</member>
|
||
<member name="T:X10D.Time.UInt16Extensions">
|
||
<summary>
|
||
Time-related extension methods for <see cref="T:System.UInt16" />.
|
||
</summary>
|
||
</member>
|
||
<member name="M:X10D.Time.UInt16Extensions.FromUnixTimeMilliseconds(System.UInt16)">
|
||
<summary>
|
||
Converts a Unix time expressed as the number of milliseconds that have elapsed since 1970-01-01T00:00:00Z to a
|
||
<see cref="T:System.DateTimeOffset" /> value.
|
||
</summary>
|
||
<param name="value">
|
||
A Unix time, expressed as the number of milliseconds that have elapsed since 1970-01-01T00:00:00Z (January 1,
|
||
1970, at 12:00 AM UTC). For Unix times before this date, its value is negative.
|
||
</param>
|
||
<returns>A date and time value that represents the same moment in time as the Unix time.</returns>
|
||
<exception cref="T:System.ArgumentOutOfRangeException">
|
||
<para><paramref name="value" /> is less than -62,135,596,800,000.</para>
|
||
-or-
|
||
<para><paramref name="value" /> is greater than 253,402,300,799,999.</para>
|
||
</exception>
|
||
</member>
|
||
<member name="M:X10D.Time.UInt16Extensions.FromUnixTimeSeconds(System.UInt16)">
|
||
<summary>
|
||
Converts a Unix time expressed as the number of seconds that have elapsed since 1970-01-01T00:00:00Z to a
|
||
<see cref="T:System.DateTimeOffset" /> value.
|
||
</summary>
|
||
<param name="value">
|
||
A Unix time, expressed as the number of seconds that have elapsed since 1970-01-01T00:00:00Z (January 1, 1970, at
|
||
12:00 AM UTC). For Unix times before this date, its value is negative.
|
||
</param>
|
||
<returns>A date and time value that represents the same moment in time as the Unix time.</returns>
|
||
<exception cref="T:System.ArgumentOutOfRangeException">
|
||
<para><paramref name="value" /> is less than -62,135,596,800.</para>
|
||
-or-
|
||
<para><paramref name="value" /> is greater than 253,402,300,799.</para>
|
||
</exception>
|
||
</member>
|
||
<member name="M:X10D.Time.UInt16Extensions.IsLeapYear(System.UInt16)">
|
||
<summary>
|
||
Returns a value indicating whether the current integer, representing a year, is a leap year.
|
||
</summary>
|
||
<param name="value">The value whose leap year status to check.</param>
|
||
<returns>
|
||
<see langword="true" /> if <paramref name="value" /> refers to a leap year; otherwise, <see langword="false" />.
|
||
</returns>
|
||
<exception cref="T:System.ArgumentOutOfRangeException"><paramref name="value" /> is 0.</exception>
|
||
</member>
|
||
<member name="M:X10D.Time.UInt16Extensions.Ticks(System.UInt16)">
|
||
<summary>
|
||
Returns a <see cref="T:System.TimeSpan" /> that represents this value as the number of ticks.
|
||
</summary>
|
||
<param name="value">The duration, in ticks.</param>
|
||
<returns>A <see cref="T:System.TimeSpan" /> whose <see cref="P:System.TimeSpan.Ticks" /> will equal <paramref name="value" />.</returns>
|
||
</member>
|
||
<member name="M:X10D.Time.UInt16Extensions.Milliseconds(System.UInt16)">
|
||
<summary>
|
||
Returns a <see cref="T:System.TimeSpan" /> that represents this value as the number of milliseconds.
|
||
</summary>
|
||
<param name="value">The duration, in milliseconds.</param>
|
||
<returns>
|
||
A <see cref="T:System.TimeSpan" /> whose <see cref="P:System.TimeSpan.TotalMilliseconds" /> will equal <paramref name="value" />.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Time.UInt16Extensions.Seconds(System.UInt16)">
|
||
<summary>
|
||
Returns a <see cref="T:System.TimeSpan" /> that represents this value as the number of seconds.
|
||
</summary>
|
||
<param name="value">The duration, in seconds.</param>
|
||
<returns>
|
||
A <see cref="T:System.TimeSpan" /> whose <see cref="P:System.TimeSpan.TotalSeconds" /> will equal <paramref name="value" />.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Time.UInt16Extensions.Minutes(System.UInt16)">
|
||
<summary>
|
||
Returns a <see cref="T:System.TimeSpan" /> that represents this value as the number of minutes.
|
||
</summary>
|
||
<param name="value">The duration, in minutes.</param>
|
||
<returns>
|
||
A <see cref="T:System.TimeSpan" /> whose <see cref="P:System.TimeSpan.TotalMinutes" /> will equal <paramref name="value" />.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Time.UInt16Extensions.Hours(System.UInt16)">
|
||
<summary>
|
||
Returns a <see cref="T:System.TimeSpan" /> that represents this value as the number of hours.
|
||
</summary>
|
||
<param name="value">The duration, in hours.</param>
|
||
<returns>
|
||
A <see cref="T:System.TimeSpan" /> whose <see cref="P:System.TimeSpan.TotalHours" /> will equal <paramref name="value" />.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Time.UInt16Extensions.Days(System.UInt16)">
|
||
<summary>
|
||
Returns a <see cref="T:System.TimeSpan" /> that represents this value as the number of days.
|
||
</summary>
|
||
<param name="value">The duration, in days.</param>
|
||
<returns>A <see cref="T:System.TimeSpan" /> whose <see cref="P:System.TimeSpan.TotalDays" /> will equal <paramref name="value" />.</returns>
|
||
</member>
|
||
<member name="M:X10D.Time.UInt16Extensions.Weeks(System.UInt16)">
|
||
<summary>
|
||
Returns a <see cref="T:System.TimeSpan" /> that represents this value as the number of weeks.
|
||
</summary>
|
||
<param name="value">The duration, in weeks.</param>
|
||
<returns>
|
||
A <see cref="T:System.TimeSpan" /> whose <see cref="P:System.TimeSpan.TotalDays" /> will equal <paramref name="value" /> × 7.
|
||
</returns>
|
||
</member>
|
||
<member name="T:X10D.Time.UInt32Extensions">
|
||
<summary>
|
||
Time-related extension methods for <see cref="T:System.UInt32" />.
|
||
</summary>
|
||
</member>
|
||
<member name="M:X10D.Time.UInt32Extensions.FromUnixTimeMilliseconds(System.UInt32)">
|
||
<summary>
|
||
Converts a Unix time expressed as the number of milliseconds that have elapsed since 1970-01-01T00:00:00Z to a
|
||
<see cref="T:System.DateTimeOffset" /> value.
|
||
</summary>
|
||
<param name="value">
|
||
A Unix time, expressed as the number of milliseconds that have elapsed since 1970-01-01T00:00:00Z (January 1,
|
||
1970, at 12:00 AM UTC). For Unix times before this date, its value is negative.
|
||
</param>
|
||
<returns>A date and time value that represents the same moment in time as the Unix time.</returns>
|
||
<exception cref="T:System.ArgumentOutOfRangeException">
|
||
<para><paramref name="value" /> is less than -62,135,596,800,000.</para>
|
||
-or-
|
||
<para><paramref name="value" /> is greater than 253,402,300,799,999.</para>
|
||
</exception>
|
||
</member>
|
||
<member name="M:X10D.Time.UInt32Extensions.FromUnixTimeSeconds(System.UInt32)">
|
||
<summary>
|
||
Converts a Unix time expressed as the number of seconds that have elapsed since 1970-01-01T00:00:00Z to a
|
||
<see cref="T:System.DateTimeOffset" /> value.
|
||
</summary>
|
||
<param name="value">
|
||
A Unix time, expressed as the number of seconds that have elapsed since 1970-01-01T00:00:00Z (January 1, 1970, at
|
||
12:00 AM UTC). For Unix times before this date, its value is negative.
|
||
</param>
|
||
<returns>A date and time value that represents the same moment in time as the Unix time.</returns>
|
||
<exception cref="T:System.ArgumentOutOfRangeException">
|
||
<para><paramref name="value" /> is less than -62,135,596,800.</para>
|
||
-or-
|
||
<para><paramref name="value" /> is greater than 253,402,300,799.</para>
|
||
</exception>
|
||
</member>
|
||
<member name="M:X10D.Time.UInt32Extensions.IsLeapYear(System.UInt32)">
|
||
<summary>
|
||
Returns a value indicating whether the current integer, representing a year, is a leap year.
|
||
</summary>
|
||
<param name="value">The value whose leap year status to check.</param>
|
||
<returns>
|
||
<see langword="true" /> if <paramref name="value" /> refers to a leap year; otherwise, <see langword="false" />.
|
||
</returns>
|
||
<exception cref="T:System.ArgumentOutOfRangeException"><paramref name="value" /> is 0.</exception>
|
||
</member>
|
||
<member name="M:X10D.Time.UInt32Extensions.Ticks(System.UInt32)">
|
||
<summary>
|
||
Returns a <see cref="T:System.TimeSpan" /> that represents this value as the number of ticks.
|
||
</summary>
|
||
<param name="value">The duration, in ticks.</param>
|
||
<returns>A <see cref="T:System.TimeSpan" /> whose <see cref="P:System.TimeSpan.Ticks" /> will equal <paramref name="value" />.</returns>
|
||
</member>
|
||
<member name="M:X10D.Time.UInt32Extensions.Milliseconds(System.UInt32)">
|
||
<summary>
|
||
Returns a <see cref="T:System.TimeSpan" /> that represents this value as the number of milliseconds.
|
||
</summary>
|
||
<param name="value">The duration, in milliseconds.</param>
|
||
<returns>
|
||
A <see cref="T:System.TimeSpan" /> whose <see cref="P:System.TimeSpan.TotalMilliseconds" /> will equal <paramref name="value" />.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Time.UInt32Extensions.Seconds(System.UInt32)">
|
||
<summary>
|
||
Returns a <see cref="T:System.TimeSpan" /> that represents this value as the number of seconds.
|
||
</summary>
|
||
<param name="value">The duration, in seconds.</param>
|
||
<returns>
|
||
A <see cref="T:System.TimeSpan" /> whose <see cref="P:System.TimeSpan.TotalSeconds" /> will equal <paramref name="value" />.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Time.UInt32Extensions.Minutes(System.UInt32)">
|
||
<summary>
|
||
Returns a <see cref="T:System.TimeSpan" /> that represents this value as the number of minutes.
|
||
</summary>
|
||
<param name="value">The duration, in minutes.</param>
|
||
<returns>
|
||
A <see cref="T:System.TimeSpan" /> whose <see cref="P:System.TimeSpan.TotalMinutes" /> will equal <paramref name="value" />.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Time.UInt32Extensions.Hours(System.UInt32)">
|
||
<summary>
|
||
Returns a <see cref="T:System.TimeSpan" /> that represents this value as the number of hours.
|
||
</summary>
|
||
<param name="value">The duration, in hours.</param>
|
||
<returns>
|
||
A <see cref="T:System.TimeSpan" /> whose <see cref="P:System.TimeSpan.TotalHours" /> will equal <paramref name="value" />.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Time.UInt32Extensions.Days(System.UInt32)">
|
||
<summary>
|
||
Returns a <see cref="T:System.TimeSpan" /> that represents this value as the number of days.
|
||
</summary>
|
||
<param name="value">The duration, in days.</param>
|
||
<returns>A <see cref="T:System.TimeSpan" /> whose <see cref="P:System.TimeSpan.TotalDays" /> will equal <paramref name="value" />.</returns>
|
||
</member>
|
||
<member name="M:X10D.Time.UInt32Extensions.Weeks(System.UInt32)">
|
||
<summary>
|
||
Returns a <see cref="T:System.TimeSpan" /> that represents this value as the number of weeks.
|
||
</summary>
|
||
<param name="value">The duration, in weeks.</param>
|
||
<returns>
|
||
A <see cref="T:System.TimeSpan" /> whose <see cref="P:System.TimeSpan.TotalDays" /> will equal <paramref name="value" /> × 7.
|
||
</returns>
|
||
</member>
|
||
<member name="T:X10D.Time.UInt64Extensions">
|
||
<summary>
|
||
Time-related extension methods for <see cref="T:System.UInt64" />.
|
||
</summary>
|
||
</member>
|
||
<member name="M:X10D.Time.UInt64Extensions.FromUnixTimeMilliseconds(System.UInt64)">
|
||
<summary>
|
||
Converts a Unix time expressed as the number of milliseconds that have elapsed since 1970-01-01T00:00:00Z to a
|
||
<see cref="T:System.DateTimeOffset" /> value.
|
||
</summary>
|
||
<param name="value">
|
||
A Unix time, expressed as the number of milliseconds that have elapsed since 1970-01-01T00:00:00Z (January 1,
|
||
1970, at 12:00 AM UTC). For Unix times before this date, its value is negative.
|
||
</param>
|
||
<returns>A date and time value that represents the same moment in time as the Unix time.</returns>
|
||
<exception cref="T:System.ArgumentOutOfRangeException">
|
||
<para><paramref name="value" /> is less than -62,135,596,800,000.</para>
|
||
-or-
|
||
<para><paramref name="value" /> is greater than 253,402,300,799,999.</para>
|
||
</exception>
|
||
</member>
|
||
<member name="M:X10D.Time.UInt64Extensions.FromUnixTimeSeconds(System.UInt64)">
|
||
<summary>
|
||
Converts a Unix time expressed as the number of seconds that have elapsed since 1970-01-01T00:00:00Z to a
|
||
<see cref="T:System.DateTimeOffset" /> value.
|
||
</summary>
|
||
<param name="value">
|
||
A Unix time, expressed as the number of seconds that have elapsed since 1970-01-01T00:00:00Z (January 1, 1970, at
|
||
12:00 AM UTC). For Unix times before this date, its value is negative.
|
||
</param>
|
||
<returns>A date and time value that represents the same moment in time as the Unix time.</returns>
|
||
<exception cref="T:System.ArgumentOutOfRangeException">
|
||
<para><paramref name="value" /> is less than -62,135,596,800.</para>
|
||
-or-
|
||
<para><paramref name="value" /> is greater than 253,402,300,799.</para>
|
||
</exception>
|
||
</member>
|
||
<member name="M:X10D.Time.UInt64Extensions.IsLeapYear(System.UInt64)">
|
||
<summary>
|
||
Returns a value indicating whether the current integer, representing a year, is a leap year.
|
||
</summary>
|
||
<param name="value">The value whose leap year status to check.</param>
|
||
<returns>
|
||
<see langword="true" /> if <paramref name="value" /> refers to a leap year; otherwise, <see langword="false" />.
|
||
</returns>
|
||
<exception cref="T:System.ArgumentOutOfRangeException"><paramref name="value" /> is 0.</exception>
|
||
</member>
|
||
<member name="M:X10D.Time.UInt64Extensions.Ticks(System.UInt64)">
|
||
<summary>
|
||
Returns a <see cref="T:System.TimeSpan" /> that represents this value as the number of ticks.
|
||
</summary>
|
||
<param name="value">The duration, in ticks.</param>
|
||
<returns>A <see cref="T:System.TimeSpan" /> whose <see cref="P:System.TimeSpan.Ticks" /> will equal <paramref name="value" />.</returns>
|
||
</member>
|
||
<member name="M:X10D.Time.UInt64Extensions.Milliseconds(System.UInt64)">
|
||
<summary>
|
||
Returns a <see cref="T:System.TimeSpan" /> that represents this value as the number of milliseconds.
|
||
</summary>
|
||
<param name="value">The duration, in milliseconds.</param>
|
||
<returns>
|
||
A <see cref="T:System.TimeSpan" /> whose <see cref="P:System.TimeSpan.TotalMilliseconds" /> will equal <paramref name="value" />.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Time.UInt64Extensions.Seconds(System.UInt64)">
|
||
<summary>
|
||
Returns a <see cref="T:System.TimeSpan" /> that represents this value as the number of seconds.
|
||
</summary>
|
||
<param name="value">The duration, in seconds.</param>
|
||
<returns>
|
||
A <see cref="T:System.TimeSpan" /> whose <see cref="P:System.TimeSpan.TotalSeconds" /> will equal <paramref name="value" />.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Time.UInt64Extensions.Minutes(System.UInt64)">
|
||
<summary>
|
||
Returns a <see cref="T:System.TimeSpan" /> that represents this value as the number of minutes.
|
||
</summary>
|
||
<param name="value">The duration, in minutes.</param>
|
||
<returns>
|
||
A <see cref="T:System.TimeSpan" /> whose <see cref="P:System.TimeSpan.TotalMinutes" /> will equal <paramref name="value" />.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Time.UInt64Extensions.Hours(System.UInt64)">
|
||
<summary>
|
||
Returns a <see cref="T:System.TimeSpan" /> that represents this value as the number of hours.
|
||
</summary>
|
||
<param name="value">The duration, in hours.</param>
|
||
<returns>
|
||
A <see cref="T:System.TimeSpan" /> whose <see cref="P:System.TimeSpan.TotalHours" /> will equal <paramref name="value" />.
|
||
</returns>
|
||
</member>
|
||
<member name="M:X10D.Time.UInt64Extensions.Days(System.UInt64)">
|
||
<summary>
|
||
Returns a <see cref="T:System.TimeSpan" /> that represents this value as the number of days.
|
||
</summary>
|
||
<param name="value">The duration, in days.</param>
|
||
<returns>A <see cref="T:System.TimeSpan" /> whose <see cref="P:System.TimeSpan.TotalDays" /> will equal <paramref name="value" />.</returns>
|
||
</member>
|
||
<member name="M:X10D.Time.UInt64Extensions.Weeks(System.UInt64)">
|
||
<summary>
|
||
Returns a <see cref="T:System.TimeSpan" /> that represents this value as the number of weeks.
|
||
</summary>
|
||
<param name="value">The duration, in weeks.</param>
|
||
<returns>
|
||
A <see cref="T:System.TimeSpan" /> whose <see cref="P:System.TimeSpan.TotalDays" /> will equal <paramref name="value" /> × 7.
|
||
</returns>
|
||
</member>
|
||
</members>
|
||
</doc>
|