From 5075463acb4e4cf6a10a25450df36ae3e4842e56 Mon Sep 17 00:00:00 2001 From: Oliver Booth Date: Mon, 9 May 2022 19:59:15 +0100 Subject: [PATCH] Add documentation --- X10D.Unity.xml | 555 ++++ X10D.Unity.xml.meta | 7 + X10D.xml | 6182 +++++++++++++++++++++++++++++++++++++++++++ X10D.xml.meta | 7 + 4 files changed, 6751 insertions(+) create mode 100644 X10D.Unity.xml create mode 100644 X10D.Unity.xml.meta create mode 100644 X10D.xml create mode 100644 X10D.xml.meta diff --git a/X10D.Unity.xml b/X10D.Unity.xml new file mode 100644 index 0000000..5c10648 --- /dev/null +++ b/X10D.Unity.xml @@ -0,0 +1,555 @@ + + + + X10D.Unity + + + + + Extension methods for . + + + + + Returns an array of components of the specified type, excluding components that live on the object to which this + component is attached. + + The component whose child components to retrieve. + The type of the components to retrieve. + An array representing the child components. + + + + Drawing-related extensions for . + + + + + Returns a new with the red, green, and blue components inverted. Alpha is not affected. + + The color to invert. + The inverted color. + + + + Returns a vector whose red, green, and blue components are the same as the specified color, and whose alpha component + is a new value. + + The color to copy. + The new alpha component value. + + A new instance of whose , , and + components are the same as that of , and whose + component is . + + + + + Returns a vector whose red, green, and alpha components are the same as the specified color, and whose blue component + is a new value. + + The color to copy. + The new blue component value. + + A new instance of whose , , and + components are the same as that of , and whose + component is . + + + + + Returns a vector whose red, blue, and alpha components are the same as the specified color, and whose green component + is a new value. + + The color to copy. + The new green component value. + + A new instance of whose , , and + components are the same as that of , and whose + component is . + + + + + Returns a vector whose green, blue, and alpha components are the same as the specified color, and whose red component + is a new value. + + The color to copy. + The new red component value. + + A new instance of whose , , and + components are the same as that of , and whose + component is . + + + + + Drawing-related extensions for . + + + + + Returns a new with the red, green, and blue components inverted. Alpha is not affected. + + The color to invert. + The inverted color. + + + + Returns a vector whose red, green, and blue components are the same as the specified color, and whose alpha component + is a new value. + + The color to copy. + The new alpha component value. + + A new instance of whose , , and + components are the same as that of , and whose + component is . + + + + + Returns a vector whose red, green, and alpha components are the same as the specified color, and whose blue component + is a new value. + + The color to copy. + The new blue component value. + + A new instance of whose , , and + components are the same as that of , and whose + component is . + + + + + Returns a vector whose red, blue, and alpha components are the same as the specified color, and whose green component + is a new value. + + The color to copy. + The new green component value. + + A new instance of whose , , and + components are the same as that of , and whose + component is . + + + + + Returns a vector whose green, blue, and alpha components are the same as the specified color, and whose red component + is a new value. + + The color to copy. + The new red component value. + + A new instance of whose , , and + components are the same as that of , and whose + component is . + + + + + Extension methods for . + + + + + Returns an HDR color of random components for red, green, and blue. + + The instance. + A whose red, green, and blue components are all random, and whose alpha is 255 + is . + + + + Returns an HDR color composed of random components for apha, red, green, and blue. + + The instance. + A whose alpha, red, green, and blue components are all random. + is . + + + + Returns a color of random components for red, green, and blue. + + The instance. + A whose red, green, and blue components are all random, and whose alpha is 255 + is . + + + + Returns a color composed of random components for apha, red, green, and blue. + + The instance. + A whose alpha, red, green, and blue components are all random. + is . + + + + Extension methods for . + + + + + Returns an array of components of the specified type, excluding components that live on this game object. + + The game object whose child components to retrieve. + The type of the components to retrieve. + An array representing the child components. + + + + Rotates the transform component of this game object so the forward vector points at another game object. + + The game object whose rotation will be changed. + The game object to look at. + + is . + -or- + is . + + + + + Rotates the transform component of this game object so the forward vector points at . + + The game object whose rotation will be changed. + The point to look at. + is . + + + + Rotates the transform component of this game object so the forward vector points at a specified transform. + + The game object whose rotation will be changed. + The transform to look at. + + is . + -or- + is . + + + + + Rotates the transform component of this game object so the forward vector points at another game object. + + The game object whose rotation will be changed. + The game object to look at. + A vector specifying the upward direction. + + is . + -or- + is . + + + + + Rotates the transform component of this game object so the forward vector points at . + + The game object whose rotation will be changed. + The point to look at. + A vector specifying the upward direction. + is . + + + + Rotates the transform component of this game object so the forward vector points at a specified transform. + + The game object whose rotation will be changed. + The transform to look at. + A vector specifying the upward direction. + + is . + -or- + is . + + + + + Sets the new layer of this game object and its children, recursively. + + The game object whose layer, and that of its children recursively, to change. + The new layer. + is . + + + + Sets the parent of this game object. + + The game object whose parent to change. + The new parent. + + is . + -or- + is . + + + + + Sets the parent of this game object. + + The game object whose parent to change. + The new parent. + + is . + -or- + is . + + + + + Sets the parent of this game object. + + The game object whose parent to change. + The new parent. + + to modify the parent-relative position, scale and rotation such that the object keeps the same + world space position, rotation and scale as before; otherwise, . + + + is . + -or- + is . + + + + + Sets the parent of this game object. + + The game object whose parent to change. + The new parent. + + to modify the parent-relative position, scale and rotation such that the object keeps the same + world space position, rotation and scale as before; otherwise, . + + + is . + -or- + is . + + + + + Extension methods for . + + + + + Returns a randomly generated rotation as represented by a . + + The instance. + + A constructed from 3 random single-precision floating point numbers representing the + yaw, pitch, and roll. + + is . + + + + Returns a randomly generated rotation with uniform distribution. + + The instance. + A constructed with uniform distribution. + is . + + + + Returns a with magnitude 1 whose components indicate a random point on the unit circle. + + The instance + + A whose returns 1, and whose components indicate a random + point on the unit circle. + + + + + Returns a with magnitude 1 whose components indicate a random point on the unit sphere. + + The instance + + A whose returns 1, and whose components indicate a random + point on the unit sphere. + + + + + Numeric-extensions for . + + + + + Returns a vector whose Y component is the same as the specified vector, and whose X component is a new value. + + The vector to copy. + The new X component value. + + A new instance of whose components is the same as that of + , and whose component is . + + + + + Returns a vector whose X component is the same as the specified vector, and whose Y component is a new value. + + The vector to copy. + The new Y component value. + + A new instance of whose components is the same as that of + , and whose component is . + + + + + Numeric-extensions for . + + + + + Returns a vector whose Y and Z components are the same as the specified vector, and whose X component is a new value. + + The vector to copy. + The new X component value. + + A new instance of whose and components are + the same as that of , and whose component is . + + + + + Returns a vector whose X and Z components are the same as the specified vector, and whose Y component is a new value. + + The vector to copy. + The new Y component value. + + A new instance of whose and components are + the same as that of , and whose component is . + + + + + Returns a vector whose X and Y components are the same as the specified vector, and whose Z component is a new value. + + The vector to copy. + The new Z component value. + + A new instance of whose and components are + the same as that of , and whose component is . + + + + + Numeric-extensions for . + + + + + Returns a vector whose Y, Z, and W components are the same as the specified vector, and whose X component is a new + value. + + The vector to copy. + The new X component value. + + A new instance of whose , , and + components are the same as that of , and whose + component is . + + + + + Returns a vector whose X, Z, and W components are the same as the specified vector, and whose Y component is a new + value. + + The vector to copy. + The new Y component value. + + A new instance of whose , , and + components are the same as that of , and whose + component is . + + + + + Returns a vector whose X, Y, and W components are the same as the specified vector, and whose Z component is a new + value. + + The vector to copy. + The new Z component value. + + A new instance of whose , , and + components are the same as that of , and whose + component is . + + + + + Returns a vector whose X, Y, and Z components are the same as the specified vector, and whose W component is a new + value. + + The vector to copy. + The new W component value. + + A new instance of whose , , and + components are the same as that of , and whose + component is . + + + + + Extension methods for . + + + + + Rotates this transform so the forward vector points at another game object. + + The transform whose rotation will be changed. + The game object to look at. + + is . + -or- + is . + + + + + Rotates this transform so the forward vector points at another game object. + + The transform whose rotation will be changed. + The game object to look at. + A vector specifying the upward direction. + + is . + -or- + is . + + + + + Sets the parent of this transform. + + The transform whose parent to change. + The new parent. + + is . + -or- + is . + + + + + Sets the parent of this transform. + + The transform whose parent to change. + The new parent. + + to modify the parent-relative position, scale and rotation such that the object keeps the same + world space position, rotation and scale as before; otherwise, . + + + is . + -or- + is . + + + + diff --git a/X10D.Unity.xml.meta b/X10D.Unity.xml.meta new file mode 100644 index 0000000..e2fff74 --- /dev/null +++ b/X10D.Unity.xml.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 1838062dab58bb245a92a1a97416031b +TextScriptImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/X10D.xml b/X10D.xml new file mode 100644 index 0000000..4efd4cd --- /dev/null +++ b/X10D.xml @@ -0,0 +1,6182 @@ + + + + X10D + + + + + A strongly-typed resource class, for looking up localized strings, etc. + + + + + Returns the cached ResourceManager instance used by this class. + + + + + Overrides the current thread's CurrentUICulture property for all + resource lookups using this strongly typed resource class. + + + + + Looks up a localized string similar to Must specify valid information for parsing in the string.. + + + + + Looks up a localized string similar to Type provided must be an Enum.. + + + + + Extension methods for . + + + + + Returns a read-only wrapper for the array. + + The one-dimensional, zero-based array to wrap in a read-only wrapper. + The type of the elements in the array. + A wrapper for the specified array. + is . + + + + Clears the contents of an array. + + The array to clear. + The type of the elements in the array. + is . + + + + Sets a range of elements in an array to the default value of each element type. + + The array whose elements need to be cleared. + A range defining the start index and number of elements to clear. + The type of the elements in the array. + is . + + + + Sets a range of elements in an array to the default value of each element type. + + The array whose elements need to be cleared. + The starting index of the range of elements to clear. + The number of elements to clear. + The type of the elements in the array. + is . + + is less than the lower bound of . + -or- + is less zero. + -or- + The sum of and is greater than the size of array. + + + + + Collection-related extension methods for of . + + + + + Packs a collection of booleans into a . + + The collection of booleans to pack. + An 8-bit unsigned integer containing the packed booleans. + is . + contains more than 8 elements. + Alpha Anar + + + + Packs a collection of booleans into a . + + The collection of booleans to pack. + A 16-bit signed integer containing the packed booleans. + is . + contains more than 16 elements. + + + + Packs a collection of booleans into a . + + The collection of booleans to pack. + A 32-bit signed integer containing the packed booleans. + is . + contains more than 32 elements. + + + + Packs a collection of booleans into a . + + The collection of booleans to pack. + A 64-bit signed integer containing the packed booleans. + is . + contains more than 64 elements. + + + + Collection-related extension methods for . + + + + + Unpacks this 8-bit unsigned integer into a boolean list, treating it as a bit field. + + The value to unpack. + An array of with length 8. + + + + Unpacks this 8-bit unsigned integer into a boolean list, treating it as a bit field. + + The value to unpack. + When this method returns, contains the unpacked booleans from . + is not large enough to contain the result. + + + + Collection-related extension methods for . + + + + + Calls on each item in the collection, then clears the collection by calling + . + + The collection to clear, and whose elements should be disposed. + The type of the elements in . + is . + is read-only. + + + + + Asynchronously calls on each item in the collection, then clears the + collection by calling . + + The collection to clear, and whose elements should be disposed. + The type of the elements in . + is . + is read-only. + + + + + Extension methods for and similar types. + + + + + Adds a key/value pair to the if the key does not already exist, or updates a + key/value pair in the by using the specified function if the key already + exists. + + The dictionary to update. + The key to be added or whose value should be updated. + The value to be added for an absent key. + + The function used to generate a new value for an existing key based on the key's existing value. + + The type of the keys in the dictionary. + The type of the values in the dictionary. + + The new value for the key. This will be either be (if the key was absent) or the result + of (if the key was present). + + + is . + -or- + is . + + + + + Uses the specified functions to add a key/value pair to the if the key does + not already exist, or to update a key/value pair in the if the key already + exists. + + The dictionary to update. + The key to be added or whose value should be updated. + The function used to generate a value for an absent key. + + The function used to generate a new value for an existing key based on the key's existing value. + + The type of the keys in the dictionary. + The type of the values in the dictionary. + + The new value for the key. This will be either be the result of (if the key was + absent) or the result of (if the key was present). + + + is . + -or- + is . + -or- + is . + + + + + Uses the specified functions and argument to add a key/value pair to the if + the key does not already exist, or to update a key/value pair in the if th + key already exists. + + The dictionary to update. + The key to be added or whose value should be updated. + The function used to generate a value for an absent key. + + The function used to generate a new value for an existing key based on the key's existing value. + + + An argument to pass into and . + + The type of the keys in the dictionary. + The type of the values in the dictionary. + + The type of an argument to pass into and . + + + The new value for the key. This will be either be the result of (if the key was + absent) or the result of (if the key was present). + + + is . + -or- + is . + -or- + is . + + + + + Converts an of to a data connection + string. + + The type of the key element of the key/value pair. + The type of the value element of the key/value pair. + The source dictionary. + A representing the dictionary as a key=value set, concatenated with ;. + is . + + + + Converts an of to a data connection + string. + + The type of the key element of the key/value pair. + The type of the value element of the key/value pair. + The source dictionary. + + A transform function to apply to the of each element. + + A representing the dictionary as a key=value set, concatenated with ;. + + is . + -or- + is . + + + + + Converts an of to an data connection + string. + + The type of the key element of the key/value pair. + The type of the value element of the key/value pair. + The source dictionary. + + A transform function to apply to the of each element. + + + A transform function to apply to the of each element. + + A representing the dictionary as a key=value set, concatenated with ;. + + is . + -or- + is . + -or- + is . + + + + + Converts an of to a HTTP GET query string. + + The type of the key element of the key/value pair. + The type of the value element of the key/value pair. + The source dictionary. + A representing the dictionary as a key=value set, concatenated with &. + is . + + + + Converts an of to a HTTP GET query string. + + The type of the key element of the key/value pair. + The type of the value element of the key/value pair. + The source dictionary. + + A transform function to apply to the of each element. + + A representing the dictionary as a key=value set, concatenated with &. + + is . + -or- + is . + + + + + Converts an of to a HTTP GET query string. + + The type of the key element of the key/value pair. + The type of the value element of the key/value pair. + The source dictionary. + + A transform function to apply to the of each element. + + + A transform function to apply to the of each element. + + A representing the dictionary as a key=value set, concatenated with &. + + is . + -or- + is . + -or- + is . + + + + + Extension methods for . + + + + + Performs the specified action on each element of the . + + + The whose elements on which to perform . + + + The delegate to perform on each element of the . The + argument passed to this delegate represents the index. + + The type of the elements in . + + is . + -or- + is . + + + + + Performs the specified action on each element of the . + + + The whose elements on which to perform . + + + The delegate to perform on each element of the . + + The type of the elements in . + + is . + -or- + is . + + + + + Calls on all elements of the . + + The enumerable collection whose elements to dispose. + The type of the elements in . + is . + + + + + Asynchronously calls on all elements of the + . + + The enumerable collection whose elements to dispose. + The type of the elements in . + is . + + + + + Reorganizes the elements in an enumerable by implementing a Fisher-Yates shuffle, and returns th shuffled result. + + The element type. + The to shuffle. + Optional. The instance to use for the shuffling. + The shuffled collection. + is . + + + + Collection-related extension methods for . + + + + + Unpacks this 16-bit signed integer into a boolean list, treating it as a bit field. + + The value to unpack. + An array of with length 16. + + + + Unpacks this 16-bit signed integer into a boolean list, treating it as a bit field. + + The value to unpack. + When this method returns, contains the unpacked booleans from . + is not large enough to contain the result. + + + + Collection-related extension methods for . + + + + + Unpacks this 32-bit signed integer into a boolean list, treating it as a bit field. + + The value to unpack. + An array of with length 32. + + + + Unpacks this 32-bit signed integer into a boolean list, treating it as a bit field. + + The value to unpack. + When this method returns, contains the unpacked booleans from . + is not large enough to contain the result. + + + + Collection-related extension methods for . + + + + + Unpacks this 64-bit signed integer into a boolean list, treating it as a bit field. + + The value to unpack. + An array of with length 64. + + + + Unpacks this 64-bit signed integer into a boolean list, treating it as a bit field. + + The value to unpack. + When this method returns, contains the unpacked booleans from . + is not large enough to contain the result. + + + + Extension methods for and . + + + + + Assigns the given value to each element of the list. + + The list to be filled. + The value to assign to each list element. + The type of the elements in the list. + is . + + + + Assigns the given value to the elements of the list which are within the range of + (inclusive) and the next number of indices. + + The list to be filled. + The value to assign to each list element. + A 32-bit integer that represents the index in the list at which filling begins. + The number of elements to fill. + The type of the elements in the list. + is . + + is less than 0. + -or- + is less than 0. + -or- + + exceeds the bounds of the list. + + + + + Returns a random element from the current list using a specified instance. + + The element type. + The source collection from which to draw. + + The instance to use for the shuffling. If is specified, a shared + instance is used. + + A random element of type from . + is . + + + var list = new List<int> { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; + var number = list.Random(); + + + + + + Reorganizes the elements in a list by implementing a Fisher-Yates shuffle. + + The element type. + The to shuffle. + + The instance to use for the shuffling. If is specified, a shared + instance is used. + + is . + + + + Extension methods for types. + + + + + Returns the value which is defined proceeding this value in the enumeration. + + The type of the enumeration. + The value whose proceeding value to retrieve. + + A value of that is considered to be the next value defined after , + or the first value if is the final field of the enumeration. + + + + + Returns the value which is defined proceeding this value in the enumeration. + + The type of the enumeration. + The value whose proceeding value to retrieve. + + A value of that is considered to be the next value defined after + . + + is the final field of the enumeration. + + + + Returns the value which is defined preceeding this value in the enumeration. + + The type of the enumeration. + The value whose preceeding value to retrieve. + + A value of that is considered to be the previous value defined after + , or the last value if is the first field of the enumeration. + + + + + Returns the value which is defined preceeding this value in the enumeration. + + The type of the enumeration. + The value whose preceeding value to retrieve. + + A value of that is considered to be the previous value defined after + , or the last value if is the first field of the enumeration. + + is the first field of the enumeration. + + + + Extension methods which apply to all types. + + + + + Returns an array containing the specified value. + + The value to encapsulate. + The type of . + + An array of type with length 1, whose only element is . + + + + + Returns an enumerable collection containing the specified value. + + The value to encapsulate. + The type of . + + An enumerable collection of type , whose only element is . + + + + + Returns an enumerable collection containing the current value repeated a specified number of times. + + The value to repeat. + The number of times to repeat . + The type of . + An enumerable collection containing repeated times. + is less than 0. + + + + Extension methods for . + + + + + Returns a random value that defined in a specified enum. + + The instance. + An enum type. + + A value at index n where n = . + + is . + + + + Returns either or based on the next generation of the current + . + + The instance. + + if the return value from is greater than or + equal to 0.5 + -or- + otherwise. + + is . + + + + Returns a non-negative random double-precision floating point number that is less than the specified maximum. + + The instance. + + The exclusive upper bound of the random number returned. This value must be greater than or equal to 0. + + + A random double-precision floating point number that is greater than or equal to 0, and less than + . + + is . + is less than 0. + + + + Returns a random double-precision floating point number that is within a specified range. + + The instance. + The inclusive lower bound of the random number returned. + + The exclusive upper bound of the random number returned. This value must be greater than or equal to + . + + + A random double-precision floating point number between and + . + + is . + + is less than . + + + + + Returns a random element from using the instance. + + The element type. + The instance. + The source collection from which to draw. + A random element of type from . + + is is + -or- + is . + + + + var list = new List<int> { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; + var random = new Random(); + var number = random.NextFrom(list); + + + + + + Returns a non-negative random integer. + + The instance. + + An 8-bit unsigned integer that is greater than or equal to 0, and less than . + + is . + + + + Returns a non-negative random integer. + + The instance. + + The exclusive upper bound of the random number to be generated. must be greater than or + equal to 0. + + + An 8-bit unsigned integer that is greater than or equal to 0, and less than ; that is, the + range of return values ordinarily includes 0 but not . However, if + equals 0, is returned. + + is . + + + + Returns a non-negative random integer. + + The instance. + The inclusive lower bound of the random number to be generated. + + The exclusive upper bound of the random number to be generated. must be greater than or + equal to . + + + An 8-bit unsigned integer greater than or equal to and less than + ; that is, the range of return values includes but not + . If equals , + is returned. + + is . + + is greater than . + + + + + Returns a non-negative random integer. + + The instance. + + An 16-bit signed integer that is greater than or equal to 0, and less than . + + is . + + + + Returns a non-negative random integer that is less than the specified maximum. + + The instance. + + The exclusive upper bound of the random number to be generated. must be greater than or + equal to 0. + + + A 16-bit signed integer that is greater than or equal to 0, and less than ; that is, the + range of return values ordinarily includes 0 but not . However, if + equals 0, is returned. + + is . + is less than 0. + + + + Returns a random integer that is within a specified range. + + The instance. + The inclusive lower bound of the random number to be generated. + + The exclusive upper bound of the random number to be generated. must be greater than or + equal to . + + + An 8-bit unsigned integer greater than or equal to and less than + ; that is, the range of return values includes but not + . If equals , + is returned. + + + is greater than . + + is . + + + + Returns a random floating-point number that is greater than or equal to 0.0, and less than 1.0. + + The instance. + A single-precision floating point number that is greater than or equal to 0.0, and less than 1.0. + is . + + + + Returns a non-negative random single-precision floating point number that is less than the specified maximum. + + The instance. + + The exclusive upper bound of the random number returned. This value must be greater than or equal to 0. + + + A random single-precision floating point number that is greater than or equal to 0, and less than + . + + is . + is less than 0. + + + + Returns a random single-precision floating point number that is within a specified range. + + The instance. + The inclusive lower bound of the random number returned. + + The exclusive upper bound of the random number returned. This value must be greater than or equal to + . + + + A random single-precision floating point number between and + . + + is . + + is less than . + + + + + Returns a new string of a specified length which is composed of specified characters. + + The instance. + The source collection of characters to poll. + The length of the new string to generate. + + A whose length is equal to that of , composed of characters + specified by the characters in . + + + is . + -or- + is . + + is less than 0. + + + + Drawing-related extensions for . + + + + + Returns a new with the red, green, and blue components inverted. Alpha is not affected. + + The color to invert. + The inverted color. + + + + Returns a vector whose red, green, and blue components are the same as the specified color, and whose alpha component + is a new value. + + The color to copy. + The new alpha component value. + + A new instance of whose , , and + components are the same as that of , and whose + component is . + + + + + Returns a vector whose red, green, and alpha components are the same as the specified color, and whose blue component + is a new value. + + The color to copy. + The new blue component value. + + A new instance of whose , , and + components are the same as that of , and whose + component is . + + + + + Returns a vector whose red, blue, and alpha components are the same as the specified color, and whose green component + is a new value. + + The color to copy. + The new green component value. + + A new instance of whose , , and + components are the same as that of , and whose + component is . + + + + + Returns a vector whose green, blue, and alpha components are the same as the specified color, and whose red component + is a new value. + + The color to copy. + The new red component value. + + A new instance of whose , , and + components are the same as that of , and whose + component is . + + + + + Extension methods for . + + + + + Returns a color of random components for red, green, and blue. + + The instance. + A whose red, green, and blue components are all random, and whose alpha is 255 + is . + + + + Returns a color composed of random components for apha, red, green, and blue. + + The instance. + A whose alpha, red, green, and blue components are all random. + is . + + + + Represents an enumeration of endianness values. + + + + + The value should be read as though it uses little endian encoding. + + + + + The value should be read as though it uses big endian encoding. + + + + + A strongly-typed resource class, for looking up localized strings, etc. + + + + + Returns the cached ResourceManager instance used by this class. + + + + + Overrides the current thread's CurrentUICulture property for all + resource lookups using this strongly typed resource class. + + + + + Looks up a localized string similar to The buffer is too small to contain the data.. + + + + + Looks up a localized string similar to count must be greater than or equal to 0.. + + + + + Looks up a localized string similar to HashAlgorithm's Create method returned null reference.. + + + + + Looks up a localized string similar to HashAlgorithm does not offer Create method.. + + + + + Looks up a localized string similar to Length must be greater than or equal to 0.. + + + + + Looks up a localized string similar to {0} cannot be greater than {1}. + + + + + Looks up a localized string similar to maxValue must be greater than or equal to 0. + + + + + Looks up a localized string similar to maxValue must be greater than or equal to minValue. + + + + + Looks up a localized string similar to The stream does not support reading.. + + + + + Looks up a localized string similar to The stream does not support writing.. + + + + + Looks up a localized string similar to The length of the stream is too large.. + + + + + Looks up a localized string similar to {0} does not inherit {1}. + + + + + Looks up a localized string similar to {0} is not a class.. + + + + + Looks up a localized string similar to {0} is not an interface.. + + + + + Looks up a localized string similar to Year cannot be zero.. + + + + + Extension methods for . + + + + + Returns the current boolean value as an array of bytes. + + The value to convert. + An array of bytes with length 1. + + + + Converts a into a span of bytes. + + The value. + When this method returns, the bytes representing the converted . + if the conversion was successful; otherwise, . + + + + IO-related extension methods for . + + + + + Returns the current 8-bit unsigned integer value as an array of bytes. + + The number to convert. + An array of bytes with length 1. + + + + Converts a into a span of bytes. + + The value. + When this method returns, the bytes representing the converted . + if the conversion was successful; otherwise, . + + + + IO-related extension methods for . + + + + + Returns the current double-precision floating-point value as an array of bytes. + + The number to convert. + An array of bytes with length 8. + + + + Returns the current double-precision floating-point value as an array of bytes. + + The number to convert. + The endianness with which to write the bytes. + An array of bytes with length 8. + + + + Converts the current double-precision floating-point into a span of bytes. + + The value. + When this method returns, the bytes representing the converted . + if the conversion was successful; otherwise, . + + + + Converts the current double-precision floating-point into a span of bytes. + + The value. + When this method returns, the bytes representing the converted . + The endianness with which to write the bytes. + if the conversion was successful; otherwise, . + + + + IO-related extension methods for . + + + + + Computes the hash of a file using the specified hash algorithm. + + The file whose hash to compute. + + The type of the whose is to be used for + computing the hash. + + The hash of represented as an array of bytes. + is . + The specified file was not found. + The opened file stream cannot be read. + + The specified does not offer a public, static. parameterless Create method, or its + Create method returns a type that is not assignable to . + + The stream has already been disposed. + + + + Computes the hash of a file using the specified hash algorithm. + + The file whose hash to compute. + When this method returns, contains the computed hash of . + + When this method returns, the total number of bytes written into destination. This parameter is treated as + uninitialized. + + + The type of the whose is to be used for + computing the hash. + + + if the destination is long enough to receive the hash; otherwise, . + + is . + The specified file was not found. + The opened file stream cannot be read. + + The specified does not offer a public, static. parameterless Create method, or its + Create method returns a type that is not assignable to . + + The stream has already been disposed. + + + + IO-related extension methods for . + + + + + Returns the current 16-bit signed integer value as an array of bytes. + + The number to convert. + An array of bytes with length 2. + + + + Returns the current 16-bit signed integer value as an array of bytes. + + The number to convert. + The endianness with which to write the bytes. + An array of bytes with length 2. + + + + Converts the current 16-bit signed integer into a span of bytes. + + The value. + When this method returns, the bytes representing the converted . + if the conversion was successful; otherwise, . + + + + Converts the current 16-bit signed integer into a span of bytes. + + The value. + When this method returns, the bytes representing the converted . + The endianness with which to write the bytes. + if the conversion was successful; otherwise, . + + + + IO-related extension methods for . + + + + + Returns the current 32-bit signed integer value as an array of bytes. + + The number to convert. + An array of bytes with length 4. + + + + Returns the current 32-bit signed integer value as an array of bytes. + + The number to convert. + The endianness with which to write the bytes. + An array of bytes with length 4. + + + + Converts the current 32-bit signed integer into a span of bytes. + + The value. + When this method returns, the bytes representing the converted . + if the conversion was successful; otherwise, . + + + + Converts the current 32-bit signed integer into a span of bytes. + + The value. + When this method returns, the bytes representing the converted . + The endianness with which to write the bytes. + if the conversion was successful; otherwise, . + + + + IO-related extension methods for . + + + + + Returns the current 64-bit signed integer value as an array of bytes. + + The number to convert. + An array of bytes with length 8. + + + + Returns the current 64-bit signed integer value as an array of bytes. + + The number to convert. + The endianness with which to write the bytes. + An array of bytes with length 8. + + + + Converts the current 64-bit signed integer a span of bytes. + + The value. + When this method returns, the bytes representing the converted . + if the conversion was successful; otherwise, . + + + + Converts the current 64-bit signed integer a span of bytes. + + The value. + When this method returns, the bytes representing the converted . + The endianness with which to write the bytes. + if the conversion was successful; otherwise, . + + + + Extension methods for array. + + + + + Converts the numeric value of each element of a specified list of bytes to its equivalent hexadecimal string + representation. + + The source list of bytes. + + A string of hexadecimal pairs separated by hyphens, where each pair represents the corresponding element in + ; for example, "7F-2C-4A-00". + + is . + + + + Returns a double-precision floating point number converted from eight bytes. + + The source list of bytes. + A double-precision floating point number formed by eight bytes. + is . + + + + Returns a double-precision floating point number converted from eight bytes at a specified position in a list of + bytes. + + The source list of bytes. + The starting position within . + + A double-precision floating point number formed by eight bytes beginning at . + + is . + + + + Returns a 16-bit signed integer converted from two bytes. + + The source list of bytes. + A 16-bit signed integer formed by two bytes. + is . + + + + Returns a 16-bit signed integer converted from two bytes at a specified position in a list of bytes. + + The source list of bytes. + The starting position within . + A 16-bit signed integer formed by two bytes beginning at . + is . + + + + Returns a 32-bit signed integer converted from four bytes. + + The source list of bytes. + A 32-bit signed integer formed by four bytes. + is . + + + + Returns a 32-bit signed integer converted from four bytes at a specified position in a list of bytes. + + The source list of bytes. + The starting position within . + A 32-bit signed integer formed by four bytes beginning at . + is . + + + + Returns a 64-bit signed integer converted from eight bytes. + + The source list of bytes. + A 64-bit signed integer formed by eight bytes. + is . + + + + Returns a 64-bit signed integer converted from eight bytes at a specified position in a list of bytes. + + The source list of bytes. + The starting position within . + A 64-bit signed integer formed by eight bytes beginning at . + is . + + + + Returns a single-precision floating point number converted from four bytes. + + The source list of bytes. + A single-precision floating point number formed by four bytes. + is . + + + + Returns a single-precision floating point number converted from four bytes at a specified position in a list of bytes. + + The source list of bytes. + The starting position within . + + A single-precision floating point number formed by four bytes beginning at . + + is . + + + + Decodes all the bytes within the current list of bytes to a string, using a specified encoding. + + The source list of bytes. + The encoding which should be used to decode . + A string that contains the results of decoding the specified sequence of bytes. + + is . + -or- + is . + + + + + Returns a 16-bit unsigned integer converted from two bytes. + + The source list of bytes. + A 16-bit unsigned integer formed by two bytes. + is . + + + + Returns a 16-bit unsigned integer converted from two bytes at a specified position in a list of bytes. + + The source list of bytes. + The starting position within . + A 16-bit unsigned integer formed by two bytes beginning at . + is . + + + + Returns a 32-bit unsigned integer converted from four bytes. + + The source list of bytes. + A 32-bit unsigned integer formed by four bytes. + is . + + + + Returns a 32-bit unsigned integer converted from four bytes at a specified position in a list of bytes. + + The source list of bytes. + The starting position within . + A 32-bit unsigned integer formed by four bytes beginning at . + is . + + + + Returns a 64-bit unsigned integer converted from eight bytes. + + The source list of bytes. + A 64-bit unsigned integer formed by eight bytes. + is . + + + + Returns a 64-bit unsigned integer converted from eight bytes at a specified position in a list of bytes. + + The source list of bytes. + The starting position within . + A 64-bit unsigned integer formed by eight bytes beginning at . + is . + + + + IO-related extension methods for . + + + + + Returns the current 16-bit unsigned integer value as an array of bytes. + + The number to convert. + An array of bytes with length 1. + + + + Converts the current 16-bit unsigned integer into a span of bytes. + + The value. + When this method returns, the bytes representing the converted . + if the conversion was successful; otherwise, . + + + + IO-related extension methods for . + + + + + Returns the current single-precision floating-point value as an array of bytes. + + The number to convert. + An array of bytes with length 4. + + + + Returns the current single-precision floating-point value as an array of bytes. + + The number to convert. + The endianness with which to write the bytes. + An array of bytes with length 4. + + + + Converts the current single-precision floating-point into a span of bytes. + + The value. + When this method returns, the bytes representing the converted . + if the conversion was successful; otherwise, . + + + + Converts the current single-precision floating-point into a span of bytes. + + The value. + When this method returns, the bytes representing the converted . + The endianness with which to write the bytes. + if the conversion was successful; otherwise, . + + + + IO-related extension methods for . + + + + + Returns the hash of the current stream as an array of bytes using the specified hash algorithm. + + The stream whose hash is to be computed. + + The type of the whose is to be used for + computing the hash. + + The hash of represented as an array of bytes. + is + does not support reading. + + The specified does not offer a public, static. parameterless Create method, or its + Create method returns a type that is not assignable to . + + The stream has already been disposed. + + + + Reads a decimal value from the current stream using the system's default endian encoding, and advances the stream + position by sixteen bytes. + + The stream to read. + A sixteen-byte decimal value read from the stream. + + + + Reads a decimal value from the current stream using a specified endian encoding, and advances the stream position + by sixteen bytes. + + The stream from which the value should be read. + The endian encoding to use. + A decimal value read from the stream. + + + + 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. + + The stream from which the value should be read. + A double-precision floating point value read from the stream. + + + + Reads a double-precision floating point value from the current stream using a specified endian encoding, and + advances the stream position by eight bytes. + + The stream from which the value should be read. + The endian encoding to use. + A double-precision floating point value read from the stream. + + + + 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. + + The stream from which the value should be read. + An two-byte signed integer read from the stream. + + + + Reads a two-byte signed integer from the current stream using the specified endian encoding, and advances the + stream position by two bytes. + + The stream from which the value should be read. + The endian encoding to use. + An two-byte unsigned integer read from the stream. + + + + 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. + + The stream from which the value should be read. + An four-byte signed integer read from the stream. + + + + Reads a four-byte signed integer from the current stream using the specified endian encoding, and advances the + stream position by four bytes. + + The stream from which the value should be read. + The endian encoding to use. + An four-byte unsigned integer read from the stream. + + + + 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. + + The stream from which the value should be read. + An eight-byte signed integer read from the stream. + + + + Reads an eight-byte signed integer from the current stream using the specified endian encoding, and advances the + stream position by eight bytes. + + The stream from which the value should be read. + The endian encoding to use. + An eight-byte unsigned integer read from the stream. + + + + 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. + + The stream from which the value should be read. + A single-precision floating point value read from the stream. + + + + Reads a double-precision floating point value from the current stream using a specified endian encoding, and + advances the stream position by four bytes. + + The stream from which the value should be read. + The endian encoding to use. + A single-precision floating point value read from the stream. + + + + 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. + + The stream from which the value should be read. + An two-byte unsigned integer read from the stream. + + + + Reads a two-byte unsigned integer from the current stream using the specified endian encoding, and advances the + stream position by two bytes. + + The stream from which the value should be read. + The endian encoding to use. + An two-byte unsigned integer read from the stream. + + + + 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. + + The stream from which the value should be read. + An four-byte unsigned integer read from the stream. + + + + Reads a four-byte unsigned integer from the current stream using the specified endian encoding, and advances the + stream position by four bytes. + + The stream from which the value should be read. + The endian encoding to use. + An four-byte unsigned integer read from the stream. + + + + 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. + + The stream from which the value should be read. + An eight-byte unsigned integer read from the stream. + + + + Reads an eight-byte unsigned integer from the current stream using the specified endian encoding, and advances the + stream position by eight bytes. + + The stream from which the value should be read. + The endian encoding to use. + An eight-byte unsigned integer read from the stream. + + + + Returns the hash of the current stream as an array of bytes using the specified hash algorithm. + + The stream whose hash is to be computed. + When this method returns, contains the computed hash of . + + When this method returns, the total number of bytes written into destination. This parameter is treated as + uninitialized. + + + The type of the whose is to be used for + computing the hash. + + + if the destination is long enough to receive the hash; otherwise, . + + is + does not support reading. + + The specified does not offer a public, static. parameterless Create method, or its + Create method returns a type that is not assignable to . + + The stream has already been disposed. + + + + 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. + + The stream to which the value should be written. + The two-byte signed integer to write. + The number of bytes written to the stream. + + + + Writes a two-byte signed integer to the current stream using the specified endian encoding, and advances the + stream position by two bytes. + + The stream to which the value should be written. + The two-byte signed integer to write. + The endian encoding to use. + The number of bytes written to the stream. + + + + 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. + + The stream to which the value should be written. + The four-byte signed integer to write. + The number of bytes written to the stream. + + + + Writes a four-byte signed integer to the current stream using the specified endian encoding, and advances the + stream position by four bytes. + + The stream to which the value should be written. + The four-byte signed integer to write. + The endian encoding to use. + The number of bytes written to the stream. + is . + + + + 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. + + The stream to which the value should be written. + The eight-byte signed integer to write. + The number of bytes written to the stream. + is . + + + + Writes an eight-byte signed integer to the current stream using the specified endian encoding, and advances the + stream position by eight bytes. + + The stream to which the value should be written. + The eight-byte signed integer to write. + The endian encoding to use. + The number of bytes written to the stream. + is . + + + + 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. + + The stream to which the value should be written. + The two-byte unsigned integer to write. + The number of bytes written to the stream. + is . + + + + Writes a two-byte unsigned integer to the current stream using the specified endian encoding, and advances the + stream position by two bytes. + + The stream to which the value should be written. + The two-byte unsigned integer to write. + The endian encoding to use. + The number of bytes written to the stream. + is . + + + + 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. + + The stream to which the value should be written. + The four-byte unsigned integer to write. + The number of bytes written to the stream. + is . + + + + Writes a four-byte unsigned integer to the current stream using the specified endian encoding, and advances the + stream position by four bytes. + + The stream to which the value should be written. + The four-byte unsigned integer to write. + The endian encoding to use. + The number of bytes written to the stream. + is . + + + + 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. + + The stream to which the value should be written. + The eight-byte unsigned integer to write. + The number of bytes written to the stream. + is . + + + + Writes an eight-byte signed integer to the current stream using the specified endian encoding, and advances the + stream position by eight bytes. + + The stream to which the value should be written. + The eight-byte signed integer to write. + The endian encoding to use. + The number of bytes written to the stream. + is . + + + + Writes a single-precision floating point value to the current stream using the specified endian encoding, and + advances the stream position by four bytes. + + The stream to which the value should be written. + The single-precision floating point value to write. + The endian encoding to use. + The number of bytes written to the stream. + is . + + + + Writes a double-precision floating point value to the current stream using the specified endian encoding, and + advances the stream position by eight bytes. + + The stream to which the value should be written. + The double-precision floating point value to write. + The endian encoding to use. + The number of bytes written to the stream. + is . + + + + Writes a decimal value to the current stream using the specified endian encoding, and advances the stream position + by sixteen bytes. + + The stream to which the value should be written. + The decimal value to write. + The endian encoding to use. + The number of bytes written to the stream. + is . + + + + IO-related extension methods for . + + + + + Returns the current 16-bit unsigned integer value as an array of bytes. + + The number to convert. + An array of bytes with length 2. + + + + Returns the current 16-bit unsigned integer value as an array of bytes. + + The number to convert. + The endianness with which to write the bytes. + An array of bytes with length 2. + + + + Converts the current 16-bit unsigned integer into a span of bytes. + + The value. + When this method returns, the bytes representing the converted . + if the conversion was successful; otherwise, . + + + + Converts the current 16-bit unsigned integer into a span of bytes. + + The value. + When this method returns, the bytes representing the converted . + The endianness with which to write the bytes. + if the conversion was successful; otherwise, . + + + + IO-related extension methods for . + + + + + Returns the current 32-bit unsigned integer value as an array of bytes. + + The number to convert. + An array of bytes with length 4. + + + + Returns the current 32-bit unsigned integer value as an array of bytes. + + The number to convert. + The endianness with which to write the bytes. + An array of bytes with length 4. + + + + Converts the current 32-bit unsigned integer into a span of bytes. + + The value. + When this method returns, the bytes representing the converted . + if the conversion was successful; otherwise, . + + + + Converts the current 32-bit unsigned integer into a span of bytes. + + The value. + When this method returns, the bytes representing the converted . + The endianness with which to write the bytes. + if the conversion was successful; otherwise, . + + + + IO-related extension methods for . + + + + + Returns the current 64-bit unsigned integer value as an array of bytes. + + The number to convert. + An array of bytes with length 8. + + + + Returns the current 64-bit unsigned integer value as an array of bytes. + + The number to convert. + The endianness with which to write the bytes. + An array of bytes with length 8. + + + + Converts the current 64-bit unsigned integer into a span of bytes. + + The value. + When this method returns, the bytes representing the converted . + if the conversion was successful; otherwise, . + + + + Converts the current 64-bit unsigned integer into a span of bytes. + + The value. + When this method returns, the bytes representing the converted . + The endianness with which to write the bytes. + if the conversion was successful; otherwise, . + + + + LINQ-inspired extension methods for of . + + + + + Computes the product of a sequence of values. + + A sequence of values that are used to calculate the product. + The product the values in the sequence. + is . + + + + Computes the product of a sequence of values. + + A sequence of values that are used to calculate the product. + The product the values in the sequence. + is . + + + + Computes the product of a sequence of values that are obtained by invoking a transform function + on each element of the input sequence. + + A sequence of values that are used to calculate a product. + A transform function to apply to each element. + The type of the elements of . + The product of the projected values. + is . + + + + Computes the product of a sequence of values that are obtained by invoking a transform function + on each element of the input sequence. + + A sequence of values that are used to calculate a product. + A transform function to apply to each element. + The type of the elements of . + The product of the projected values. + is . + + + + Returns an enumerable sequence of 8-bit integers ranging from the current value to a specified value. + + The starting value of the sequence. + The ending value of the sequence. + + An enumerable collection of 8-bit integers, ranging from to . + + + + + Returns an enumerable sequence of 16-bit integers ranging from the current value to a specified value. + + The starting value of the sequence. + The ending value of the sequence. + + An enumerable collection of 16-bit integers, ranging from to . + + + + + Returns an enumerable sequence of 32-bit integers ranging from the current value to a specified value. + + The starting value of the sequence. + The ending value of the sequence. + + An enumerable collection of 32-bit integers, ranging from to . + + + + + Returns an enumerable sequence of 64-bit integers ranging from the current value to a specified value. + + The starting value of the sequence. + The ending value of the sequence. + + An enumerable collection of 64-bit integers, ranging from to . + + + + + LINQ-inspired extension methods for of . + + + + + Computes the product of a sequence of values. + + A sequence of values that are used to calculate the product. + The product the values in the sequence. + is . + + + + Computes the product of a sequence of values that are obtained by invoking a transform function + on each element of the input sequence. + + A sequence of values that are used to calculate a product. + A transform function to apply to each element. + The type of the elements of . + The product of the projected values. + is . + + + + LINQ-inspired extension methods for of . + + + + + Computes the product of a sequence of values. + + A sequence of values that are used to calculate the product. + The product the values in the sequence. + is . + + + + Computes the product of a sequence of values that are obtained by invoking a transform function + on each element of the input sequence. + + A sequence of values that are used to calculate a product. + A transform function to apply to each element. + The type of the elements of . + The product of the projected values. + is . + + + + LINQ-inspired extension methods for of . + + + + + Computes the product of a sequence of values. + + A sequence of values that are used to calculate the product. + The product the values in the sequence. + + + + Computes the product of a sequence of values. + + A sequence of values that are used to calculate the product. + The product the values in the sequence. + + + + Computes the product of a sequence of values that are obtained by invoking a transform function + on each element of the input sequence. + + A sequence of values that are used to calculate a product. + A transform function to apply to each element. + The type of the elements of . + The product of the projected values. + + + + Computes the product of a sequence of values that are obtained by invoking a transform function + on each element of the input sequence. + + A sequence of values that are used to calculate a product. + A transform function to apply to each element. + The type of the elements of . + The product of the projected values. + + + + Returns an enumerable sequence of 16-bit integers ranging from the current value to a specified value. + + The starting value of the sequence. + The ending value of the sequence. + + An enumerable collection of 16-bit integers, ranging from to . + + + + + Returns an enumerable sequence of 32-bit integers ranging from the current value to a specified value. + + The starting value of the sequence. + The ending value of the sequence. + + An enumerable collection of 32-bit integers, ranging from to . + + + + + Returns an enumerable sequence of 64-bit integers ranging from the current value to a specified value. + + The starting value of the sequence. + The ending value of the sequence. + + An enumerable collection of 64-bit integers, ranging from to . + + + + + LINQ-inspired extension methods for of . + + + + + Computes the product of a sequence of values. + + A sequence of values that are used to calculate the product. + The product the values in the sequence. + is . + + + + Computes the product of a sequence of values. + + A sequence of values that are used to calculate the product. + The product the values in the sequence. + is . + + + + Computes the product of a sequence of values that are obtained by invoking a transform function on + each element of the input sequence. + + A sequence of values that are used to calculate a product. + A transform function to apply to each element. + The type of the elements of . + The product of the projected values. + is . + + + + Computes the product of a sequence of values that are obtained by invoking a transform function on + each element of the input sequence. + + A sequence of values that are used to calculate a product. + A transform function to apply to each element. + The type of the elements of . + The product of the projected values. + is . + + + + Returns an enumerable sequence of 32-bit integers ranging from the current value to a specified value. + + The starting value of the sequence. + The ending value of the sequence. + + An enumerable collection of 32-bit integers, ranging from to . + + + + + Returns an enumerable sequence of 64-bit integers ranging from the current value to a specified value. + + The starting value of the sequence. + The ending value of the sequence. + + An enumerable collection of 64-bit integers, ranging from to . + + + + + LINQ-inspired extension methods for of . + + + + + Computes the product of a sequence of values. + + A sequence of values that are used to calculate the product. + The product the values in the sequence. + is . + + + + Computes the product of a sequence of values. + + A sequence of values that are used to calculate the product. + The product the values in the sequence. + is . + + + + Computes the product of a sequence of values that are obtained by invoking a transform function on + each element of the input sequence. + + A sequence of values that are used to calculate a product. + A transform function to apply to each element. + The type of the elements of . + The product of the projected values. + is . + + + + Computes the product of a sequence of values that are obtained by invoking a transform function + on each element of the input sequence. + + A sequence of values that are used to calculate a product. + A transform function to apply to each element. + The type of the elements of . + The product of the projected values. + is . + + + + Returns an enumerable sequence of 64-bit integers ranging from the current value to a specified value. + + The starting value of the sequence. + The ending value of the sequence. + + An enumerable collection of 64-bit integers, ranging from to . + + + + + Extension methods for . + + + + + Determines whether all elements of a read-only span satisfy a condition. + + A that contains the elements to apply the predicate to. + A function to test each element for a condition. + The type of the elements of . + + if every element of the source sequence passes the test in the specified predicate, or if the + span is empty; otherwise, . + + is . + + + + Determines whether any element of a read-only span satisfies a condition. + + A that contains the elements to apply the predicate to. + A function to test each element for a condition. + The type of the elements of . + + if the source span is not empty and at least one of its elements passes the test in the + specified predicate; otherwise, . + + is . + + + + LINQ-inspired extension methods for of . + + + + + Computes the product of a sequence of values. + + A sequence of values that are used to calculate the product. + The product the values in the sequence. + is . + + + + Computes the product of a sequence of values that are obtained by invoking a transform function + on each element of the input sequence. + + A sequence of values that are used to calculate a product. + A transform function to apply to each element. + The type of the elements of . + The product of the projected values. + is . + + + + Extension methods for . + + + + + Determines whether all elements of a span satisfy a condition. + + A that contains the elements to apply the predicate to. + A function to test each element for a condition. + The type of the elements of . + + if every element of the source sequence passes the test in the specified predicate, or if the + span is empty; otherwise, . + + is . + + + + Determines whether any element of a span satisfies a condition. + + A that contains the elements to apply the predicate to. + A function to test each element for a condition. + The type of the elements of . + + if the source span is not empty and at least one of its elements passes the test in the + specified predicate; otherwise, . + + is . + + + + Math-related extension methods for . + + + + + Computes the digital root of this 16-bit integer. + + The value whose digital root to compute. + The digital root of . + The digital root is defined as the recursive sum of digits until that result is a single digit. + + The digital root is defined as the recursive sum of digits until that result is a single digit. + For example, the digital root of 239 is 5: 2 + 3 + 9 = 14, then 1 + 4 = 5. + + + + + Returns the factorial of the current 8-bit unsigned integer. + + The value whose factorial to compute. + The factorial of . + + + + Returns a value indicating whether the current value is evenly divisible by 2. + + The value whose parity to check. + + if is evenly divisible by 2, or + otherwise. + + + + + Returns a value indicating whether the current value is not evenly divisible by 2. + + The value whose parity to check. + + if is not evenly divisible by 2, or + otherwise. + + + + + Returns a value indicating whether the current value is a prime number. + + The value whose primality to check. + + if is prime; otherwise, . + + + + + Returns the multiplicative persistence of a specified value. + + The value whose multiplicative persistence to calculate. + The multiplicative persistence. + + Multiplicative persistence is defined as the recursive digital product until that product is a single digit. + + + + + Extension methods for . + + + + + Determines if a specified value falls exclusively between a specified lower bound and upper bound. + + An type. + The first comparison operand type. + The second comparison operand type. + The value to compare. + The exclusive lower bound. + The exclusive upper bound. + The comparison clusivity. + + if is between the and + + -or- + otherwise. + + + + 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 + + + is . + + + + Returns the current value clamped to the inclusive range of and . + + The value to be clamped. + The lower bound of the result. + The upper bound of the result. + An type. + + if . + -or- + if < . + -or- + if < . + + is greater than . + + + int value = 42; + int lower = 0; + int upper = 20; + + int clamped = value.Clamp(lower, upper); + // clamped will be 20 + + + is . + + + + Determines if the current value is greater than another value. + + The first value. + The second value. + An type. + The comparison operand type. + + if is greater than + -or- + otherwise. + + + + int first = 5; + int second = 10; + + bool result = first.GreaterThan(second); + // result will be False + + + is . + + + + Determines if the current value is greater than or equal to another value. + + The first value. + The second value. + An type. + The comparison operand type. + + if is greater than or equal to + -or- + otherwise. + + + + int first = 5; + int second = 10; + + bool result = first.GreaterThanOrEqualTo(second); + // result will be False + + + is . + + + + Determines if the current value is less than another value. + + The first value. + The second value. + An type. + The comparison operand type. + + if is less than + -or- + otherwise. + + + + int first = 5; + int second = 10; + + bool result = first.LessThan(second); + // result will be True + + + is . + + + + Determines if the current value is less than or equal to another value. + + The first value. + The second value. + An type. + The comparison operand type. + + if is less than or equal to + -or- + otherwise. + + + + int first = 5; + int second = 10; + + bool result = first.LessThanOrEqualTo(second); + // result will be True + + + is . + + + + Returns the maximum of two values. + + The first value. + The second value. + A type which implements . + + if is greater than + -or- + otherwise. + + + + int first = 5; + int second = 10; + + int max = first.Max(second); + // max will be 10 + + + is . + + + + Returns the minimum of two values. + + The first value. + The second value. + A type which implements . + + if is less than + -or- + otherwise. + + + + int first = 5; + int second = 10; + + int min = first.Min(second); + // min will be 5 + + + is . + + + + Extension methods for . + + + + + Returns a value indicating whether the current value is evenly divisible by 2. + + The value whose parity to check. + + if is evenly divisible by 2, or + otherwise. + + + + + Returns a value indicating whether the current value is not evenly divisible by 2. + + The value whose parity to check. + + if is not evenly divisible by 2, or + otherwise. + + + + + Rounds the current value to the nearest whole number. + + The value to round. + rounded to the nearest whole number. + + + + Rounds the current value to the nearest multiple of a specified number. + + The value to round. + The nearest multiple to which should be rounded. + rounded to the nearest multiple of . + + + + Returns an integer that indicates the sign of this decimal number. + + A signed number. + + A number that indicates the sign of , as shown in the following table. + + + + Return value + Meaning + + + + -1 + is less than zero. + + + 0 + is equal to zero. + + + 1 + is greater than zero. + + + + + + + Returns the square root of this double-precision floating-point number. + + The number whose square root is to be found. + + One of the values in the following table. + + + + Return value + Meaning + + + + The positive square root of . + is greater than or equal to 0. + + + + is equal to or is negative. + + + + is equal to . + + + + is negative. + + + + Mathematical extension methods. + + + + + Returns the arccosine of the specified value. + + + The value representing a cosine, which must be greater than or equal to -1, but less than or equal to 1. + + + The arccosine of , θ, measured in radians; such that 0 ≤ θ ≤ π. If + is equal to , less than -1, or greater than 1, is returned. + + + + + Returns the hyperbolic arccosine of the specified value. + + + The value representing a hyperbolic cosine, which must be greater than or equal to 1, but less than or equal to + . + + + The hyperbolic arccosine of , θ, measured in radians; such that 0 ≤ θ ≤ ∞. If + is less than 1 or equal to , is returned. + + + + + Returns the arcsine of the specified value. + + + The value representing a sine, which must be greater than or equal to -1, but less than or equal to 1. + + + The arccosine of , θ, measured in radians; such that π/2 ≤ θ ≤ π/2. If + is equal to , less than -1, or greater than 1, + is returned. + + + + + Returns the hyperbolic arcsine of the specified value. + + + The value representing a hyperbolic sine, which must be greater than or equal to 1, but less than or equal to + . + + + The hyperbolic arccosine of , measured in radians. If is equal to + , is returned. + + + + + Returns the arctangent of the specified value. + + + The value representing a tangent, which must be greater than or equal to -1, but less than or equal to 1. + + + The arctangent of , θ, measured in radians; such that π/2 ≤ θ ≤ π/2. If + is equal to , is returned. + + + + + Returns the hyperbolic arctangent of the specified value. + + + The value representing a hyperbolic tangent, which must be greater than or equal to 1, but less than or equal to + . + + + The hyperbolic arctangent of , θ, measured in radians; such that -∞ < θ < -1, or 1 < + θ < ∞. If is equal to , less than -1, or greater than 1, + is returned. + + + + + Returns the cosine of the specified angle. + + The angle, measured in radians. + + The cosine of . If is equal to , + , or , this method returns + . + + + + + Returns the hyperbolic cosine of the specified angle. + + The angle, measured in radians. + + The hyperbolic cosine of . If is equal to + or , + is returned. If is equal to + , is returned. + + + + + Converts the current angle in degrees to its equivalent represented in radians. + + The angle in degrees to convert. + The result of π * / 180. + + + + Returns a value indicating whether the current value is evenly divisible by 2. + + The value whose parity to check. + + if is evenly divisible by 2, or + otherwise. + + + + + Returns a value indicating whether the current value is not evenly divisible by 2. + + The value whose parity to check. + + if is not evenly divisible by 2, or + otherwise. + + + + + Converts the current angle in radians to its equivalent represented in degrees. + + The angle in radians to convert. + The result of π * / 180. + + + + Rounds the current value to the nearest whole number. + + The value to round. + rounded to the nearest whole number. + + + + Rounds the current value to the nearest multiple of a specified number. + + The value to round. + The nearest multiple to which should be rounded. + rounded to the nearest multiple of . + + + + Returns the sine of the specified angle. + + The angle, in radians. + + The sine of . If is equal to , + , or , this method returns + . + + + + + Returns the hyperbolic sine of the specified angle. + + The angle, in radians. + + The hyperbolic sine of . If is equal to , + , or , this method returns + . + + + + + Returns an integer that indicates the sign of this double-precision floating-point number. + + A signed number. + + A number that indicates the sign of , as shown in the following table. + + + + Return value + Meaning + + + + -1 + is less than zero. + + + 0 + is equal to zero. + + + 1 + is greater than zero. + + + + is equal to . + + + + Returns the square root of this double-precision floating-point number. + + The number whose square root is to be found. + + One of the values in the following table. + + + + Return value + Meaning + + + + The positive square root of . + is greater than or equal to 0. + + + + is equal to or is negative. + + + + is equal to . + + + + SLenik https://stackoverflow.com/a/6755197/1467293 + CC BY-SA 3.0 + + + + Returns the tangent of the specified angle. + + The angle, measured in radians. + + The tangent of . If is equal to , + , or , this method returns + . + + + + + Returns the hyperbolic tangent of the specified angle. + + The angle, measured in radians. + + The hyperbolic tangent of . If is equal to + , this method returns -1. If is equal to + , this method returns 1. If is equal to + , this method returns . + + + + + Provides options for clusivity. + + + + + Indicates that the comparison will be exclusive. + + + + + Indicates that the comparison will treat the upper bound as exclusive. + + + + + Indicates that the comparison will treat the lower bound as exclusive. + + + + + Indicates that the comparison will treat both the upper and lower bound as exclusive. + + + + + Extension methods for . + + + + + Computes the digital root of this 16-bit integer. + + The value whose digital root to compute. + The digital root of . + + The digital root is defined as the recursive sum of digits until that result is a single digit. + For example, the digital root of 239 is 5: 2 + 3 + 9 = 14, then 1 + 4 = 5. + + + + + Returns the factorial of the current 16-bit signed integer. + + The value whose factorial to compute. + The factorial of . + is less than 0. + + + + Returns a value indicating whether the current value is evenly divisible by 2. + + The value whose parity to check. + + if is evenly divisible by 2, or + otherwise. + + + + + Returns a value indicating whether the current value is not evenly divisible by 2. + + The value whose parity to check. + + if is not evenly divisible by 2, or + otherwise. + + + + + Returns a value indicating whether the current value is a prime number. + + The value whose primality to check. + + if is prime; otherwise, . + + + + + Performs a modulo operation which supports a negative dividend. + + The dividend. + The divisor. + The result of dividend mod divisor. + + The % 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 x % y where x is + negative will return a negative value, akin to -(x % y), even if precedence is forced. This method provides a + modulo operation which supports negative dividends. + + ShreevatsaR, https://stackoverflow.com/a/1082938/1467293 + CC-BY-SA 2.5 + + + + Returns the multiplicative persistence of a specified value. + + The value whose multiplicative persistence to calculate. + The multiplicative persistence. + + Multiplicative persistence is defined as the recursive digital product until that product is a single digit. + + + + + Returns an integer that indicates the sign of this 16-bit signed integer. + + A signed number. + + A number that indicates the sign of , as shown in the following table. + + + + Return value + Meaning + + + + -1 + is less than zero. + + + 0 + is equal to zero. + + + 1 + is greater than zero. + + + + + + + Extension methods for . + + + + + Computes the digital root of this 32-bit integer. + + The value whose digital root to compute. + The digital root of . + + The digital root is defined as the recursive sum of digits until that result is a single digit. + For example, the digital root of 239 is 5: 2 + 3 + 9 = 14, then 1 + 4 = 5. + + + + + Returns the factorial of the current 32-bit signed integer. + + The value whose factorial to compute. + The factorial of . + is less than 0. + + + + Returns a value indicating whether the current value is evenly divisible by 2. + + The value whose parity to check. + + if is evenly divisible by 2, or + otherwise. + + + + + Returns a value indicating whether the current value is not evenly divisible by 2. + + The value whose parity to check. + + if is not evenly divisible by 2, or + otherwise. + + + + + Returns a value indicating whether the current value is a prime number. + + The value whose primality to check. + + if is prime; otherwise, . + + + + + Performs a modulo operation which supports a negative dividend. + + The dividend. + The divisor. + The result of dividend mod divisor. + + The % 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 x % y where x is + negative will return a negative value, akin to -(x % y), even if precedence is forced. This method provides a + modulo operation which supports negative dividends. + + ShreevatsaR, https://stackoverflow.com/a/1082938/1467293 + CC-BY-SA 2.5 + + + + Returns the multiplicative persistence of a specified value. + + The value whose multiplicative persistence to calculate. + The multiplicative persistence. + + Multiplicative persistence is defined as the recursive digital product until that product is a single digit. + + + + + Returns an integer that indicates the sign of this 32-bit signed integer. + + A signed number. + + A number that indicates the sign of , as shown in the following table. + + + + Return value + Meaning + + + + -1 + is less than zero. + + + 0 + is equal to zero. + + + 1 + is greater than zero. + + + + + + + Extension methods for . + + + + + Computes the digital root of this 64-bit integer. + + The value whose digital root to compute. + The digital root of . + + The digital root is defined as the recursive sum of digits until that result is a single digit. + For example, the digital root of 239 is 5: 2 + 3 + 9 = 14, then 1 + 4 = 5. + + + + + Returns the factorial of the current 64-bit signed integer. + + The value whose factorial to compute. + The factorial of . + is less than 0. + + + + Returns a value indicating whether the current value is evenly divisible by 2. + + The value whose parity to check. + + if is evenly divisible by 2, or + otherwise. + + + + + Returns a value indicating whether the current value is not evenly divisible by 2. + + The value whose parity to check. + + if is not evenly divisible by 2, or + otherwise. + + + + + Returns a value indicating whether the current value is a prime number. + + The value whose primality to check. + + if is prime; otherwise, . + + + + + Performs a modulo operation which supports a negative dividend. + + The dividend. + The divisor. + The result of dividend mod divisor. + + The % 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 x % y where x is + negative will return a negative value, akin to -(x % y), even if precedence is forced. This method provides a + modulo operation which supports negative dividends. + + ShreevatsaR, https://stackoverflow.com/a/1082938/1467293 + CC-BY-SA 2.5 + + + + Returns the multiplicative persistence of a specified value. + + The value whose multiplicative persistence to calculate. + The multiplicative persistence. + + Multiplicative persistence is defined as the recursive digital product until that product is a single digit. + + + + + Returns an integer that indicates the sign of this 64-bit signed integer. + + A signed number. + + A number that indicates the sign of , as shown in the following table. + + + + Return value + Meaning + + + + -1 + is less than zero. + + + 0 + is equal to zero. + + + 1 + is greater than zero. + + + + + + + Provides static helpers methods for mathematical functions not found in the .NET class. + + + + + Linearly interpolates from one value to a target using a specified alpha. + + The interpolation source. + The interpolation target. + The interpolation alpha. + + The interpolation result as determined by (1 - alpha) * value + alpha * target. + + + + + Linearly interpolates from one value to a target using a specified alpha. + + The interpolation source. + The interpolation target. + The interpolation alpha. + + The interpolation result as determined by (1 - alpha) * value + alpha * target. + + + + + Math-related extension methods for . + + + + + Computes the digital root of this 32-bit integer. + + The value whose digital root to compute. + The digital root of . + + The digital root is defined as the recursive sum of digits until that result is a single digit. + For example, the digital root of 239 is 5: 2 + 3 + 9 = 14, then 1 + 4 = 5. + + + + + Returns the factorial of the current 8-bit signed integer. + + The value whose factorial to compute. + The factorial of . + is less than 0. + + + + Returns a value indicating whether the current value is evenly divisible by 2. + + The value whose parity to check. + + if is evenly divisible by 2, or + otherwise. + + + + + Returns a value indicating whether the current value is not evenly divisible by 2. + + The value whose parity to check. + + if is not evenly divisible by 2, or + otherwise. + + + + + Returns a value indicating whether the current value is a prime number. + + The value whose primality to check. + + if is prime; otherwise, . + + + + + Performs a modulo operation which supports a negative dividend. + + The dividend. + The divisor. + The result of dividend mod divisor. + + The % 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 x % y where x is + negative will return a negative value, akin to -(x % y), even if precedence is forced. This method provides a + modulo operation which supports negative dividends. + + ShreevatsaR, https://stackoverflow.com/a/1082938/1467293 + CC-BY-SA 2.5 + + + + Returns the multiplicative persistence of a specified value. + + The value whose multiplicative persistence to calculate. + The multiplicative persistence. + + Multiplicative persistence is defined as the recursive digital product until that product is a single digit. + + + + + Returns an integer that indicates the sign of this 8-bit signed integer. + + A signed number. + + A number that indicates the sign of , as shown in the following table. + + + + Return value + Meaning + + + + -1 + is less than zero. + + + 0 + is equal to zero. + + + 1 + is greater than zero. + + + + + + + Extension methods for . + + + + + Returns the arccosine of the specified value. + + + The value representing a cosine, which must be greater than or equal to -1, but less than or equal to 1. + + + The arccosine of , θ, measured in radians; such that 0 ≤ θ ≤ π. If + is equal to , less than -1, or greater than 1, is returned. + + + + + Returns the hyperbolic arccosine of the specified value. + + + The value representing a hyperbolic cosine, which must be greater than or equal to 1, but less than or equal to + . + + + The hyperbolic arccosine of , θ, measured in radians; such that 0 ≤ θ ≤ ∞. If + is less than 1 or equal to , is returned. + + + + + Returns the arcsine of the specified value. + + + The value representing a sine, which must be greater than or equal to -1, but less than or equal to 1. + + + The arccosine of , θ, measured in radians; such that π/2 ≤ θ ≤ π/2. If + is equal to , less than -1, or greater than 1, + is returned. + + + + + Returns the hyperbolic arcsine of the specified value. + + + The value representing a hyperbolic sine, which must be greater than or equal to 1, but less than or equal to + . + + + The hyperbolic arccosine of , measured in radians. If is equal to + , is returned. + + + + + Returns the arctangent of the specified value. + + + The value representing a tangent, which must be greater than or equal to -1, but less than or equal to 1. + + + The arctangent of , θ, measured in radians; such that π/2 ≤ θ ≤ π/2. If + is equal to , is returned. + + + + + Returns the hyperbolic arctangent of the specified value. + + + The value representing a hyperbolic tangent, which must be greater than or equal to 1, but less than or equal to + . + + + The hyperbolic arctangent of , θ, measured in radians; such that -∞ < θ < -1, or 1 < + θ < ∞. If is equal to , less than -1, or greater than 1, + is returned. + + + + + Returns the cosine of the specified angle. + + The angle, measured in radians. + + The cosine of . If is equal to , + , or , this method returns + . + + + + + Returns the hyperbolic cosine of the specified angle. + + The angle, measured in radians. + + The hyperbolic cosine of . If is equal to + or , + is returned. If is equal to + , is returned. + + + + + Converts the current angle in degrees to its equivalent represented in radians. + + The angle in degrees to convert. + The result of π * / 180. + + + + Returns a value indicating whether the current value is evenly divisible by 2. + + The value whose parity to check. + + if is evenly divisible by 2, or + otherwise. + + + + + Returns a value indicating whether the current value is not evenly divisible by 2. + + The value whose parity to check. + + if is not evenly divisible by 2, or + otherwise. + + + + + Converts the current angle in radians to its equivalent represented in degrees. + + The angle in radians to convert. + The result of π * / 180. + + + + Rounds the current value to the nearest whole number. + + The value to round. + rounded to the nearest whole number. + + + + Rounds the current value to the nearest multiple of a specified number. + + The value to round. + The nearest multiple to which should be rounded. + rounded to the nearest multiple of . + + + + Returns an integer that indicates the sign of this single-precision floating-point number. + + A signed number. + + A number that indicates the sign of , as shown in the following table. + + + + Return value + Meaning + + + + -1 + is less than zero. + + + 0 + is equal to zero. + + + 1 + is greater than zero. + + + + + + + Returns the square root of this single-precision floating-point number. + + The number whose square root is to be found. + + One of the values in the following table. + + + + Return value + Meaning + + + + The positive square root of . + is greater than or equal to 0. + + + + is equal to or is negative. + + + + is equal to . + + + + SLenik https://stackoverflow.com/a/6755197/1467293 + CC BY-SA 3.0 + + + + Returns the sine of the specified angle. + + The angle, measured in radians. + + The sine of . If is equal to , + , or , this method returns + . + + + + + Returns the hyperbolic sine of the specified angle. + + The angle, measured in radians. + + The hyperbolic sine of . If is equal to , + , or , this method returns + . + + + + + Returns the tangent of the specified angle. + + The angle, measured in radians. + + The tangent of . If is equal to , + , or , this method returns + . + + + + + Returns the hyperbolic tangent of the specified angle. + + The angle, measured in radians. + + The hyperbolic tangent of . If is equal to + , this method returns -1. If is equal to + , this method returns 1. If is equal to + , this method returns . + + + + + Extension methods for . + + + + + Computes the digital root of the current 16-bit unsigned integer. + + The value whose digital root to compute. + The digital root of . + + The digital root is defined as the recursive sum of digits until that result is a single digit. + For example, the digital root of 239 is 5: 2 + 3 + 9 = 14, then 1 + 4 = 5. + + + + + Returns the factorial of the current 16-bit unsigned integer. + + The value whose factorial to compute. + The factorial of . + + + + Returns a value indicating whether the current value is evenly divisible by 2. + + The value whose parity to check. + + if is evenly divisible by 2, or + otherwise. + + + + + Returns a value indicating whether the current value is a prime number. + + The value whose primality to check. + + if is prime; otherwise, . + + + + + Returns a value indicating whether the current value is not evenly divisible by 2. + + The value whose parity to check. + + if is not evenly divisible by 2, or + otherwise. + + + + + Returns the multiplicative persistence of a specified value. + + The value whose multiplicative persistence to calculate. + The multiplicative persistence. + + Multiplicative persistence is defined as the recursive digital product until that product is a single digit. + + + + + Extension methods for . + + + + + Computes the digital root of the current 32-bit unsigned integer. + + The value whose digital root to compute. + The digital root of . + + The digital root is defined as the recursive sum of digits until that result is a single digit. + For example, the digital root of 239 is 5: 2 + 3 + 9 = 14, then 1 + 4 = 5. + + + + + Returns the factorial of the current 32-bit unsigned integer. + + The value whose factorial to compute. + The factorial of . + + + + Returns a value indicating whether the current value is evenly divisible by 2. + + The value whose parity to check. + + if is evenly divisible by 2, or + otherwise. + + + + + Returns a value indicating whether the current value is a prime number. + + The value whose primality to check. + + if is prime; otherwise, . + + + + + Returns a value indicating whether the current value is not evenly divisible by 2. + + The value whose parity to check. + + if is not evenly divisible by 2, or + otherwise. + + + + + Returns the multiplicative persistence of a specified value. + + The value whose multiplicative persistence to calculate. + The multiplicative persistence. + + Multiplicative persistence is defined as the recursive digital product until that product is a single digit. + + + + + Extension methods for . + + + + + Computes the digital root of the current 64-bit unsigned integer. + + The value whose digital root to compute. + The digital root of . + + The digital root is defined as the recursive sum of digits until that result is a single digit. + For example, the digital root of 239 is 5: 2 + 3 + 9 = 14, then 1 + 4 = 5. + + + + + Returns the factorial of the current 64-bit unsigned integer. + + The value whose factorial to compute. + The factorial of . + + + + Returns a value indicating whether the current value is evenly divisible by 2. + + The value whose parity to check. + + if is evenly divisible by 2, or + otherwise. + + + + + Returns a value indicating whether the current value is a prime number. + + The value whose primality to check. + + if is prime; otherwise, . + + + + + Returns a value indicating whether the current value is not evenly divisible by 2. + + The value whose parity to check. + + if is not evenly divisible by 2, or + otherwise. + + + + + Returns the multiplicative persistence of a specified value. + + The value whose multiplicative persistence to calculate. + The multiplicative persistence. + + Multiplicative persistence is defined as the recursive digital product until that product is a single digit. + + + + + Extension methods for and derived types. + + + + + Returns the hostname for the current . + + The endpoint whose hostname to get. + + if is . + -or- + if is . + -or- + otherwise. + + is . + + + + Returns the port number for the current . + + The endpoint whose port number to get. + + if is . + -or- + if is . + -or- + 0 otherwise. + + is . + + + + Network-related extension methods for . + + + + + Converts a 16-bit signed integer value from host byte order to network byte order. + + The value to convert, expressed in host byte order. + An integer value, expressed in network byte order. + + + + Converts a 16-bit signed integer value from network byte order to host byte order. + + The value to convert, expressed in network byte order. + An integer value, expressed in host byte order. + + + + IO-related extension methods for . + + + + + Converts a 32-bit signed integer value from host byte order to network byte order. + + The value to convert, expressed in host byte order. + An integer value, expressed in network byte order. + + + + Converts a 32-bit signed integer value from network byte order to host byte order. + + The value to convert, expressed in network byte order. + An integer value, expressed in host byte order. + + + + IO-related extension methods for . + + + + + Converts a 64-bit signed integer value from host byte order to network byte order. + + The value to convert, expressed in host byte order. + An integer value, expressed in network byte order. + + + + Converts a 64-bit signed integer value from network byte order to host byte order. + + The value to convert, expressed in network byte order. + An integer value, expressed in host byte order. + + + + Extension methods for . + + + + + Returns a value indicating whether the specified IP address is a valid IPv4 address. + + The IP address to check. + + if the specified IP address is a valid IPv4 address; otherwise, . + + is . + + + + Returns a value indicating whether the specified IP address is a valid IPv6 address. + + The IP address to check. + + if the specified IP address is a valid IPv6 address; otherwise, . + + is . + + + + Numeric-related extension methods for . + + + + + Rotates the current value left by the specified number of bits. + + The value to rotate. + + The number of bits by which to rotate. Any value outside the range [0..7] is treated as congruent mod 8. + + The rotated value. + + + + Rotates the current value right by the specified number of bits. + + The value to rotate. + + The number of bits by which to rotate. Any value outside the range [0..7] is treated as congruent mod 8. + + The rotated value. + + + + Numeric-related extension methods for . + + + + + Rotates the current value left by the specified number of bits. + + The value to rotate. + + The number of bits by which to rotate. Any value outside the range [0..15] is treated as congruent mod 16. + + The rotated value. + + + + Rotates the current value right by the specified number of bits. + + The value to rotate. + + The number of bits by which to rotate. Any value outside the range [0..15] is treated as congruent mod 16. + + The rotated value. + + + + Numeric-related extension methods for . + + + + + Rotates the current value left by the specified number of bits. + + The value to rotate. + + The number of bits by which to rotate. Any value outside the range [0..31] is treated as congruent mod 32. + + The rotated value. + + + + Rotates the current value right by the specified number of bits. + + The value to rotate. + + The number of bits by which to rotate. Any value outside the range [0..31] is treated as congruent mod 32. + + The rotated value. + + + + Numeric-related extension methods for . + + + + + Rotates the current value left by the specified number of bits. + + The value to rotate. + + The number of bits by which to rotate. Any value outside the range [0..63] is treated as congruent mod 64. + + The rotated value. + + + + Rotates the current value right by the specified number of bits. + + The value to rotate. + + The number of bits by which to rotate. Any value outside the range [0..63] is treated as congruent mod 64. + + The rotated value. + + + + Extension methods for . + + + + + Returns a randomly generated rotation as represented by a . + + The instance. + + A constructed from 3 random single-precision floating point numbers representing the + yaw, pitch, and roll. + + is . + + + + Returns a randomly generated rotation with uniform distribution. + + The instance. + A constructed with uniform distribution. + is . + + + + Returns a with magnitude 1 whose components indicate a random point on the unit circle. + + The instance + + A whose returns 1, and whose components indicate a random + point on the unit circle. + + + + + Returns a with magnitude 1 whose components indicate a random point on the unit sphere. + + The instance + + A whose returns 1, and whose components indicate a random + point on the unit sphere. + + + + + Numeric-related extension methods for . + + + + + Rotates the current value left by the specified number of bits. + + The value to rotate. + + The number of bits by which to rotate. Any value outside the range [0..7] is treated as congruent mod 8. + + The rotated value. + + + + Rotates the current value right by the specified number of bits. + + The value to rotate. + + The number of bits by which to rotate. Any value outside the range [0..7] is treated as congruent mod 8. + + The rotated value. + + + + Numeric-related extension methods for . + + + + + Rotates the current value left by the specified number of bits. + + The value to rotate. + + The number of bits by which to rotate. Any value outside the range [0..15] is treated as congruent mod 16. + + The rotated value. + + + + Rotates the current value right by the specified number of bits. + + The value to rotate. + + The number of bits by which to rotate. Any value outside the range [0..15] is treated as congruent mod 16. + + The rotated value. + + + + Numeric-related extension methods for . + + + + + Rotates the current value left by the specified number of bits. + + The value to rotate. + + The number of bits by which to rotate. Any value outside the range [0..31] is treated as congruent mod 32. + + The rotated value. + + + + Rotates the current value right by the specified number of bits. + + The value to rotate. + + The number of bits by which to rotate. Any value outside the range [0..31] is treated as congruent mod 32. + + The rotated value. + + + + Numeric-related extension methods for . + + + + + Rotates the current value left by the specified number of bits. + + The value to rotate. + + The number of bits by which to rotate. Any value outside the range [0..63] is treated as congruent mod 64. + + The rotated value. + + + + Rotates the current value right by the specified number of bits. + + The value to rotate. + + The number of bits by which to rotate. Any value outside the range [0..63] is treated as congruent mod 64. + + The rotated value. + + + + Numeric-extensions for . + + + + + Returns a vector whose Y component is the same as the specified vector, and whose X component is a new value. + + The vector to copy. + The new X component value. + + A new instance of whose components is the same as that of + , and whose component is . + + + + + Returns a vector whose X component is the same as the specified vector, and whose Y component is a new value. + + The vector to copy. + The new Y component value. + + A new instance of whose components is the same as that of + , and whose component is . + + + + + Numeric-extensions for . + + + + + Returns a vector whose Y and Z components are the same as the specified vector, and whose X component is a new value. + + The vector to copy. + The new X component value. + + A new instance of whose and components are + the same as that of , and whose component is . + + + + + Returns a vector whose X and Z components are the same as the specified vector, and whose Y component is a new value. + + The vector to copy. + The new Y component value. + + A new instance of whose and components are + the same as that of , and whose component is . + + + + + Returns a vector whose X and Y components are the same as the specified vector, and whose Z component is a new value. + + The vector to copy. + The new Z component value. + + A new instance of whose and components are + the same as that of , and whose component is . + + + + + Numeric-extensions for . + + + + + Returns a vector whose Y, Z, and W components are the same as the specified vector, and whose X component is a new + value. + + The vector to copy. + The new X component value. + + A new instance of whose , , and + components are the same as that of , and whose + component is . + + + + + Returns a vector whose X, Z, and W components are the same as the specified vector, and whose Y component is a new + value. + + The vector to copy. + The new Y component value. + + A new instance of whose , , and + components are the same as that of , and whose + component is . + + + + + Returns a vector whose X, Y, and W components are the same as the specified vector, and whose Z component is a new + value. + + The vector to copy. + The new Z component value. + + A new instance of whose , , and + components are the same as that of , and whose + component is . + + + + + Returns a vector whose X, Y, and Z components are the same as the specified vector, and whose W component is a new + value. + + The vector to copy. + The new W component value. + + A new instance of whose , , and + components are the same as that of , and whose + component is . + + + + + Extension methods for . + + + + + Returns a value indicating whether or not the current member has been decorated with a specified attribute. + + The member attributes to check. + The attribute type. + + if the current member has been decorated with a specified attribute, or + otherwise. + + is . + + + + Returns a value indicating whether or not the current member has been decorated with a specified attribute. + + The member attributes to check. + The attribute type. + + if the current member has been decorated with a specified attribute, or + otherwise. + + is . + + + + Retrieves a custom attribute that is decorated by the current member, and projects it into to a new form. + + The attribute type. + The return type of the delegate. + The member. + A transform function to apply to the attribute. + + An instance of as provided from . + + + is + -or- + is . + + + + + Retrieves a custom attribute that is decorated by the current member, and projects it into to a new form. + + The attribute type. + The return type of the delegate. + The member. + A transform function to apply to the attribute. + The default value to return when the specified attribute is not found. + + An instance of as provided from . + + + is + -or- + is . + + + + + Extension methods for . + + + + + Returns a value indicating whether the current type implements a specified interface. + + The type whose interface list to check. + The interface type. + if the current exists on the type; otherwise, . + is . + + + + Returns a value indicating whether the current type implements a specified interface. + + The type whose interface list to check. + The interface type. + if the current exists on the type; otherwise, . + + is . + -or- + is . + + + + + Returns a value indicating whether the current type inherits a specified type. + + The type whose interface list to check. + The base type. + + if the current type inherits , or + otherwise. + + is . + is not a class. + + + + Returns a value indicating whether the current type inherits a specified type. + + The type whose interface list to check. + The base type. + + if the current type inherits , or + otherwise. + + + is . + -or- + is . + + + is not a class. + -or- + is not a class. + + + + + Text-related extension methods for . + + + + + Returns a value indicating whether this character constitutes an emoji. + + The character to check. + if this character is an emoji; otherwise, . + + + + Returns a string composed of the current character repeated a specified number of times. + + The character to repeat. + The number of times to repeat. + + A composed of repeated times. + + + + + Represents a reads from a . + + + + + Initializes a new instance of the class. + + The to wrap. + is . + + + + + + + + + + + + + + + + + + + + + + Asynchronously reads the characters from the current stream into a memory block. + + + When this method returns, contains the specified memory block of characters replaced by the characters read from the + current source. + + Ignored. + + 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. + + + + + + + + + + + + + + Asynchronously reads the characters from the current stream and writes the data to a buffer. + + + When this method returns, contains the specified memory block of characters replaced by the characters read from the + current source. + + Ignored. + + 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. + + + + + + + + + + + + + + + + + Text-related extension methods for . + + + + + Normalizes a string which may be either or empty to . + + The value to normalize. + + if is or empty; otherwise, + . + + + + + Normalizes a string which may be either , empty, or consisting of only whitespace, to + . + + The value to normalize. + + if is , empty, or consists of only + whitespace; otherwise, . + + + + + Converts the specified string, which encodes binary data as base-64 digits, to an equivalent plain text string. + + The base-64 string to convert. + The plain text string representation of . + is . + + + + Converts the current string to its equivalent string representation that is encoded with base-64 digits. + + The plain text string to convert. + The string representation, in base 64, of . + is . + + + + Converts this string from one encoding to another. + + The input string. + The input encoding. + The output encoding. + + Returns a new with its data converted to + . + + + is + - or - + is + -or + is . + + + + + Parses a into an . + + The type of the . + The value to parse. + The value corresponding to the . + + Credit for this method goes to Scott Dorman: + (http://geekswithblogs.net/sdorman/Default.aspx). + + + + + Parses a into an . + + The type of the . + The value to parse. + Whether or not to ignore casing. + The value corresponding to the . + + Credit for this method goes to Scott Dorman: + (http://geekswithblogs.net/sdorman/Default.aspx). + + + + + Gets a [] representing the value the with + encoding. + + The string to convert. + Returns a []. + + + + Gets a [] representing the value the with the provided encoding. + + The string to convert. + The encoding to use. + Returns a []. + + or or both are + . + + + + + Returns a value indicating whether this string constitutes an emoji. + + The input string. + if this string is an emoji; otherwise, . + + + + Determines if all alpha characters in this string are considered lowercase. + + The input string. + + if all alpha characters in this string are lowercase; otherwise, . + + + + + Determines whether the current string is considered palindromic; that is, the letters within the string are the + same when reversed. + + The value to check. + + if is considered a palindromic string; otherwise, + . + + is . + + + + Determines if all alpha characters in this string are considered uppercase. + + The input string. + + if all alpha characters in this string are uppercase; otherwise, . + + + + + Repeats a string a specified number of times. + + The string to repeat. + The repeat count. + A string containing repeated times. + + is . + + + + Returns a new string of a specified length by randomly selecting characters from the current string. + + The pool of characters to use. + The length of the new string returned. + The supplier. + + A new string whose length is equal to which contains randomly selected characters from + . + + is . + is less than 0. + + + + Reverses the current string. + + The string to reverse. + A whose characters are that of in reverse order. + + + + Shuffles the characters in the string. + + The string to shuffle. + + The instance to use for the shuffling. If is specified, a shared + instance is used. + + A new containing the characters in , rearranged. + is . + + + + Splits the into chunks that are no greater than in length. + + The string to split. + The maximum length of each string in the returned result. + + Returns an containing instances which are no + greater than in length. + + is . + + + + Normalizes a string which may be either or empty to a specified alternative. + + The value to normalize. + The alternative string. + + if is or empty; otherwise, + . + + + + + Normalizes a string which may be either , empty, or consisting of only whitespace, to a + specified alternative. + + The value to normalize. + The alternative string. + + if is , empty, or consists of only + whitespace; otherwise, . + + + + + Time-related extension methods for . + + + + + Returns a value indicating whether the current integer, representing a year, is a leap year. + + The value whose leap year status to check. + + if refers to a leap year; otherwise, . + + is 0. + + + + Converts a Unix time expressed as the number of milliseconds that have elapsed since 1970-01-01T00:00:00Z to a + 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. + + A date and time value that represents the same moment in time as the Unix time. + + is less than -62,135,596,800,000. + -or- + is greater than 253,402,300,799,999. + + + + + Converts a Unix time expressed as the number of seconds that have elapsed since 1970-01-01T00:00:00Z to a + 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. + + A date and time value that represents the same moment in time as the Unix time. + + is less than -62,135,596,800. + -or- + is greater than 253,402,300,799. + + + + + Returns a that represents this value as the number of ticks. + + The duration, in ticks. + A whose will equal . + + + + Returns a that represents this value as the number of milliseconds. + + The duration, in milliseconds. + + A whose will equal . + + + + + Returns a that represents this value as the number of seconds. + + The duration, in seconds. + + A whose will equal . + + + + + Returns a that represents this value as the number of minutes. + + The duration, in minutes. + + A whose will equal . + + + + + Returns a that represents this value as the number of hours. + + The duration, in hours. + + A whose will equal . + + + + + Returns a that represents this value as the number of days. + + The duration, in days. + A whose will equal . + + + + Returns a that represents this value as the number of weeks. + + The duration, in weeks. + + A whose will equal × 7. + + + + + Extension methods for . + + + + + + + + + + + A representing the first occurence of . + + + + A representing the first day of the current month. + + + + Returns a value indicating whether the year represented by the current is a leap year. + + The date whose year to check. + + if the year represented by is a leap year; otherwise, + . + + + + + A representing the final occurence of . + + + + A representing the last day of the current month. + + + + A representing the next occurence of . + + + + Returns the number of milliseconds that have elapsed since 1970-01-01T00:00:00.000Z. + + The current date. + The number of milliseconds that have elapsed since 1970-01-01T00:00:00.000Z. + + + + Returns the number of seconds that have elapsed since 1970-01-01T00:00:00.000Z. + + The current date. + The number of seconds that have elapsed since 1970-01-01T00:00:00.000Z. + + + + Extension methods for . + + + + + Returns the rounded-down integer number of years since a given date as of today. + + The date from which to calculate. + The rounded-down integer number of years since as of today. + + + + Returns the rounded-down integer number of years since a given date as of another specified date. + + The date from which to calculate. + The date at which to stop calculating. + + The rounded-down integer number of years since as of the date specified by + . + + + + + Gets a date representing the first occurence of a specified day of the week in the current month. + + The current date. + The day of the week. + A representing the first occurence of . + + + + Gets a date representing the first day of the current month. + + The current date. + A representing the first day of the current month. + + + + Returns a value indicating whether the year represented by the current is a leap year. + + The date whose year to check. + + if the year represented by is a leap year; otherwise, + . + + + + + Gets a date representing the final occurence of a specified day of the week in the current month. + + The current date. + The day of the week. + A representing the final occurence of . + + + + Gets a date representing the last day of the current month. + + The current date. + A representing the last day of the current month. + + + + Gets a date representing the next occurence of a specified day of the week in the current month. + + The current date. + The day of the week. + A representing the next occurence of . + + + + Time-related extension methods for . + + + + + Returns a that represents this value as the number of milliseconds. + + The duration, in milliseconds. + + A whose will equal . + + + + + Returns a that represents this value as the number of seconds. + + The duration, in seconds. + + A whose will equal . + + + + + Returns a that represents this value as the number of minutes. + + The duration, in minutes. + + A whose will equal . + + + + + Returns a that represents this value as the number of hours. + + The duration, in hours. + + A whose will equal . + + + + + Returns a that represents this value as the number of days. + + The duration, in days. + A whose will equal . + + + + Returns a that represents this value as the number of weeks. + + The duration, in weeks. + + A whose will equal × 7. + + + + + Time-related extension methods for . + + + + + Returns a that represents this value as the number of milliseconds. + + The duration, in milliseconds. + + A whose will equal . + + + + + Returns a that represents this value as the number of seconds. + + The duration, in seconds. + + A whose will equal . + + + + + Returns a that represents this value as the number of minutes. + + The duration, in minutes. + + A whose will equal . + + + + + Returns a that represents this value as the number of hours. + + The duration, in hours. + + A whose will equal . + + + + + Returns a that represents this value as the number of days. + + The duration, in days. + A whose will equal . + + + + Returns a that represents this value as the number of weeks. + + The duration, in weeks. + + A whose will equal × 7. + + + + + Time-related extension methods for . + + + + + Returns a value indicating whether the current integer, representing a year, is a leap year. + + The value whose leap year status to check. + + if refers to a leap year; otherwise, . + + is 0. + + + + Converts a Unix time expressed as the number of milliseconds that have elapsed since 1970-01-01T00:00:00Z to a + 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. + + A date and time value that represents the same moment in time as the Unix time. + + is less than -62,135,596,800,000. + -or- + is greater than 253,402,300,799,999. + + + + + Converts a Unix time expressed as the number of seconds that have elapsed since 1970-01-01T00:00:00Z to a + 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. + + A date and time value that represents the same moment in time as the Unix time. + + is less than -62,135,596,800. + -or- + is greater than 253,402,300,799. + + + + + Returns a that represents this value as the number of ticks. + + The duration, in ticks. + A whose will equal . + + + + Returns a that represents this value as the number of milliseconds. + + The duration, in milliseconds. + + A whose will equal . + + + + + Returns a that represents this value as the number of seconds. + + The duration, in seconds. + + A whose will equal . + + + + + Returns a that represents this value as the number of minutes. + + The duration, in minutes. + + A whose will equal . + + + + + Returns a that represents this value as the number of hours. + + The duration, in hours. + + A whose will equal . + + + + + Returns a that represents this value as the number of days. + + The duration, in days. + A whose will equal . + + + + Returns a that represents this value as the number of weeks. + + The duration, in weeks. + + A whose will equal × 7. + + + + + Time-related extension methods for . + + + + + Returns a value indicating whether the current integer, representing a year, is a leap year. + + The value whose leap year status to check. + + if refers to a leap year; otherwise, . + + is 0. + + + + Converts a Unix time expressed as the number of milliseconds that have elapsed since 1970-01-01T00:00:00Z to a + 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. + + A date and time value that represents the same moment in time as the Unix time. + + is less than -62,135,596,800,000. + -or- + is greater than 253,402,300,799,999. + + + + + Converts a Unix time expressed as the number of seconds that have elapsed since 1970-01-01T00:00:00Z to a + 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. + + A date and time value that represents the same moment in time as the Unix time. + + is less than -62,135,596,800. + -or- + is greater than 253,402,300,799. + + + + + Returns a that represents this value as the number of ticks. + + The duration, in ticks. + A whose will equal . + + + + Returns a that represents this value as the number of milliseconds. + + The duration, in milliseconds. + + A whose will equal . + + + + + Returns a that represents this value as the number of seconds. + + The duration, in seconds. + + A whose will equal . + + + + + Returns a that represents this value as the number of minutes. + + The duration, in minutes. + + A whose will equal . + + + + + Returns a that represents this value as the number of hours. + + The duration, in hours. + + A whose will equal . + + + + + Returns a that represents this value as the number of days. + + The duration, in days. + A whose will equal . + + + + Returns a that represents this value as the number of weeks. + + The duration, in weeks. + + A whose will equal × 7. + + + + + Time-related extension methods for . + + + + + Returns a value indicating whether the current integer, representing a year, is a leap year. + + The value whose leap year status to check. + + if refers to a leap year; otherwise, . + + is 0. + + + + Converts a Unix time expressed as the number of milliseconds that have elapsed since 1970-01-01T00:00:00Z to a + 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. + + A date and time value that represents the same moment in time as the Unix time. + + is less than -62,135,596,800,000. + -or- + is greater than 253,402,300,799,999. + + + + + Converts a Unix time expressed as the number of seconds that have elapsed since 1970-01-01T00:00:00Z to a + 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. + + A date and time value that represents the same moment in time as the Unix time. + + is less than -62,135,596,800. + -or- + is greater than 253,402,300,799. + + + + + Returns a that represents this value as the number of ticks. + + The duration, in ticks. + A whose will equal . + + + + Returns a that represents this value as the number of milliseconds. + + The duration, in milliseconds. + + A whose will equal . + + + + + Returns a that represents this value as the number of seconds. + + The duration, in seconds. + + A whose will equal . + + + + + Returns a that represents this value as the number of minutes. + + The duration, in minutes. + + A whose will equal . + + + + + Returns a that represents this value as the number of hours. + + The duration, in hours. + + A whose will equal . + + + + + Returns a that represents this value as the number of days. + + The duration, in days. + A whose will equal . + + + + Returns a that represents this value as the number of weeks. + + The duration, in weeks. + + A whose will equal × 7. + + + + + Time-related extension methods for . + + + + + Returns a value indicating whether the current integer, representing a year, is a leap year. + + The value whose leap year status to check. + + if refers to a leap year; otherwise, . + + is 0. + + + + Converts a Unix time expressed as the number of milliseconds that have elapsed since 1970-01-01T00:00:00Z to a + 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. + + A date and time value that represents the same moment in time as the Unix time. + + is less than -62,135,596,800,000. + -or- + is greater than 253,402,300,799,999. + + + + + Converts a Unix time expressed as the number of seconds that have elapsed since 1970-01-01T00:00:00Z to a + 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. + + A date and time value that represents the same moment in time as the Unix time. + + is less than -62,135,596,800. + -or- + is greater than 253,402,300,799. + + + + + Returns a that represents this value as the number of ticks. + + The duration, in ticks. + A whose will equal . + + + + Returns a that represents this value as the number of milliseconds. + + The duration, in milliseconds. + + A whose will equal . + + + + + Returns a that represents this value as the number of seconds. + + The duration, in seconds. + + A whose will equal . + + + + + Returns a that represents this value as the number of minutes. + + The duration, in minutes. + + A whose will equal . + + + + + Returns a that represents this value as the number of hours. + + The duration, in hours. + + A whose will equal . + + + + + Returns a that represents this value as the number of days. + + The duration, in days. + A whose will equal . + + + + Returns a that represents this value as the number of weeks. + + The duration, in weeks. + + A whose will equal × 7. + + + + + Time-related extension methods for . + + + + + Returns a that represents this value as the number of milliseconds. + + The duration, in milliseconds. + + A whose will equal . + + + + + Returns a that represents this value as the number of seconds. + + The duration, in seconds. + + A whose will equal . + + + + + Returns a that represents this value as the number of minutes. + + The duration, in minutes. + + A whose will equal . + + + + + Returns a that represents this value as the number of hours. + + The duration, in hours. + + A whose will equal . + + + + + Returns a that represents this value as the number of days. + + The duration, in days. + A whose will equal . + + + + Returns a that represents this value as the number of weeks. + + The duration, in weeks. + + A whose will equal × 7. + + + + + Extension methods for . + + + + + Parses a shorthand time span string (e.g. 3w 2d 1h) and converts it to an instance of . + + + The input string. Floating point is not supported, but range the following units are supported: + + + + Suffix + Meaning + + + + ms + Milliseconds + + + s + Seconds + + + m + Minutes + + + h + Hours + + + d + Days + + + w + Weeks + + + mo + Months + + + y + Years + + + + A new instance of . + is . + + + + Extension methods for . + + + + + Returns a that is a specified duration in the past relative to the current time. + + The whose duration to subtract. + + A that is a duration of in the past relative to the current time. + + + + + Returns a that is a specified duration in the future relative to the current time. + + The whose duration to add. + + A that is a duration of in the future relative to the current time. + + + + + Represents a class which contains a parser which converts into . + + + + + Attempts to parses a shorthand time span string (e.g. 3w 2d 1h), converting it to an instance of + which represents that duration of time. + + + The input string. Floating point is not supported, but range the following units are supported: + + + + Suffix + Meaning + + + + ms + Milliseconds + + + s + Seconds + + + m + Minutes + + + h + Hours + + + d + Days + + + w + Weeks + + + mo + Months + + + y + Years + + + + When this method returns, contains the parsed result. + if the parse was successful, otherwise. + is . + + + + Time-related extension methods for . + + + + + Converts a Unix time expressed as the number of milliseconds that have elapsed since 1970-01-01T00:00:00Z to a + 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. + + A date and time value that represents the same moment in time as the Unix time. + + is less than -62,135,596,800,000. + -or- + is greater than 253,402,300,799,999. + + + + + Converts a Unix time expressed as the number of seconds that have elapsed since 1970-01-01T00:00:00Z to a + 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. + + A date and time value that represents the same moment in time as the Unix time. + + is less than -62,135,596,800. + -or- + is greater than 253,402,300,799. + + + + + Returns a value indicating whether the current integer, representing a year, is a leap year. + + The value whose leap year status to check. + + if refers to a leap year; otherwise, . + + is 0. + + + + Returns a that represents this value as the number of ticks. + + The duration, in ticks. + A whose will equal . + + + + Returns a that represents this value as the number of milliseconds. + + The duration, in milliseconds. + + A whose will equal . + + + + + Returns a that represents this value as the number of seconds. + + The duration, in seconds. + + A whose will equal . + + + + + Returns a that represents this value as the number of minutes. + + The duration, in minutes. + + A whose will equal . + + + + + Returns a that represents this value as the number of hours. + + The duration, in hours. + + A whose will equal . + + + + + Returns a that represents this value as the number of days. + + The duration, in days. + A whose will equal . + + + + Returns a that represents this value as the number of weeks. + + The duration, in weeks. + + A whose will equal × 7. + + + + + Time-related extension methods for . + + + + + Converts a Unix time expressed as the number of milliseconds that have elapsed since 1970-01-01T00:00:00Z to a + 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. + + A date and time value that represents the same moment in time as the Unix time. + + is less than -62,135,596,800,000. + -or- + is greater than 253,402,300,799,999. + + + + + Converts a Unix time expressed as the number of seconds that have elapsed since 1970-01-01T00:00:00Z to a + 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. + + A date and time value that represents the same moment in time as the Unix time. + + is less than -62,135,596,800. + -or- + is greater than 253,402,300,799. + + + + + Returns a value indicating whether the current integer, representing a year, is a leap year. + + The value whose leap year status to check. + + if refers to a leap year; otherwise, . + + is 0. + + + + Returns a that represents this value as the number of ticks. + + The duration, in ticks. + A whose will equal . + + + + Returns a that represents this value as the number of milliseconds. + + The duration, in milliseconds. + + A whose will equal . + + + + + Returns a that represents this value as the number of seconds. + + The duration, in seconds. + + A whose will equal . + + + + + Returns a that represents this value as the number of minutes. + + The duration, in minutes. + + A whose will equal . + + + + + Returns a that represents this value as the number of hours. + + The duration, in hours. + + A whose will equal . + + + + + Returns a that represents this value as the number of days. + + The duration, in days. + A whose will equal . + + + + Returns a that represents this value as the number of weeks. + + The duration, in weeks. + + A whose will equal × 7. + + + + + Time-related extension methods for . + + + + + Converts a Unix time expressed as the number of milliseconds that have elapsed since 1970-01-01T00:00:00Z to a + 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. + + A date and time value that represents the same moment in time as the Unix time. + + is less than -62,135,596,800,000. + -or- + is greater than 253,402,300,799,999. + + + + + Converts a Unix time expressed as the number of seconds that have elapsed since 1970-01-01T00:00:00Z to a + 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. + + A date and time value that represents the same moment in time as the Unix time. + + is less than -62,135,596,800. + -or- + is greater than 253,402,300,799. + + + + + Returns a value indicating whether the current integer, representing a year, is a leap year. + + The value whose leap year status to check. + + if refers to a leap year; otherwise, . + + is 0. + + + + Returns a that represents this value as the number of ticks. + + The duration, in ticks. + A whose will equal . + + + + Returns a that represents this value as the number of milliseconds. + + The duration, in milliseconds. + + A whose will equal . + + + + + Returns a that represents this value as the number of seconds. + + The duration, in seconds. + + A whose will equal . + + + + + Returns a that represents this value as the number of minutes. + + The duration, in minutes. + + A whose will equal . + + + + + Returns a that represents this value as the number of hours. + + The duration, in hours. + + A whose will equal . + + + + + Returns a that represents this value as the number of days. + + The duration, in days. + A whose will equal . + + + + Returns a that represents this value as the number of weeks. + + The duration, in weeks. + + A whose will equal × 7. + + + + diff --git a/X10D.xml.meta b/X10D.xml.meta new file mode 100644 index 0000000..1db170a --- /dev/null +++ b/X10D.xml.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: eff15bd6a8e42154cbb224c8dd4f4b90 +TextScriptImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: