Bridge
Controls a type or type members case notation in the script output.
Initializes a new instance of the ConventionAttribute class
with default Notation = None (as written in code), Target = All, Member = All, Accessibility = All
Initializes a new instance of the ConventionAttribute class with specified Notation.
Specifies notation to be applied.
Initializes a new instance of the ConventionAttribute class with specified Notation and Target.
Specifies target(s) to be filtered by [Convention] attribute.
Specifies notation to be applied by [Convention] attribute.
Specifies target(s) to be filtered by [Convention] attribute.
Specifies type member(s) to be filtered by [Convention] attribute.
Specifies access modifiers to be filtered by [Convention] attribute.
Semicolon separated list of type paths (a type member's full name, for example)
to be applied by [Convention] attribute.
It can contain a simple path like "YourNamespace.*"
or a regex form with "regex:" prefix like "regex:YourNamespace\.([A-Za-z0-9\-]*)YourEntity"
Applied to assembly attributes only
Specifies target(s) to be filtered by [Convention] attribute.
Specifies type member(s) to be filtered by [Convention] attribute.
Specifies access modifiers to be filtered by [Convention] attribute.
Specifies case notation to be applied by [Convention] attribute for a type or type members.
Does not change notation, i.e. as written.
Attribute modifies the generated .d.ts to include the TypeScript ? optional modifier.
Applies to interface if it's implementation is done outside Bridge type system (class implementation doesn't provide aliases for interface members implementations)
The option to manage JavaScript output folders and files.
See TypesSplit enum for more details.
The options to manage JavaScript output folders and files.
The class name will be the file name. If there are classes with same names in different namespaces, the generated JavaScript will be combined into one file. For example, if the class name is "Helpers", the file name will be "Helpers.js".
A folder hierarchy is created using the class name, and a folder is created for each unique word (split by '.') in the class namespace. For example, if the class "Helpers" is within the "Demo" namespace, the file path and name will be "Demo/Helpers.js".
The ModuleAttribute value is used as the file name if set on a class. For example, if [Module("MyModuleName")] is set, the file name will be "MyModuleName.js".
The full namespace is used as the file name. For example, if "Demo.Utilities" is the namespace, the file name will be "Demo.Utilities.js".
The class namespace is split (by '.') and a folder is created for each individual value, except the last value which becomes the file name. For example, if "Demo.Utilities" is the namespace, the file path and name will be "/Demo/Utilities.js".
All generated JavaScript for the project is added to one [ProjectName].js file. For example, if the project name is "MyUtilities", the file name will be "MyUtilities.js".
This can be overridden by setting the fileName option within bridge.json, or by using the [FileName] Attribute on the assembly or class levels.
The output folder path for generated JavaScript. A non-absolute path is concatenated with a project's root.
Examples: "Bridge/output/", "../Bridge/output/", "c:\\output\\"
This attribute can be placed on types in system script assemblies that should not
be imported. It is only meant to be used within Bridge.dll.
Makes the method to be called once the page is loaded. If using jQuery2, triggers jQuery's event,
otherwise, uses DOMContentReady event from HTML5.
Allow to control some aspects of generated code
Allows to configure flexible constraints for generic type parameters.
Provided multiple instances of [Where] attribute applied to a single generic type parameter,
Bridge will not raise a compilation error if at least one [Where] attribute was met by the type argument.
If true, Bridge will consider existing implicit conversion operators
in addition to inheritance chains, when checking whether constraints are met.
If true, Bridge will consider existing explicit conversion operators
in addition to inheritance chains, when checking whether constraints are met.
Configures a constraint type for the specified type parameter.
Type parameter name. Prefer "nameof(T)" whenever possible.
A constraint type that the type parameter must be convertible from.
Configures constraint(s) for the specified type parameter.
Type parameter name. Prefer "nameof(T)" whenever possible.
One or more constraint types that the type parameter must be convertible from.
Configures constraint(s) for the specified type parameter.
Prefer the overloaded ctor accepting types whenever possible.
Type parameter name: prefer "nameof(T)" whenever possible.
One or more constraint type names that the type parameter must be convertible from.
For classes marked with [External], controls unboxing for method parameters of type object.
By default, Bridge applies unboxing. Add this attributes with allow = false to override this behaviour.
Controls unboxing for [External] classes or methods.
False skips generating unboxing.
This attribute turns methods on a static class as global methods in the generated
script. Note that the class must be static, and must contain only methods.
Can be applied to a member to indicate that metadata for the member should (or should not) be included in the compiled script. By default members are reflectable if they have at least one scriptable attribute. The default reflectability can be changed with the DefaultMemberReflectabilityAttribute.
This enum defines the possibilities for default member reflectability.
This attribute can be applied to a method with a "params" parameter to make the param array be expanded in script (eg. given 'void F(int a, params int[] b)', the invocation 'F(1, 2, 3)' will be translated to 'F(1, [2, 3])' without this attribute, but 'F(1, 2, 3)' with this attribute.
Methods with this attribute can only be invoked in the expanded form.
TemplateAttribute is instruction to replace method calling (in expression) by required code
Emit this Method body immediately after this class defintion (default)
Emit this Method body Immediately before this class definition
Emit the contents of this Method body directly to the Top of the file.
Emit the contents of this Method body directly to the Bottom of the file.
Emit default values for all
Emit only values that have been explicitly initialized
Ignore default value. Emits an empty object literal
Create instance using constructor
Create instance using plain object ({ } syntax)
Specifies a custom namespace for the built entity.
Use 'false' (without quotes) to suppress namespace binding (usually with [External] attribute).
Specifies full path name of the entity (namespace+entity), when emitting JavaScript-equivalent
code. This overrides the inferred namespace.class.method name, for example.
Use "Object" (with quotes) to hide its type in JavaScript-level (useful when you create
a hidden class to fill several public classes' methods).
Makes it so the code with this attribute is not built into the assembly files.
Useful for stubbed out code to match JavaScript.
The file name where JavaScript is generated to.
ScriptAttribute specifies the method implementation that will be output to javascript
instead of its actual C# implementation. C# implementation is completely discarded if
this attribute is used.
Outputs log messages into a formatted div element on the page
Show tooltip
Hide tooltip
Close Bridge Console
Wraps all existing child elements inside body into a div
Unwraps content off the bridge body wrapper div back into the body tag as they used to be
Constructs each message list item
Sets multiple attributes
Converts Object to CSS styles format
The class is to get version string representation either of the current assembly or Compiler
Compiler will replace the method call with an version required by method parameter
Specifies either CurrentAssembly or Compiler version, default is CurrentAssembly
Current assembly or Compiler version in string representation
A simple JavaScript object where a comma separated list of name-value pairs are wrapped in curly braces.
Creates a new JavaScript object literal based on the properties and fields of the source object.
The object returned as a simple object literal in JavaScript
Creates an empty JavaScript object literal with the return type of T.
The Type of object literal to create.
An empty object literal of type T.
Emit a return statement
An object to return.
The delete operator removes a property from an object.
The name of an object, or an expression evaluating to an object.
true for all cases except when the property is an own non-configurable property, in which case, false is returned in non-strict mode.
The delete operator removes a property from an object.
The name of an object, or an expression evaluating to an object.
The property to delete.
true for all cases except when the property is an own non-configurable property, in which case, false is returned in non-strict mode.
Checks if the specified object is undefined. The object passed in should be a local variable, and not a member of a class (to avoid potential script warnings).
The object to test against undefined.
true if the object is undefined; false otherwise.
Checks if the object has a value.
The object to test if there is a value.
true if the object has a value; false otherwise.
Checks if the specified object is null.
The object to test against null.
true if the object is null; false otherwise.
Converts an object into a boolean.
The object to convert.
true if the object is not null, zero, empty string or undefined.
Generate member in obj.
The object to test against.
The member to check if in the object.
true if member in object; false otherwise.
Invoke a method on an object
The object to invoke the method against.
The method to invoke.
The arguments passed into the method.
Inject javascript code
Inject javascript code
The global undefined property represents the value undefined.
The global NaN property is a value representing Not-A-Number.
The global Infinity property is a numeric value representing infinity.
The eval() method evaluates JavaScript code represented as a string.
A string representing a JavaScript expression, statement, or sequence of statements. The expression can include variables and properties of existing objects.
The eval() method evaluates JavaScript code represented as a string.
A string representing a JavaScript expression, statement, or sequence of statements. The expression can include variables and properties of existing objects.
The global isFinite() function determines whether the passed value is a finite number. If needed, the parameter is first converted to a number.
The value to be tested for finiteness.
Parses a string argument and returns a floating point number corresponding to double .Net type.
A string that represents the value you want to parse.
Parsed floating point number with type corresponding to double .Net type
The parseInt() function parses a string argument and returns an integer of the specified radix or base.
The value to parse. If string is not a string, then it is converted to one. Leading whitespace in the string is ignored.
The parseInt() function parses a string argument and returns an integer of the specified radix or base.
The value to parse. If string is not a string, then it is converted to one. Leading whitespace in the string is ignored.
An integer that represents the radix of the above mentioned string. Always specify this parameter to eliminate reader confusion and to guarantee predictable behavior. Different implementations produce different results when a radix is not specified.
The isNaN() function determines whether a value is NaN or not. Be careful, this function is broken. You may be interested in Number.isNaN() as defined in ECMAScript 6 or you can use typeof to determine if the value is Not-A-Number.
The value to be tested.
The decodeURI() function decodes a Uniform Resource Identifier (URI) previously created by encodeURI or by a similar routine.
A complete, encoded Uniform Resource Identifier.
The decodeURIComponent() method decodes a Uniform Resource Identifier (URI) component previously created by encodeURIComponent or by a similar routine.
An encoded component of a Uniform Resource Identifier.
The encodeURI() method encodes a Uniform Resource Identifier (URI) by replacing each instance of certain characters by one, two, three, or four escape sequences representing the UTF-8 encoding of the character (will only be four escape sequences for characters composed of two "surrogate" characters).
A complete Uniform Resource Identifier.
The encodeURIComponent() method encodes a Uniform Resource Identifier (URI) component by replacing each instance of certain characters by one, two, three, or four escape sequences representing the UTF-8 encoding of the character (will only be four escape sequences for characters composed of two "surrogate" characters).
A component of a URI.
Runs the function in a try/catch statement
Function to run
Return either function result or false in case of catch
Provides access to the arguments of the current function.
Retrieves the number of actual arguments passed to the function.
The count of arguments.
Retrieves the specified actual argument value passed to the
function by index.
The index of the argument to retrieve.
The value of the specified argument.
The Error constructor creates an error object. Instances of Error objects are thrown when runtime errors occur. The Error object can also be used as a base objects for user-defined exceptions. See below for standard built-in error types.
Internal helper functions for working with enumerables.
Converts an enumerable to an array using the same logic as does List{T}.
The enumerable to convert.
The resulting array.
Converts an enumerable to an array using the same logic as does List{T}.
The enumerable to convert.
The number of items stored in the resulting array, 0-indexed.
The resulting array. The length of the array may be greater than ,
which is the actual number of elements in the array.
Represents a generic collection of key/value pairs.
The type of keys in the dictionary.
The type of values in the dictionary.
Gets or sets the element with the specified key.
The key of the element to get or set.
The element with the specified key.
key is null.
The property is retrieved and key is not found.
The property is set and the System.Collections.Generic.IDictionary`2 is read-only.
Gets an System.Collections.Generic.ICollection`1 containing the keys of the System.Collections.Generic.IDictionary`2.
An System.Collections.Generic.ICollection`1 containing the keys of the object
that implements System.Collections.Generic.IDictionary`2.
Gets an System.Collections.Generic.ICollection`1 containing the values in the
System.Collections.Generic.IDictionary`2.
An System.Collections.Generic.ICollection`1 containing the values in the object
that implements System.Collections.Generic.IDictionary`2.
Adds an element with the provided key and value to the System.Collections.Generic.IDictionary`2.
The object to use as the key of the element to add.
The object to use as the value of the element to add.
key is null.
An element with the same key already exists in the System.Collections.Generic.IDictionary`2.
The System.Collections.Generic.IDictionary`2 is read-only.
Determines whether the System.Collections.Generic.IDictionary`2 contains an element
with the specified key.
The key to locate in the System.Collections.Generic.IDictionary`2.
true if the System.Collections.Generic.IDictionary`2 contains an element with
the key; otherwise, false.
key is null.
Removes the element with the specified key from the System.Collections.Generic.IDictionary`2.
The key of the element to remove.
true if the element is successfully removed; otherwise, false. This method also
returns false if key was not found in the original System.Collections.Generic.IDictionary`2.
key is null.
The System.Collections.Generic.IDictionary`2 is read-only.
Gets the value associated with the specified key.
The key whose value to get.
When this method returns, the value associated with the specified key, if the
key is found; otherwise, the default value for the type of the value parameter.
This parameter is passed uninitialized.
true if the object that implements System.Collections.Generic.IDictionary`2 contains
an element with the specified key; otherwise, false.
key is null.
Copies the elements to an existing one-dimensional Array, starting at the specified array index.
The one-dimensional Array that is the destination of the elements copied from . The Array must have zero-based indexing.
The zero-based index in array at which copying begins.
Add the value ITEM to the tree, returns true if added, false if duplicate
item to be added
Adds ITEM to the tree if not already present. Returns TRUE if value was successfully added
or FALSE if it is a duplicate
Remove the T ITEM from this SortedSet. Returns true if successfully removed.
Testing counter that can track rotations
Used for deep equality of SortedSet testing
Create a new set comparer for this set, where this set's members' equality is defined by the
memberEqualityComparer. Note that this equality comparer's definition of equality must be the
same as this set's Comparer's definition of equality
Decides whether these sets are the same, given the comparer. If the EC's are the same, we can
just use SetEquals, but if they aren't then we have to manually check with the given comparer
Copies this to an array. Used for DebugView
Transform this set into its union with the IEnumerable OTHER
Attempts to insert each element and rejects it if it exists.
NOTE: The caller object is important as UnionWith uses the Comparator
associated with THIS to check equality
Throws ArgumentNullException if OTHER is null
Transform this set into its intersection with the IEnumerable OTHER
NOTE: The caller object is important as IntersectionWith uses the
comparator associated with THIS to check equality
Throws ArgumentNullException if OTHER is null
Transform this set into its complement with the IEnumerable OTHER
NOTE: The caller object is important as ExceptWith uses the
comparator associated with THIS to check equality
Throws ArgumentNullException if OTHER is null
Transform this set so it contains elements in THIS or OTHER but not both
NOTE: The caller object is important as SymmetricExceptWith uses the
comparator associated with THIS to check equality
Throws ArgumentNullException if OTHER is null
Checks whether this Tree is a subset of the IEnumerable other
Checks whether this Tree is a proper subset of the IEnumerable other
Checks whether this Tree is a super set of the IEnumerable other
Checks whether this Tree is a proper super set of the IEnumerable other
Checks whether this Tree has all elements in common with IEnumerable other
Checks whether this Tree has any elements in common with IEnumerable other
This works similar to HashSet's CheckUniqueAndUnfound (description below), except that the bit
array maps differently than in the HashSet. We can only use this for the bulk boolean checks.
Determines counts that can be used to determine equality, subset, and superset. This
is only used when other is an IEnumerable and not a HashSet. If other is a HashSet
these properties can be checked faster without use of marking because we can assume
other has no duplicates.
The following count checks are performed by callers:
1. Equals: checks if unfoundCount = 0 and uniqueFoundCount = Count; i.e. everything
in other is in this and everything in this is in other
2. Subset: checks if unfoundCount >= 0 and uniqueFoundCount = Count; i.e. other may
have elements not in this and everything in this is in other
3. Proper subset: checks if unfoundCount > 0 and uniqueFoundCount = Count; i.e
other must have at least one element not in this and everything in this is in other
4. Proper superset: checks if unfound count = 0 and uniqueFoundCount strictly less
than Count; i.e. everything in other was in this and this had at least one element
not contained in other.
An earlier implementation used delegates to perform these checks rather than returning
an ElementCount struct; however this was changed due to the perf overhead of delegates.
Allows us to finish faster for equals and proper superset
because unfoundCount must be 0.
Returns a subset of this tree ranging from values lBound to uBound
Any changes made to the subset reflect in the actual tree
Lowest Value allowed in the subset
Highest Value allowed in the subset
This class represents a subset view into the tree. Any changes to this view
are reflected in the actual tree. Uses the Comparator of the underlying tree.
Additions to this tree need to be added to the underlying tree as well
checks whether this subset is out of date. updates if necessary.
Searches the set for a given value and returns the equal value it finds, if any.
The value to search for.
The value from the set that the search found, or the default value of when the search yielded no match.
A value indicating whether the search was successful.
This can be useful when you want to reuse a previously stored reference instead of
a newly constructed one (so that more sharing of references can occur) or to look up
a value that has more complete data than the value you currently have, although their
comparer functions indicate they are equal.
A class that generates an IEqualityComparer for this SortedSet. Requires that the definition of
equality defined by the IComparer for this SortedSet be consistent with the default IEqualityComparer
for the type T. If not, such an IEqualityComparer should be provided through the constructor.
Create a new SetEqualityComparer, given a comparer for member order and another for member equality (these
must be consistent in their definition of equality)
Generic collection that guarantees the uniqueness of its elements, as defined
by some comparer. It also supports basic set operations such as Union, Intersection,
Complement and Exclusive Complement.
Gets the number of elements contained in the ICollection.
Gets a value indicating whether the ICollection is read-only.
Adds an item to the ICollection.
The object to add to the ICollection
Copies the elements of the ICollection to an Array, starting at a particular Array index.
The one-dimensional Array that is the destination of the elements copied from ICollection.
The zero-based index in array at which copying begins.
Removes all items from the ICollection.
Determines whether the ICollection contains a specific value.
The object to locate in the ICollection.
true if item is found in the ICollection; otherwise, false.
Removes the first occurrence of a specific object from the ICollection.
The object to remove from the ICollection.
true if item was successfully removed from the ICollection; otherwise, false. This method also returns false if item is not found in the original ICollection.
Represents a strongly typed list of objects that can be accessed by index. Provides methods to search, sort, and manipulate lists.
The type of elements in the list.
Initializes a new instance of the List<T> class that is empty and has the default initial capacity.
Initializes a new instance of the List<T> class that is empty and has the specified initial capacity.
The number of elements that the new list can initially store.
Initializes a new instance of the List<T> class that contains elements copied from the specified collection and has sufficient capacity to accommodate the number of elements copied.
The collection whose elements are copied to the new list.
Gets or sets the total number of elements the internal data structure can hold without resizing.
Gets the number of elements contained in the List<T>.
Gets a value indicating whether the ICollection<T> is read-only.
Gets a value indicating whether the IList is read-only.
Gets or sets the element at the specified index.
The zero-based index of the element to get or set.
The element at the specified index.
Gets or sets the element at the specified index.
The zero-based index of the element to get or set.
The element at the specified index.
Adds an object to the end of the List<T>.
The object to be added to the end of the List<T>. The value can be null for reference types.
Adds an item to the IList.
The Object to add to the IList.
The position into which the new element was inserted.
Adds the elements of the specified collection to the end of the List<T>.
The collection whose elements should be added to the end of the List<T>. The collection itself cannot be null, but it can contain elements that are null, if type T is a reference type.
Returns a read-only ReadOnlyCollection<T> wrapper for the current collection.
An object that acts as a read-only wrapper around the current List<T>.
Searches a range of elements in the sorted List<T> for an element using the specified comparer and returns the zero-based index of the element.
The zero-based starting index of the range to search.
The length of the range to search.
The object to locate. The value can be null for reference types.
The IComparer<T> implementation to use when comparing elements, or null to use the default comparer Comparer<T>.Default.
The zero-based index of item in the sorted List<T>, if item is found; otherwise, a negative number that is the bitwise complement of the index of the next element that is larger than item or, if there is no larger element, the bitwise complement of Count.
Searches the entire sorted List<T> for an element using the default comparer and returns the zero-based index of the element.
The object to locate. The value can be null for reference types.
The zero-based index of item in the sorted List<T>, if item is found; otherwise, a negative number that is the bitwise complement of the index of the next element that is larger than item or, if there is no larger element, the bitwise complement of Count.
Searches the entire sorted List<T> for an element using the specified comparer and returns the zero-based index of the element.
The object to locate. The value can be null for reference types.
The IComparer<T> implementation to use when comparing elements. -or- null to use the default comparer Comparer<T>.Default.
The zero-based index of item in the sorted List<T>, if item is found; otherwise, a negative number that is the bitwise complement of the index of the next element that is larger than item or, if there is no larger element, the bitwise complement of Count.
Removes all elements from the List<T>.
Determines whether an element is in the List<T>. It does a linear, O(n) search.
Equality is determined by calling item.Equals().
The object to locate in the List<T>. The value can be null for reference types.
true if item is found in the List<T>; otherwise, false.
Determines whether the IList contains a specific value.
The Object to locate in the IList.
true if item is found in the IList; otherwise, false.
Converts the elements in the current List<T> to another type, and returns a list containing the converted elements.
The type of the elements of the target array.
A Converter<TInput,?TOutput> delegate that converts each element from one type to another type.
A List<T> of the target type containing the converted elements from the current List<T>.
Copies the entire List<T> to a compatible one-dimensional array, starting at the beginning of the target array.
The one-dimensional Array that is the destination of the elements copied from List<T>. The Array must have zero-based indexing.
Copies the elements of the ICollection to an Array, starting at a particular Array index.
The one-dimensional Array that is the destination of the elements copied from ICollection. The Array must have zero-based indexing.
The zero-based index in array at which copying begins.
Copies a range of elements from the List<T> to a compatible one-dimensional array, starting at the specified index of the target array.
The zero-based index in the source List<T> at which copying begins.
The one-dimensional Array that is the destination of the elements copied from List<T>. The Array must have zero-based indexing.
The zero-based index in array at which copying begins.
The number of elements to copy.
Copies the entire List<T> to a compatible one-dimensional array, starting at the specified index of the target array.
The one-dimensional Array that is the destination of the elements copied from List<T>. The Array must have zero-based indexing.
The zero-based index in array at which copying begins.
Determines whether the List<T> contains elements that match the conditions defined by the specified predicate.
The Predicate<T> delegate that defines the conditions of the elements to search for.
true if the List<T> contains one or more elements that match the conditions defined by the specified predicate; otherwise, false.
Searches for an element that matches the conditions defined by the specified predicate, and returns the first occurrence within the entire List<T>.
The Predicate<T> delegate that defines the conditions of the element to search for.
The first element that matches the conditions defined by the specified predicate, if found; otherwise, the default value for type T.
Retrieves all the elements that match the conditions defined by the specified predicate.
The Predicate<T> delegate that defines the conditions of the elements to search for.
A List<T> containing all the elements that match the conditions defined by the specified predicate, if found; otherwise, an empty List<T>.
Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the first occurrence within the entire List<T>.
The Predicate<T> delegate that defines the conditions of the element to search for.
The zero-based index of the first occurrence of an element that matches the conditions defined by match, if found; otherwise, –1.
Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the first occurrence within the range of elements in the List<T> that extends from the specified index to the last element.
The zero-based starting index of the search.
The Predicate<T> delegate that defines the conditions of the element to search for.
The zero-based index of the first occurrence of an element that matches the conditions defined by match, if found; otherwise, –1.
Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the first occurrence within the range of elements in the List<T> that starts at the specified index and contains the specified number of elements.
The zero-based starting index of the search.
The number of elements in the section to search.
The Predicate<T> delegate that defines the conditions of the element to search for.
The zero-based index of the first occurrence of an element that matches the conditions defined by match, if found; otherwise, –1.
Searches for an element that matches the conditions defined by the specified predicate, and returns the last occurrence within the entire List<T>.
The Predicate<T> delegate that defines the conditions of the element to search for.
The last element that matches the conditions defined by the specified predicate, if found; otherwise, the default value for type T.
Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the last occurrence within the entire List<T>.
The Predicate<T> delegate that defines the conditions of the element to search for.
The zero-based index of the last occurrence of an element that matches the conditions defined by match, if found; otherwise, –1.
Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the last occurrence within the range of elements in the List<T> that extends from the first element to the specified index.
The zero-based starting index of the backward search.
The Predicate<T> delegate that defines the conditions of the element to search for.
The zero-based index of the last occurrence of an element that matches the conditions defined by match, if found; otherwise, –1.
Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the last occurrence within the range of elements in the List<T> that contains the specified number of elements and ends at the specified index.
The zero-based starting index of the backward search.
The number of elements in the section to search.
The Predicate<T> delegate that defines the conditions of the element to search for.
The zero-based index of the last occurrence of an element that matches the conditions defined by match, if found; otherwise, –1.
Performs the specified action on each element of the List<T>.
The Action<T> delegate to perform on each element of the List<T>.
Returns an enumerator for this list with the given
permission for removal of elements. If modifications made to the list
while an enumeration is in progress, the MoveNext and
GetObject methods of the enumerator will throw an exception.
A List<T>.Enumerator for the List<T>.
Returns an enumerator that iterates through a collection.
An IEnumerator<T> that can be used to iterate through the collection.
Returns an enumerator that iterates through a collection.
An IEnumerator that can be used to iterate through the collection.
Creates a shallow copy of a range of elements in the source List<T>.
The zero-based List<T> index at which the range starts.
The number of elements in the range.
A shallow copy of a range of elements in the source List<T>.
Searches for the specified object and returns the zero-based index of the first occurrence within the entire List<T>.
The object to locate in the List<T>. The value can be null for reference types.
The zero-based index of the first occurrence of item within the entire List<T>, if found; otherwise, –1.
Determines the index of a specific item in the IList.
The object to locate in the IList.
The index of item if found in the list; otherwise, –1.
Searches for the specified object and returns the zero-based index of the first occurrence within the range of elements in the List<T> that extends from the specified index to the last element.
The object to locate in the List<T>. The value can be null for reference types.
The zero-based starting index of the search. 0 (zero) is valid in an empty list.
The zero-based index of the first occurrence of item within the range of elements in the List<T> that extends from index to the last element, if found; otherwise, –1.
Searches for the specified object and returns the zero-based index of the first occurrence within the range of elements in the List<T> that starts at the specified index and contains the specified number of elements.
The object to locate in the List<T>. The value can be null for reference types.
The zero-based starting index of the search. 0 (zero) is valid in an empty list.
The number of elements in the section to search.
The zero-based index of the first occurrence of item within the range of elements in the List<T> that starts at index and contains count number of elements, if found; otherwise, –1.
Inserts an element into the List<T> at the specified index.
The zero-based index at which item should be inserted.
The object to insert. The value can be null for reference types.
Inserts an item to the IList at the specified index.
The zero-based index at which item should be inserted.
The object to insert into the IList.
Inserts the elements of a collection into the List<T> at the specified index.
The zero-based index at which the new elements should be inserted.
The collection whose elements should be inserted into the List<T>. The collection itself cannot be null, but it can contain elements that are null, if type T is a reference type.
Searches for the specified object and returns the zero-based index of the last occurrence within the entire List<T>.
The object to locate in the List<T>. The value can be null for reference types.
The zero-based index of the last occurrence of item within the entire the List<T>, if found; otherwise, –1.
Searches for the specified object and returns the zero-based index of the last occurrence within the range of elements in the List<T> that extends from the first element to the specified index.
The object to locate in the List<T>. The value can be null for reference types.
The zero-based starting index of the backward search.
The zero-based index of the last occurrence of item within the range of elements in the List<T> that extends from the first element to index, if found; otherwise, –1.
Searches for the specified object and returns the zero-based index of the last occurrence within the range of elements in the List<T> that contains the specified number of elements and ends at the specified index.
Searches for the specified object and returns the zero-based index of the last occurrence within the range of elements in the List<T> that contains the specified number of elements and ends at the specified index.
The zero-based starting index of the backward search.
The number of elements in the section to search
The zero-based index of the last occurrence of item within the range of elements in the List<T> that contains count number of elements and ends at index, if found; otherwise, –1.
Removes the first occurrence of a specific object from the List<T>.
The object to remove from the List<T>. The value can be null for reference types.
true if item is successfully removed; otherwise, false. This method also returns false if item was not found in the List<T>.
Removes the first occurrence of a specific object from the IList.
The object to remove from the IList.
Removes all the elements that match the conditions defined by the specified predicate.
The Predicate<T> delegate that defines the conditions of the elements to remove.
The number of elements removed from the List<T>.
Removes the element at the specified index of the List<T>.
The zero-based index of the element to remove.
Removes a range of elements from the List<T>.
The zero-based starting index of the range of elements to remove.
The number of elements to remove.
Reverses the order of the elements in the entire List<T>.
Reverses the order of the elements in the specified range.
The zero-based starting index of the range to reverse.
The number of elements in the range to reverse.
Sorts the elements in the entire List<T> using the default comparer.
Sorts the elements in the entire List<T> using the specified comparer.
The IComparer<T> implementation to use when comparing elements, or null to use the default comparer Comparer<T>.Default.
Sorts the elements in a range of elements in List<T> using the specified comparer.
The zero-based starting index of the range to sort.
The length of the range to sort.
The IComparer<T> implementation to use when comparing elements, or null to use the default comparer Comparer<T>.Default.
Sorts the elements in the entire List<T> using the specified System.Comparison<T>.
The System.Comparison<T> to use when comparing elements.
Copies the elements of the List<T> to a new array.
An array containing copies of the elements of the List<T>.
Sets the capacity to the actual number of elements in the List<T>, if that number is less than a threshold value.
Determines whether every element in the List<T> matches the conditions defined by the specified predicate.
The Predicate<T> delegate that defines the conditions to check against the elements.
true if every element in the List<T> matches the conditions defined by the specified predicate; otherwise, false. If the list has no elements, the return value is true.
Enumerates the elements of a List<T>.
Releases all resources used by the List<T>.Enumerator.
Advances the enumerator to the next element of the List<T>.
true if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the collection.
Gets the element at the current position of the enumerator.
Gets the element at the current position of the enumerator.
Sets the enumerator to its initial position, which is before the first element in the collection.
Copies the entire List to a compatible one-dimensional array, starting at the specified index of the target array.
The one-dimensional Array that is the destination of the elements copied from List.
The zero-based index in array at which copying begins.
Gets the number of elements contained in the ICollection.
Used for conversion between different representations of bit array.
Returns (n+(div-1))/div, rearranged to avoid arithmetic overflow.
For example, in the bit to int case, the straightforward calc would
be (n+31)/32, but that would cause overflow. So instead it's
rearranged to ((n-1)/32) + 1, with special casing for 0.
Usage:
GetArrayLength(77, BitsPerInt32): returns how many ints must be
allocated to store 77 bits.
use a conversion constant, e.g. BytesPerInt32 to get
how many ints are required to store n bytes
Returns whether this dictionary contains a particular key.
Returns an System.Collections.IDictionaryEnumerator object for the System.Collections.IDictionary
object.
An System.Collections.IDictionaryEnumerator object for the System.Collections.IDictionary
object.
Adds a key-value pair to the dictionary.
Removes all elements from the System.Collections.IDictionary object.
The System.Collections.IDictionary object is read-only.
Gets a value indicating whether the System.Collections.IDictionary object is
read-only.
true if the System.Collections.IDictionary object is read-only; otherwise, false.
Gets a value indicating whether the System.Collections.IDictionary object has
a fixed size.
true if the System.Collections.IDictionary object has a fixed size; otherwise,
false.
Removes a particular key from the dictionary.
Represents a non-generic collection of objects that can be individually accessed
by index.
Gets or sets the element at the specified index.
The zero-based index of the element to get or set.
The element at the specified index.
index is not a valid index in the System.Collections.IList.
The property is set and the System.Collections.IList is read-only.
Gets a value indicating whether the System.Collections.IList is read-only.
true if the System.Collections.IList is read-only; otherwise, false.
Gets a value indicating whether the System.Collections.IList has a fixed size.
true if the System.Collections.IList has a fixed size; otherwise, false.
Adds an item to the System.Collections.IList.
The object to add to the System.Collections.IList.
The position into which the new element was inserted, or -1 to indicate that
the item was not inserted into the collection.
The System.Collections.IList is read-only.-or- The System.Collections.IList has
a fixed size.
Removes all items from the System.Collections.IList.
The System.Collections.IList is read-only.
Determines whether the System.Collections.IList contains a specific value.
The object to locate in the System.Collections.IList.
true if the System.Object is found in the System.Collections.IList; otherwise,
false.
Determines the index of a specific item in the System.Collections.IList.
The object to locate in the System.Collections.IList.
The index of value if found in the list; otherwise, -1.
Inserts an item to the System.Collections.IList at the specified index.
The zero-based index at which value should be inserted.
The object to insert into the System.Collections.IList.
index is not a valid index in the System.Collections.IList.
The System.Collections.IList is read-only.-or- The System.Collections.IList has
a fixed size.
value is null reference in the System.Collections.IList.
Removes the first occurrence of a specific object from the System.Collections.IList.
The object to remove from the System.Collections.IList.
The System.Collections.IList is read-only.-or- The System.Collections.IList has
a fixed size.
Removes the System.Collections.IList item at the specified index.
The zero-based index of the item to remove.
index is not a valid index in the System.Collections.IList.
The System.Collections.IList is read-only.-or- The System.Collections.IList has
a fixed size. [Bridge.Template("System.Array.removeAt({this}, {index})")]
Gets the number of elements contained in the ICollection.
Gets an object that can be used to synchronize access to the System.Collections.ICollection.
An object that can be used to synchronize access to the System.Collections.ICollection.
Gets a value indicating whether access to the System.Collections.ICollection
is synchronized (thread safe).
true if access to the System.Collections.ICollection is synchronized (thread
safe); otherwise, false.
Specifies the default value for a property.
This is the default value.
Initializes a new instance of the class, converting the
specified value to the
specified type, and using the U.S. English culture as the
translation
context.
Initializes a new instance of the class using a Unicode
character.
Initializes a new instance of the class using an 8-bit unsigned
integer.
Initializes a new instance of the class using a 16-bit signed
integer.
Initializes a new instance of the class using a 32-bit signed
integer.
Initializes a new instance of the class using a 64-bit signed
integer.
Initializes a new instance of the class using a
single-precision floating point
number.
Initializes a new instance of the class using a
double-precision floating point
number.
Initializes a new instance of the class using a
value.
Initializes a new instance of the class using a .
Initializes a new instance of the
class.
Initializes a new instance of the class using a
value.
Initializes a new instance of the class using a
value.
Initializes a new instance of the class using a
value.
Initializes a new instance of the class using a
value.
Gets the default value of the property this
attribute is
bound to.
Specifies whether a property or event should be displayed in a Properties window.
Specifies that a property or event can be modified at design time. This field is read-only.
Specifies that a property or event cannot be modified at design time. This field is read-only.
Specifies the default value for the BrowsableAttribute, which is BrowsableAttribute.Yes. This field is read-only.
Initializes a new instance of the BrowsableAttribute class.
Gets a value indicating whether an object is browsable.
Used to mark an Entity member as an association
Full form of constructor
The name of the association. For bi-directional associations,
the name must be the same on both sides of the association
Comma separated list of the property names of the key values
on this side of the association
Comma separated list of the property names of the key values
on the other side of the association
Gets the name of the association. For bi-directional associations, the name must
be the same on both sides of the association
Gets a comma separated list of the property names of the key values
on this side of the association
Gets a comma separated list of the property names of the key values
on the other side of the association
Gets or sets a value indicating whether this association member represents
the foreign key side of an association
Gets the collection of individual key members specified in the ThisKey string.
Gets the collection of individual key members specified in the OtherKey string.
This attribute is used to mark the members of a Type that participate in optimistic concurrency checks.
Validation attribute that executes a user-supplied method at runtime, using one of these signatures:
public static Method(object value) { ... }
public static Method(object value, context) {
... }
The value can be strongly typed as type conversion will be attempted.
Instantiates a custom validation attribute that will invoke a method in the
specified type.
The type that will contain the method to invoke. It cannot be null. See .
The name of the method to invoke in .
Gets the type that contains the validation method identified by .
Gets the name of the method in to invoke to perform validation.
Override of validation method. See .
The value to validate.
A instance that provides
context about the validation operation, such as the object and member being validated.
Whatever the in returns.
is thrown if the current attribute is malformed.
Override of
The name to include in the formatted string
A localized string to describe the problem.
is thrown if the current attribute is malformed.
Enumeration of logical data types that may appear in
Custom data type, not one of the static data types we know
DateTime data type
Date data type
Time data type
Duration data type
Phone number data type
Currency data type
Plain text data type
Html data type
Multiline text data type
Email address data type
Password data type -- do not echo in UI
URL data type
URL to an Image -- to be displayed as an image instead of text
Credit card data type
Postal code data type
File upload data type
Allows for clarification of the represented by a given
property (such as
or )
Constructor that accepts a data type enumeration
The enum value indicating the type to apply.
Constructor that accepts the string name of a custom data type
The string name of the custom data type.
Gets the DataType. If it equals DataType.Custom, should also be retrieved.
Gets the string representing a custom data type. Returns a non-null value only if is
DataType.Custom.
Gets the default display format that gets used along with this DataType.
Return the name of the data type, either using the enum or
string
The name of the data type enum
is thrown if the current attribute is ill-formed.
Override of
This override always returns true. Subclasses should override this to provide the correct result.
The value to validate
Unconditionally returns true
is thrown if the current attribute is ill-formed.
DisplayAttribute is a general-purpose attribute to specify user-visible globalizable strings for types and members.
The string properties of this class can be used either as literals or as resource identifiers into a specified
Gets or sets the ShortName attribute property, which may be a resource key string.
Consumers must use the method to retrieve the UI display string.
Gets or sets the Name attribute property, which may be a resource key string.
Consumers must use the method to retrieve the UI display string.
Gets or sets the Description attribute property, which may be a resource key string.
Consumers must use the method to retrieve the UI display string.
Gets or sets the Prompt attribute property, which may be a resource key string.
Consumers must use the method to retrieve the UI display string.
Gets or sets the GroupName attribute property, which may be a resource key string.
Consumers must use the method to retrieve the UI display string.
Gets or sets the that contains the resources for ,
, , , and .
Using along with these Key properties, allows the ,
, , , and
methods to return localized values.
Gets or sets whether UI should be generated automatically to display this field. If this property is not
set then the presentation layer will automatically determine whether UI should be generated. Setting this
property allows an override of the default behavior of the presentation layer.
Consumers must use the method to retrieve the value, as this property
getter will throw
an exception if the value has not been set.
If the getter of this property is invoked when the value has not been explicitly set using the setter.
Gets or sets whether UI should be generated automatically to display filtering for this field. If this property is
not
set then the presentation layer will automatically determine whether filtering UI should be generated. Setting this
property allows an override of the default behavior of the presentation layer.
Consumers must use the method to retrieve the value, as this property
getter will throw
an exception if the value has not been set.
If the getter of this property is invoked when the value has not been explicitly set using the setter.
Gets or sets the order in which this field should be displayed. If this property is not set then
the presentation layer will automatically determine the order. Setting this property explicitly
allows an override of the default behavior of the presentation layer.
Consumers must use the method to retrieve the value, as this property getter will throw
an exception if the value has not been set.
If the getter of this property is invoked when the value has not been explicitly set using the setter.
Gets the UI display string for ShortName.
This can be either a literal, non-localized string provided to or the
localized string found when has been specified and
represents a resource key within that resource type.
After setting both the property and the property,
but a public static property with a name matching the value couldn't be found
on the .
Gets the UI display string for Name.
This can be either a literal, non-localized string provided to or the
localized string found when has been specified and
represents a resource key within that resource type.
After setting both the property and the property,
but a public static property with a name matching the value couldn't be found
on the .
Gets the UI display string for Description.
This can be either a literal, non-localized string provided to or the
localized string found when has been specified and
represents a resource key within that resource type.
After setting both the property and the property,
but a public static property with a name matching the value couldn't be found
on the .
Gets the UI display string for Prompt.
This can be either a literal, non-localized string provided to or the
localized string found when has been specified and
represents a resource key within that resource type.
After setting both the property and the property,
but a public static property with a name matching the value couldn't be found
on the .
Gets the UI display string for GroupName.
This can be either a literal, non-localized string provided to or the
localized string found when has been specified and
represents a resource key within that resource type.
After setting both the property and the property,
but a public static property with a name matching the value couldn't be found
on the .
Gets the value of if it has been set, or null.
Gets the value of if it has been set, or null.
Gets the value of if it has been set, or null.
Sets the display column, the sort column, and the sort order for when a table is used as a parent table in FK
relationships.
Allows overriding various display-related options for a given field. The options have the same meaning as in
BoundField.
Default constructor
Gets or sets the format string
Gets or sets the string to display when the value is null
Gets or sets a value indicating whether empty strings should be set to null
Gets or sets a value indicating whether the format string should be used in edit mode
Gets or sets a value indicating whether the field should be html encoded
Indicates whether the consumer of a field or property, such as a client application,
should allow editing of the value.
Indicate whether or not a field/property is editable.
Indicates whether the field/property is editable. The value provided will apply to both
and unless the
property is explicitly specified.
Indicates whether or not the field/property allows editing of the
value.
Indicates whether or not the field/property allows an initial value
to be specified.
An attribute used to specify the filtering behavior for a column.
Gets the name of the control that is most appropriate for this associated
property or field
Gets the name of the presentation layer that supports the control type
in
Gets the name-value pairs used as parameters to the control's constructor
is thrown if the current attribute
is ill-formed.
Constructor that accepts the name of the control, without specifying
which presentation layer to use
The name of the UI control.
Constructor that accepts both the name of the control as well as the
presentation layer
The name of the control to use
The name of the presentation layer that
supports this control
Full constructor that accepts the name of the control, presentation layer,
and optional parameters to use when constructing the control
The name of the control
The presentation layer
The list of parameters for the control
Used to mark one or more entity properties that provide the entity's unique identity
Specifies the maximum length of collection/string data allowed in a property.
Initializes a new instance of the class.
The maximum allowable length of collection/string data.
Value must be greater than zero.
Initializes a new instance of the class.
The maximum allowable length supported by the database will be used.
Gets the maximum allowable length of the collection/string data.
Determines whether a specified object is valid. (Overrides )
The object to validate.
Length is zero or less than negative one.
Applies formatting to a specified error message. (Overrides )
The name to include in the formatted string.
Specifies the minimum length of collection/string data allowed in a property.
Initializes a new instance of the class.
The minimum allowable length of collection/string data.
Value must be greater than or equal to zero.
Gets the minimum allowable length of the collection/string data.
Determines whether a specified object is valid. (Overrides )
The object to validate.
Length is less than zero.
Applies formatting to a specified error message. (Overrides )
The name to include in the formatted string.
A localized string to describe the minimum acceptable length.
Used for specifying a range constraint
Constructor that takes integer minimum and maximum values
The minimum value, inclusive
The maximum value, inclusive
Constructor that takes double minimum and maximum values
The minimum value, inclusive
The maximum value, inclusive
Allows for specifying range for arbitrary types. The minimum and maximum strings
will be converted to the target type.
The type of the range parameters. Must implement IComparable.
The minimum allowable value.
The maximum allowable value.
Gets the minimum value for the range
Gets the maximum value for the range
Gets the type of the and values (e.g. Int32, Double, or some custom
type)
Returns true if the value falls between min and max, inclusive.
The value to test for validity.
is thrown if the current attribute is ill-formed.
Override of
The user-visible name to include in the formatted message.
is thrown if the current attribute is ill-formed.
Regular expression validation attribute
Constructor that accepts the regular expression pattern
The regular expression to use. It cannot be null.
Gets or sets the timeout to use when matching the regular expression pattern (in milliseconds)
(-1 means never timeout).
Gets the regular expression pattern to use
Override of
The value to test for validity.
is thrown if the current attribute is ill-formed.
is thrown if the is not a valid regular expression.
Override of
The user-visible name to include in the formatted message.
is thrown if the current attribute is ill-formed.
is thrown if the is not a valid regular expression.
Validation attribute to indicate that a property field or parameter is required.
Default constructor.
This constructor selects a reasonable default error message for
Gets or sets a flag indicating whether the attribute should allow empty strings.
Override of
The value to test
Specifies the database column that a property is mapped to.
Initializes a new instance of the class.
Initializes a new instance of the class.
The name of the column the property is mapped to.
The name of the column the property is mapped to.
The zero-based order of the column the property is mapped to.
The database provider specific data type of the column the property is mapped to.
Denotes that the class is a complex type.
Complex types are non-scalar properties of entity types that enable scalar properties to be organized within
entities.
Complex types do not have keys and cannot be managed by the Entity Framework apart from the parent object.
Specifies how the database generates values for a property.
Initializes a new instance of the class.
The pattern used to generate values for the property in the database.
The pattern used to generate values for the property in the database.
The pattern used to generate values for a property in the database.
The database does not generate values.
The database generates a value when a row is inserted.
The database generates a value when a row is inserted or updated.
Denotes a property used as a foreign key in a relationship.
The annotation may be placed on the foreign key property and specify the associated navigation property name,
or placed on a navigation property and specify the associated foreign key name.
Initializes a new instance of the class.
If placed on a foreign key property, the name of the associated navigation property.
If placed on a navigation property, the name of the associated foreign key(s).
If a navigation property has multiple foreign keys, a comma separated list should be supplied.
If placed on a foreign key property, the name of the associated navigation property.
If placed on a navigation property, the name of the associated foreign key(s).
Specifies the inverse of a navigation property that represents the other end of the same relationship.
Initializes a new instance of the class.
The navigation property representing the other end of the same relationship.
The navigation property representing the other end of the same relationship.
Denotes that a property or class should be excluded from database mapping.
Specifies the database table that a class is mapped to.
Initializes a new instance of the class.
The name of the table the class is mapped to.
The name of the table the class is mapped to.
The schema of the table the class is mapped to.
Validation attribute to assert a string property, field or parameter does not exceed a maximum length
Constructor that accepts the maximum length of the string.
The maximum length, inclusive. It may not be negative.
Gets the maximum acceptable length of the string
Gets or sets the minimum acceptable length of the string
Override of
The value to test.
is thrown if the current attribute is ill-formed.
Override of
The name to include in the formatted string
is thrown if the current attribute is ill-formed.
This attribute is used to mark a Timestamp member of a Type.
Attribute to provide a hint to the presentation layer about what control it should use
Constructor that accepts the name of the control, without specifying which presentation layer to use
The name of the UI control.
Constructor that accepts both the name of the control as well as the presentation layer
The name of the control to use
The name of the presentation layer that supports this control
Full constructor that accepts the name of the control, presentation layer, and optional parameters
to use when constructing the control
The name of the control
The presentation layer
The list of parameters for the control
Gets the name of the control that is most appropriate for this associated property or field
Gets the name of the presentation layer that supports the control type in
Gets the name-value pairs used as parameters to the control's constructor
is thrown if the current attribute is ill-formed.
Base class for all validation attributes.
Override to implement validation logic.
Default constructor for any validation attribute.
Constructor that accepts a fixed validation error message.
A non-localized error message to use in .
Allows for providing a resource accessor function that will be used by the
property to retrieve the error message. An example would be to have something like
CustomAttribute() : base( () => MyResources.MyErrorMessage ) { }.
The that will return an error message.
Gets the localized error message string, coming either from , or from evaluating the
and pair.
A flag indicating that the attribute requires a non-null
to perform validation.
Base class returns false. Override in child classes as appropriate.
Gets or sets the explicit error message string.
Gets or sets the resource name (property name) to use as the key for lookups on the resource type.
Gets or sets the resource type to use for error message lookups.
Formats the error message to present to the user.
The user-visible name to include in the formatted message.
is thrown if the current attribute is malformed.
Gets the value indicating whether or not the specified is valid
with respect to the current validation attribute.
Derived classes should not override this method as it is only available for backwards compatibility.
Instead, implement .
The value to validate
is thrown if the current attribute is malformed.
is thrown when neither overload of IsValid has been implemented by a derived class.
Protected virtual method to override and implement validation logic.
Derived classes should override this method instead of , which is deprecated.
The value to validate.
A instance that provides
context about the validation operation, such as the object and member being validated.
is thrown if the current attribute is malformed.
is thrown when
has not been implemented by a derived class.
Tests whether the given is valid with respect to the current
validation attribute without throwing a
The value to validate
A instance that provides
context about the validation operation, such as the object and member being validated.
is thrown if the current attribute is malformed.
When is null.
is thrown when
has not been implemented by a derived class.
Validates the specified and throws if it is not.
The overloaded is the recommended entry point as it
can provide additional context to the being validated.
The value to validate
The string to be included in the validation error message if is not valid
is thrown if returns false.
is thrown if the current attribute is malformed.
Validates the specified and throws if it is not.
The value to validate
Additional context that may be used for validation. It cannot be null.
is thrown if
doesn't return .
is thrown if the current attribute is malformed.
is thrown when
has not been implemented by a derived class.
Describes the context in which a validation is being performed.
Construct a for a given object instance being validated.
The object instance being validated. It cannot be null.
When is null
Construct a for a given object instance and an optional
property bag of .
The object instance being validated. It cannot be null.
Optional set of key/value pairs to make available to consumers via .
If null, an empty dictionary will be created. If not null, the set of key/value pairs will be copied into a
new dictionary, preventing consumers from modifying the original dictionary.
When is null
Construct a for a given object instance, an optional
, and an optional
property bag of .
The object instance being validated. It cannot be null.
Optional to use when is called.
If it is null, will always return null.
Optional set of key/value pairs to make available to consumers via .
If null, an empty dictionary will be created. If not null, the set of key/value pairs will be copied into a
new dictionary, preventing consumers from modifying the original dictionary.
When is null
Gets the object instance being validated. While it will not be null, the state of the instance is indeterminate
as it might only be partially initialized during validation.
Consume this instance with caution!
Gets the type of the object being validated. It will not be null.
Gets or sets the user-visible name of the type or property being validated.
Gets or sets the name of the type or property being validated.
Gets the dictionary of key/value pairs associated with this context.
Looks up the display name using the DisplayAttribute attached to the respective type or property.
Initializes the with a service provider that can return
service instances by when is called.
A that can return service instances given the
desired when is called.
If it is null, will always return null.
See .
The type of the service needed.
Exception used for validation using .
Constructor that accepts a structured describing the problem.
The value describing the validation error
The attribute that triggered this exception
The value that caused the validating attribute to trigger the exception
Constructor that accepts an error message, the failing attribute, and the invalid value.
The localized error message
The attribute that triggered this exception
The value that caused the validating attribute to trigger the exception
Default constructor.
Constructor that accepts only a localized message
The localized message
Constructor that accepts a localized message and an inner exception
The localized error message
inner exception
Gets the ValidationAttribute instance that triggered this exception.
Gets the instance that describes the validation error.
Gets the value that caused the validating attribute to trigger the exception
Container class for the results of a validation request.
Use the static to represent successful validation.
Gets a that indicates Success.
Constructor that accepts an error message. This error message would override any error message
provided on the .
The user-visible error message. If null,
will use for its error message.
Constructor that accepts an error message as well as a list of member names involved in the validation.
This error message would override any error message provided on the .
The user-visible error message. If null,
will use for its error message.
The list of member names affected by this result.
This list of member names is meant to be used by presentation layers to indicate which fields are in error.
Constructor that creates a copy of an existing ValidationResult.
The validation result.
The is null.
Gets the collection of member names affected by this result. The collection may be empty but will never be null.
Gets the error message for this result. It may be null.
Helper class to validate objects, properties and other values using their associated
custom attributes.
Tests whether the given property value is valid.
The value to test.
Describes the property member to validate and provides services and context for the
validators.
Optional collection to receive s for the failures.
When the of is not a valid
property.
Tests whether the given object instance is valid.
The object instance to test. It cannot be null.
Describes the object to validate and provides services and context for the validators.
Optional collection to receive s for the failures.
When is null.
When doesn't match the
on .
Tests whether the given object instance is valid.
The object instance to test. It cannot be null.
Describes the object to validate and provides services and context for the validators.
Optional collection to receive s for the failures.
If true, also evaluates all properties of the object (this process is not
recursive over properties of the properties).
When is null.
When doesn't match the
on .
Tests whether the given value is valid against a specified list of s.
The value to test. It cannot be null.
Describes the object being validated and provides services and context for the
validators.
Optional collection to receive s for the failures.
The list of s to validate this
against.
Throws a if the given property is not valid.
The value to test.
Describes the object being validated and provides services and context for the
validators. It cannot be null.
When is null.
When is invalid for this property.
Throws a if the given is not valid.
The object instance to test. It cannot be null.
Describes the object being validated and provides services and context for the
validators. It cannot be null.
When is null.
When is null.
When doesn't match the
on .
When is found to be invalid.
Throws a if the given object instance is not valid.
The object instance to test. It cannot be null.
Describes the object being validated and provides services and context for the
validators. It cannot be null.
If true, also validates all the 's properties.
When is null.
When is null.
When doesn't match the
on .
When is found to be invalid.
Throw a if the given value is not valid for the
s.
The value to test. It cannot be null.
Describes the object being tested.
The list of s to validate against this instance.
When is null.
When is found to be invalid.
Provides a set of properties and methods for debugging code.
Indicates the code following the attribute is to be executed in run, not step, mode.
Signifies that the attributed type has a visualizer which is pointed
to by the parameter type name strings.
Instructs code analysis tools to assume the expression is true even if it can not be statically proven to always be true.
Expression to assume will always be true.
At runtime this is equivalent to an .
Instructs code analysis tools to assume the expression is true even if it can not be statically proven to always be true.
Expression to assume will always be true.
If it is not a constant string literal, then the contract may not be understood by tools.
At runtime this is equivalent to an .
In debug builds, perform a runtime check that is true.
Expression to check to always be true.
In debug builds, perform a runtime check that is true.
Expression to check to always be true.
If it is not a constant string literal, then the contract may not be understood by tools.
Specifies a contract such that the expression must be true before the enclosing method or property is invoked.
Boolean expression representing the contract.
This call must happen at the beginning of a method or property before any other code.
This contract is exposed to clients so must only reference members at least as visible as the enclosing method.
Use this form when backward compatibility does not force you to throw a particular exception.
Specifies a contract such that the expression must be true before the enclosing method or property is invoked.
Boolean expression representing the contract.
If it is not a constant string literal, then the contract may not be understood by tools.
This call must happen at the beginning of a method or property before any other code.
This contract is exposed to clients so must only reference members at least as visible as the enclosing method.
Use this form when backward compatibility does not force you to throw a particular exception.
Specifies a contract such that the expression must be true before the enclosing method or property is invoked.
Boolean expression representing the contract.
This call must happen at the beginning of a method or property before any other code.
This contract is exposed to clients so must only reference members at least as visible as the enclosing method.
Use this form when you want to throw a particular exception.
Specifies a contract such that the expression must be true before the enclosing method or property is invoked.
Boolean expression representing the contract.
If it is not a constant string literal, then the contract may not be understood by tools.
This call must happen at the beginning of a method or property before any other code.
This contract is exposed to clients so must only reference members at least as visible as the enclosing method.
Use this form when you want to throw a particular exception.
Specifies a public contract such that the expression will be true when the enclosing method or property returns normally.
Boolean expression representing the contract.
This call must happen at the beginning of a method or property before any other code.
This contract is exposed to clients so must only reference members at least as visible as the enclosing method.
The contract rewriter must be used for runtime enforcement of this postcondition.
Specifies a public contract such that the expression will be true when the enclosing method or property returns normally.
Boolean expression representing the contract.
If it is not a constant string literal, then the contract may not be understood by tools.
This call must happen at the beginning of a method or property before any other code.
This contract is exposed to clients so must only reference members at least as visible as the enclosing method.
The contract rewriter must be used for runtime enforcement of this postcondition.
Specifies a contract such that if an exception of type is thrown then the expression will be true when the enclosing method or property terminates abnormally.
Type of exception related to this postcondition.
Boolean expression representing the contract.
This call must happen at the beginning of a method or property before any other code.
This contract is exposed to clients so must only reference types and members at least as visible as the enclosing method.
The contract rewriter must be used for runtime enforcement of this postcondition.
Specifies a contract such that if an exception of type is thrown then the expression will be true when the enclosing method or property terminates abnormally.
Type of exception related to this postcondition.
Boolean expression representing the contract.
If it is not a constant string literal, then the contract may not be understood by tools.
This call must happen at the beginning of a method or property before any other code.
This contract is exposed to clients so must only reference types and members at least as visible as the enclosing method.
The contract rewriter must be used for runtime enforcement of this postcondition.
Represents the result (a.k.a. return value) of a method or property.
Type of return value of the enclosing method or property.
Return value of the enclosing method or property.
This method can only be used within the argument to the contract.
Represents the final (output) value of an out parameter when returning from a method.
Type of the out parameter.
The out parameter.
The output value of the out parameter.
This method can only be used within the argument to the contract.
Represents the value of as it was at the start of the method or property.
Type of . This can be inferred.
Value to represent. This must be a field or parameter.
Value of at the start of the method or property.
This method can only be used within the argument to the contract.
Specifies a contract such that the expression will be true after every method or property on the enclosing class.
Boolean expression representing the contract.
This contact can only be specified in a dedicated invariant method declared on a class.
This contract is not exposed to clients so may reference members less visible as the enclosing method.
The contract rewriter must be used for runtime enforcement of this invariant.
Specifies a contract such that the expression will be true after every method or property on the enclosing class.
Boolean expression representing the contract.
If it is not a constant string literal, then the contract may not be understood by tools.
This contact can only be specified in a dedicated invariant method declared on a class.
This contract is not exposed to clients so may reference members less visible as the enclosing method.
The contract rewriter must be used for runtime enforcement of this invariant.
Returns whether the returns true
for all integers starting from to - 1.
First integer to pass to .
One greater than the last integer to pass to .
Function that is evaluated from to - 1.
true if returns true for all integers
starting from to - 1.
Returns whether the returns true
for all elements in the .
The collection from which elements will be drawn from to pass to .
Function that is evaluated on elements from .
true if and only if returns true for all elements in
.
Returns whether the returns true
for any integer starting from to - 1.
First integer to pass to .
One greater than the last integer to pass to .
Function that is evaluated from to - 1.
true if returns true for any integer
starting from to - 1.
Returns whether the returns true
for any element in the .
The collection from which elements will be drawn from to pass to .
Function that is evaluated on elements from .
true if and only if returns true for an element in
.
Marker to indicate the end of the contract section of a method.
Enables writing abbreviations for contracts that get copied to other methods
Enables factoring legacy if-then-throw into separate methods for reuse and full control over
thrown exception and arguments
Types marked with this attribute specify that a separate type contains the contracts for this type.
Types marked with this attribute specify that they are a contract for the type that is the argument of the constructor.
This attribute is used to mark a method as being the invariant
method for a class. The method can have any name, but it must
return "void" and take no parameters. The body of the method
must consist solely of one or more calls to the method
Contract.Invariant. A suggested name for the method is
"ObjectInvariant".
Allows setting contract and tool options at assembly, type, or method granularity.
Allows a field f to be used in the method contracts for a method m when f has less visibility than m.
For instance, if the method is public, but the field is private.
Attribute that specifies that an assembly is a reference assembly with contracts.
Methods (and properties) marked with this attribute can be used within calls to Contract methods, but have no runtime behavior associated with them.
Instructs downstream tools whether to assume the correctness of this assembly, type or member without performing any verification or not.
Can use [ContractVerification(false)] to explicitly mark assembly, type or member as one to *not* have verification performed on it.
Most specific element found (member, type, then assembly) takes precedence.
(That is useful if downstream tools allow a user to decide which polarity is the default, unmarked case.)
Apply this attribute to a type to apply to all members of the type, including nested types.
Apply this attribute to an assembly to apply to all types and members of the assembly.
Apply this attribute to a property to apply to both the getter and setter.
Methods and classes marked with this attribute can be used within calls to Contract methods. Such methods not make any visible state changes.
A composite format string along with the arguments to be formatted. An instance of this
type may result from the use of the C# or VB language primitive "interpolated string".
The composite format string.
Returns an object array that contains zero or more objects to format. Clients should not
mutate the contents of the array.
The number of arguments to be formatted.
Returns one argument to be formatted from argument position .
Format to a string using the given culture.
Format the given object in the invariant culture. This static method may be
imported in C# by
using static System.FormattableString;
.
Within the scope
of that import directive an interpolated string may be formatted in the
invariant culture by writing, for example,
Invariant($"{{ lat = {latitude}; lon = {longitude} }}")
Provides culture-specific information about the format of date and time values.
Initializes a new writable instance of the DateTimeFormatInfo class that is culture-independent (invariant).
Gets the default read-only DateTimeFormatInfo object that is culture-independent (invariant).
Gets or sets the string designator for hours that are "ante meridiem" (before noon).
Gets or sets the string designator for hours that are "post meridiem" (after noon).
Gets or sets the string that separates the components of a date, that is, the year, month, and day.
Gets or sets the string that separates the components of time, that is, the hour, minutes, and seconds.
Gets the custom format string for a universal, sortable date and time string.
Gets the custom format string for a sortable date and time value.
Gets or sets the custom format string for a long date and long time value.
Gets or sets the custom format string for a long date value.
Gets or sets the custom format string for a short date value.
Gets or sets the custom format string for a long time value.
Gets or sets the custom format string for a short time value.
Gets or sets a one-dimensional string array that contains the culture-specific full names of the days of the week.
Gets or sets a one-dimensional array of type String containing the culture-specific abbreviated names of the days of the week.
Gets or sets a string array of the shortest unique abbreviated day names associated with the current DateTimeFormatInfo object.
Gets or sets a one-dimensional array of type String containing the culture-specific full names of the months.
Gets or sets a one-dimensional string array that contains the culture-specific abbreviated names of the months.
Gets or sets a string array of abbreviated month names associated with the current DateTimeFormatInfo object.
Gets or sets the custom format string for a month and day value.
Gets the custom format string for a time value that is based on the Internet Engineering Task Force (IETF) Request for Comments (RFC) 1123 specification.
Gets or sets the custom format string for a year and month value.
Returns an object of the specified type that provides a date and time formatting service.
The type of the required formatting service.
The current object, if formatType is the same as the type of the current DateTimeFormatInfo; otherwise, null.
Creates a shallow copy of the DateTimeFormatInfo.
A new DateTimeFormatInfo object copied from the original DateTimeFormatInfo.
Gets a read-only DateTimeFormatInfo object that formats values based on the current culture.
Returns the culture-specific abbreviated name of the specified day of the week based on the culture associated with the current DateTimeFormatInfo object.
A System.DayOfWeek value.
The culture-specific abbreviated name of the day of the week represented by dayofweek.
Returns the culture-specific abbreviated name of the specified month based on the culture associated with the current DateTimeFormatInfo object.
An integer from 1 through 13 representing the name of the month to retrieve.
The culture-specific abbreviated name of the month represented by month.
Returns all the standard patterns in which date and time values can be formatted.
An array that contains the standard patterns in which date and time values can be formatted.
Returns all the patterns in which date and time values can be formatted using the specified standard format string.
A standard format string.
An array containing the standard patterns in which date and time values can be formatted using the specified format string.
Returns the culture-specific full name of the specified day of the week based on the culture associated with the current DateTimeFormatInfo object.
A System.DayOfWeek value.
The culture-specific full name of the day of the week represented by dayofweek.
Returns the culture-specific full name of the specified month based on the culture associated with the current DateTimeFormatInfo object.
An integer from 1 through 13 representing the name of the month to retrieve.
The culture-specific full name of the month represented by month.
Obtains the shortest abbreviated day name for a specified day of the week associated with the current DateTimeFormatInfo object.
One of the DayOfWeek values.
The abbreviated name of the week that corresponds to the dayOfWeek parameter.
Defines text properties and behaviors, such as casing, that are specific to a writing system.
Gets the American National Standards Institute (ANSI) code page used by the writing system represented by the current TextInfo.
Gets the name of the culture associated with the current TextInfo object.
Gets the Extended Binary Coded Decimal Interchange Code (EBCDIC) code page used by the writing system represented by the current TextInfo.
Gets a value indicating whether the current TextInfo object is read-only.
Gets a value indicating whether the current TextInfo object represents a writing system where text flows from right to left.
Gets the culture identifier for the culture associated with the current TextInfo object.
Gets or sets the string that separates items in a list.
Gets the Macintosh code page used by the writing system represented by the current TextInfo.
Gets the original equipment manufacturer (OEM) code page used by the writing system represented by the current TextInfo.
Creates a new object that is a copy of the current TextInfo object.
A new instance of System.Object that is the memberwise clone of the current TextInfo object.
Provides information about a specific culture (called a locale for unmanaged code development). The information includes the names for the culture, the writing system, the calendar used, the sort order of strings, and formatting for dates and numbers.
Initializes a new instance of the CultureInfo class based on the culture specified by name.
A predefined CultureInfo name, Name of an existing CultureInfo, or Windows-only culture name. name is not case-sensitive.
Retrieves a cached, read-only instance of a culture using the specified culture name.
The name of a culture. name is not case-sensitive.
A read-only CultureInfo object.
Creates a CultureInfo that represents the specific culture that is associated with the specified name.
A predefined CultureInfo name or the name of an existing CultureInfo object. name is not case-sensitive.
A CultureInfo object
Gets or sets the CultureInfo object that represents the culture used by the current thread.
Gets or sets a DateTimeFormatInfo that defines the culturally appropriate format of displaying dates and times.
Gets the CultureInfo object that is culture-independent (invariant).
Gets the culture name in the format languagecode2-country/regioncode2.
Gets the culture name in the format languagefull [country/regionfull] in English.
Gets the culture name, consisting of the language, the country/region, and the optional script, that the culture is set to display.
Gets or sets a NumberFormatInfo that defines the culturally appropriate format of displaying numbers, currency, and percentage.
Creates a copy of the current CultureInfo.
A copy of the current CultureInfo.
Gets the TextInfo that defines the writing system associated with the culture.
One of the design goals here is to prevent the buffer from getting in the way and slowing
down underlying stream accesses when it is not needed. If you always read and write for sizes
greater than the internal buffer size, then this class may not even allocate the internal buffer.
See a large comment in Write for the details of the write buffer heuristic.
This class buffers reads and writes in a shared buffer.
(If you maintained two buffers separately, one operation would always trash the other buffer
anyways, so we might as well use one buffer.)
The assumption here is you will almost always be doing a series of reads or writes, but rarely
alternate between the two of them on the same stream.
Class Invariants:
The class has one buffer, shared for reading and writing.
It can only be used for one or the other at any point in time - not both.
The following should be true:
0 implies the read buffer is valid, but we're at the end of the buffer.
* _readPos == _readLen == 0 means the read buffer contains garbage.
* Either _writePos can be greater than 0, or _readLen & _readPos can be greater than zero,
but neither can be greater than zero at the same time.
]]>
This class will never cache more bytes than the max specified buffer size.
However, it may use a temporary buffer of up to twice the size in order to combine several IO operations on
the underlying stream into a single operation. This is because we assume that memory copies are significantly
faster than IO operations on the underlying stream (if this was not true, using buffering is never appropriate).
The max size of this "shadow" buffer is limited as to not allocate it on the LOH.
Shadowing is always transient. Even when using this technique, this class still guarantees that the number of
bytes cached (not yet written to the target stream or not yet consumed by the user) is never larger than the
actual specified buffer size.
MaxShadowBufferSize is chosed such that shadow buffers are not allocated on the Large Object Heap.
Currently, an object is allocated on the LOH if it is larger than 85000 bytes. See LARGE_OBJECT_SIZE in ndp\clr\src\vm\gc.h
We will go with exactly 80 KBytes, although this is somewhat arbitrary.
Used as the IAsyncResult object when using asynchronous IO methods on the base Stream class.
The exception that is thrown when accessing an object that was
disposed.
Gets the text for the message for this exception.
* */
Gets the display name of the assembly.
Creates the name of a type qualified by the display name of its assembly.
The display name of an assembly.
The full name of a type.
The full name of the type qualified by the display name of the assembly.
Gets the currently loaded assembly in which the specified type is defined.
An object representing a type in the assembly that will be returned.
The assembly in which the specified type is defined.
Loads an assembly given the long form of its name.
The long form of the assembly name.
The loaded assembly.
Gets the Type object with the specified name in the assembly instance.
The full name of the type.
An object that represents the specified class, or null if the class is not found.
Gets the types defined in this assembly.
An array that contains all the types that are defined in this assembly.
Locates the specified type from this assembly and creates an instance of it using the system activator, using case-sensitive search.
The Type.FullName of the type to locate.
An instance of the specified type created with the default constructor; or null if typeName is not found. The type is resolved using the default binder, without specifying culture or activation attributes, and with BindingFlags set to Public or Instance.
Gets the assembly that contains the code that is currently executing.
The assembly that contains the code that is currently executing.
Retrieves a collection of custom attributes that are applied to a specified assembly.
A collection of the custom attributes that are applied to element, or an empty collection if no such attributes exist.
Retrieves a collection of custom attributes of a specified type that are applied to a specified assembly.
The type of attribute to search for.
A collection of the custom attributes that are applied to element and that match attributeType, or an empty collection if no such attributes exist.
Gets all the custom attributes for this assembly.
This argument is ignored for objects of type Assembly.
An array that contains the custom attributes for this assembly.
Gets the custom attributes for this assembly as specified by type.
The type for which the custom attributes are to be returned.
This argument is ignored for objects of type Assembly.
An array that contains the custom attributes for this assembly as specified by attributeType.
Returns the names of all the resources in this assembly.
An array that contains the names of all the resources.
Script name of the constructor. Null for the unnamed constructor and for constructors with special implementations
True if the constructor is a normal method that returns the created instance and should be invoked without the 'new' operator
For constructors with a special implementation (eg. [Bridge.Template]), contains a delegate that can be invoked to create an instance.
Whether the [ExpandParams] attribute was specified on the constructor.
Script name of the field
Returns an array of all custom attributes applied to this member.
Ignored for members. Base members will never be considered.
An array that contains all the custom attributes applied to this member, or an array with zero elements if no attributes are defined.
Returns an array of custom attributes applied to this member and identified by .
The type of attribute to search for. Only attributes that are assignable to this type are returned.
Ignored for members. Base members will never be considered.
An array that contains all the custom attributes applied to this member, or an array with zero elements if no attributes are defined.
Returns an array of all custom attributes applied to this member.
An array that contains all the custom attributes applied to this member, or an array with zero elements if no attributes are defined.
Returns an array of custom attributes applied to this member and identified by .
The type of attribute to search for. Only attributes that are assignable to this type are returned.
An array that contains all the custom attributes applied to this member, or an array with zero elements if no attributes are defined.
Returns an array of all custom attributes applied to this member.
Ignored for members. Base members will never be considered.
An array that contains all the custom attributes applied to this member, or an array with zero elements if no attributes are defined.
Returns an array of custom attributes applied to this member and identified by .
The type of attribute to search for. Only attributes that are assignable to this type are returned.
Ignored for members. Base members will never be considered.
An array that contains all the custom attributes applied to this member, or an array with zero elements if no attributes are defined.
Returns an array of all custom attributes applied to this member.
An array that contains all the custom attributes applied to this member, or an array with zero elements if no attributes are defined.
Returns an array of custom attributes applied to this member and identified by .
The type of attribute to search for. Only attributes that are assignable to this type are returned.
An array that contains all the custom attributes applied to this member, or an array with zero elements if no attributes are defined.
Script name of the method. Null if the method has a special implementation.
For methods with a special implementation (eg. [Bridge.Template]), contains a delegate that represents the method. Null for normal methods.
Whether the [ExpandParams] attribute was specified on the method.
Returns an array of Type objects that represent the type arguments of a generic method or the type parameters of a generic method definition.
An array of Type objects that represent the type arguments of a generic method or the type parameters of a generic method definition. Returns an empty array if the current method is not a generic method.
Returns an array of all custom attributes applied to this member.
Ignored for members. Base members will never be considered.
An array that contains all the custom attributes applied to this member, or an array with zero elements if no attributes are defined.
Returns an array of custom attributes applied to this member and identified by .
The type of attribute to search for. Only attributes that are assignable to this type are returned.
Ignored for members. Base members will never be considered.
An array that contains all the custom attributes applied to this member, or an array with zero elements if no attributes are defined.
Returns an array of all custom attributes applied to this member.
An array that contains all the custom attributes applied to this member, or an array with zero elements if no attributes are defined.
Returns an array of custom attributes applied to this member and identified by .
The type of attribute to search for. Only attributes that are assignable to this type are returned.
An array that contains all the custom attributes applied to this member, or an array with zero elements if no attributes are defined.
For properties implemented as fields, contains the name of the field. Null for properties implemented as get and set methods.
A factory type used by compilers to create instances of the type .
Create a from a composite format string and object
array containing zero or more objects to format.
If AllInternalsVisible is not true for a friend assembly, the FriendAccessAllowed attribute
indicates which internals are shared with that friend assembly.
If a constructor for a value type takes an instance of this type as a parameter, any attribute applied to that constructor will instead be applied to the default (undeclarable) constructor.
Represents an exception used to communicate task cancellation.
Initializes a new instance of the class.
Initializes a new instance of the
class with a specified error message.
The error message that explains the reason for the exception.
Initializes a new instance of the
class with a specified error message and a reference to the inner exception that is the cause of
this exception.
The error message that explains the reason for the exception.
The exception that is the cause of the current exception.
Initializes a new instance of the class
with a reference to the that has been canceled.
A task that has been canceled.
Gets the task associated with this exception.
It is permissible for no Task to be associated with a
, in which case
this property will return null.
Represents an exception used to communicate an invalid operation by a
.
Initializes a new instance of the class.
Initializes a new instance of the
class with a specified error message.
The error message that explains the reason for the exception.
Initializes a new instance of the
class using the default error message and a reference to the inner exception that is the cause of
this exception.
The exception that is the cause of the current exception.
Initializes a new instance of the
class with a specified error message and a reference to the inner exception that is the cause of
this exception.
The error message that explains the reason for the exception.
The exception that is the cause of the current exception.
CommonJS Promise/A interface
http://wiki.commonjs.org/wiki/Promises/A
Adds a fulfilledHandler, errorHandler to be called for completion of a promise.
The fulfilledHandler is called when the promise is fulfilled
The errorHandler is called when a promise fails.
This exception is used as the exception for a task created from a promise when the underlying promise fails.
Arguments supplied to the promise onError() callback.
The task has been initialized but has not yet been scheduled.
The task is waiting to be activated and scheduled internally by the .NET Framework infrastructure.
The task has been scheduled for execution but has not yet begun executing.
The task is running but has not yet completed.
The task has finished executing and is implicitly waiting for
attached child tasks to complete.
The task completed execution successfully.
The task acknowledged cancellation by throwing an OperationCanceledException with its own CancellationToken
while the token was in signaled state, or the task's CancellationToken was already signaled before the
task started executing.
The task completed due to an unhandled exception.
A constant used to specify an infinite waiting period, for threading methods that accept an Int32 parameter.
Represents the method that handles calls from a Timer.
An object containing application-specific information relevant to the method invoked by this delegate, or null.
Use a TimerCallback delegate to specify the method that is called by a Timer.
This method does not execute in the thread that created the timer;
it executes in a separate thread pool thread that is provided by the system.
The TimerCallback delegate invokes the method once after the start time elapses,
and continues to invoke it once per timer interval until the Dispose method is called,
or until the Timer.Change method is called with the interval value Infinite.
The timer delegate is specified when the timer is constructed, and cannot be changed.
The start time for a Timer is passed in the dueTime parameter of the Timer constructors, and the period is passed in the period parameter.
For an example that demonstrates creating and using a TimerCallback delegate, see System.Threading.Timer.
Provides a mechanism for executing a method at specified intervals. This class cannot be inherited.
TimerCallback callback = (o) => { Html5.Window.Alert(o.ToString()); };
var timer = new Timer(callback, "SomeState", 500, 500);
await Task.Delay(200); // It allows the timer to work
timer.Change(-1, 200); // Stops the timer
timer.Dispose() // Stops the timer "forever"
Timer implemented based on setTimeout() see https://developer.mozilla.org/en-US/docs/Web/API/WindowTimers/setTimeout#Notes.
It's important to note that the function or code snippet cannot be executed until the thread that called setTimeout() has terminated.
The delegate specified by the callback parameter is invoked once after dueTime elapses,
and thereafter each time the period time interval elapses.
If dueTime is zero (0), callback is invoked immediately. If dueTime is Timeout.Infinite, callback is not invoked;
the timer is disabled, but can be re-enabled by calling the Change method.
Successive setTimeout() calls with delay smaller than the "minimum delay" limit are forced to use at least the minimum delay.
The minimum delay, DOM_MIN_TIMEOUT_VALUE, is 4 ms (stored in a preference in Firefox: dom.min_timeout_value),
with a DOM_CLAMP_TIMEOUT_NESTING_LEVEL of 5.
If period is zero (0) or Timeout.Infinite and dueTime is not Timeout.Infinite, callback is invoked once;
the periodic behavior of the timer is disabled, but can be re-enabled using the Change method.
Initializes a new instance of the Timer class, using a 32-bit signed integer to specify the time interval.
The delegate specified by the callback parameter is invoked once after dueTime elapses, and thereafter each time the period time interval elapses.
If dueTime is zero (0), callback is invoked immediately.If dueTime is Timeout.Infinite, callback is not invoked; the timer is disabled, but can be re-enabled by calling the Change method.
A TimerCallback delegate representing a method to be executed.
An object containing information to be used by the callback method, or null.
The amount of time to delay before callback is invoked, in milliseconds. Specify Timeout.Infinite to prevent the timer from starting. Specify zero (0) to start the timer immediately.
The time interval between invocations of callback, in milliseconds. Specify Timeout.Infinite to disable periodic signaling.
Initializes a new instance of the Timer class, using TimeSpan values to measure time intervals.
The delegate specified by the callback parameter is invoked once after dueTime elapses, and thereafter each time the period time interval elapses.
If dueTime is zero (0), callback is invoked immediately.If dueTime is negative one (-1) milliseconds, callback is not invoked; the timer is disabled, but can be re-enabled by calling the Change method.
A TimerCallback delegate representing a method to be executed.
An object containing information to be used by the callback method, or null.
The amount of time to delay before callback is invoked, in milliseconds. Specify Timeout.Infinite to prevent the timer from starting. Specify zero (0) to start the timer immediately.
The time interval between invocations of callback, in milliseconds. Specify Timeout.Infinite to disable periodic signaling.
Initializes a new instance of the Timer class, using 32-bit unsigned integers to measure time intervals.
The delegate specified by the callback parameter is invoked once after dueTime elapses, and thereafter each time the period time interval elapses.
If dueTime is zero (0), callback is invoked immediately.If dueTime is Timeout.Infinite, callback is not invoked; the timer is disabled, but can be re-enabled by calling the Change method.
A TimerCallback delegate representing a method to be executed.
An object containing information to be used by the callback method, or null.
The amount of time to delay before callback is invoked, in milliseconds. Specify Timeout.Infinite to prevent the timer from starting. Specify zero (0) to start the timer immediately.
The time interval between invocations of callback, in milliseconds. Specify Timeout.Infinite to disable periodic signaling.
Initializes a new instance of the Timer class, using 64-bit signed integers to measure time intervals.
The delegate specified by the callback parameter is invoked once after dueTime elapses, and thereafter each time the period time interval elapses.
If dueTime is zero (0), callback is invoked immediately.If dueTime is Timeout.Infinite, callback is not invoked; the timer is disabled, but can be re-enabled by calling the Change method.
A TimerCallback delegate representing a method to be executed.
An object containing information to be used by the callback method, or null.
The amount of time to delay before callback is invoked, in milliseconds. Specify Timeout.Infinite to prevent the timer from starting. Specify zero (0) to start the timer immediately.
The time interval between invocations of callback, in milliseconds. Specify Timeout.Infinite to disable periodic signaling.
Initializes a new instance of the Timer class with an infinite period and an infinite due time, using the newly created Timer object as the state object.
Call this constructor when you want to use the Timer object itself as the state object. After creating the timer, use the Change method to set the interval and due time.
This constructor specifies an infinite due time before the first callback and an infinite interval between callbacks, in order to prevent the first callback from occurring before the Timer object is assigned to the state object.
A TimerCallback delegate representing a method to be executed.
Changes the start time and the interval between method invocations for a timer, using 32-bit signed integers to measure time intervals.
The amount of time to delay before the invoking the callback method specified when the Timer was constructed, in milliseconds. Specify Timeout.Infinite to prevent the timer from restarting. Specify zero (0) to restart the timer immediately.
The time interval between invocations of the callback method specified when the Timer was constructed, in milliseconds. Specify Timeout.Infinite to disable periodic signaling.
true if the timer was successfully updated; otherwise, false.
Changes the start time and the interval between method invocations for a timer, using TimeSpan values to measure time intervals.
A TimeSpan representing the amount of time to delay before invoking the callback method specified when the Timer was constructed. Specify negative one (-1) milliseconds to prevent the timer from restarting. Specify zero (0) to restart the timer immediately.
The time interval between invocations of the callback method specified when the Timer was constructed. Specify negative one (-1) milliseconds to disable periodic signaling.
true if the timer was successfully updated; otherwise, false.
Changes the start time and the interval between method invocations for a timer, using 32-bit unsigned integers to measure time intervals.
The amount of time to delay before the invoking the callback method specified when the Timer was constructed, in milliseconds. Specify Timeout.Infinite to prevent the timer from restarting. Specify zero (0) to restart the timer immediately.
The time interval between invocations of the callback method specified when the Timer was constructed, in milliseconds. Specify Timeout.Infinite to disable periodic signaling.
true if the timer was successfully updated; otherwise, false.
Changes the start time and the interval between method invocations for a timer, using 64-bit signed integers to measure time intervals.
The amount of time to delay before the invoking the callback method specified when the Timer was constructed, in milliseconds. Specify Timeout.Infinite to prevent the timer from restarting. Specify zero (0) to restart the timer immediately.
The time interval between invocations of the callback method specified when the Timer was constructed, in milliseconds. Specify Timeout.Infinite to disable periodic signaling.
true if the timer was successfully updated; otherwise, false.
Releases all resources used by the current instance of Timer.
Callbacks will not be called after Timer is disposed
Suspends the current thread for the specified number of milliseconds.
Implemented as a loop checking timeout each iteration.
Please note maximum 1e7 iterations
The number of milliseconds for which the thread is suspended. Should be positive or -1. -1 works the same as 0 (not Infinite)
Suspends the current thread for the specified anout of time.
Implemented as a loop checking timeout each iteration.
Please note maximum 1e7 iterations
The amount of time for which the thread is suspended. Should be positive or -1. -1 works the same as 0 (not Infinite)
Holds Null class for which we guarantee that there is only ever one instance of.
This only exists for compatibility with .NET Framework.
A helper method that returns the SerializationInfo that a class utilizing
UnitySerializationHelper should return from a call to GetObjectData. It contains
the unityType (defined above) and any optional data (used only for the reflection types).
Represents a character encoding.
When overridden in a derived class, gets the code page identifier of the current Encoding.
When overridden in a derived class, gets the human-readable description of the current encoding.
Gets an encoding for the operating system's current ANSI code page.
Gets an encoding for the UTF-16 format using the little endian byte order.
Gets an encoding for the ASCII (7-bit) character set.
Gets an encoding for the UTF-16 format that uses the big endian byte order.
Gets an encoding for the UTF-7 format.
Gets an encoding for the UTF-8 format.
Gets an encoding for the UTF-32 format using the little endian byte order.
Converts an entire byte array from one encoding to another.
The encoding format of bytes.
The target encoding format.
The bytes to convert.
An array of type Byte containing the results of converting bytes from srcEncoding to dstEncoding.
Converts a range of bytes in a byte array from one encoding to another.
The encoding format of bytes.
The target encoding format.
The bytes to convert.
The index of the first element of bytes to convert.
The number of bytes to convert.
An array of type Byte containing the result of converting a range of bytes in bytes from srcEncoding to dstEncoding.
Returns the encoding associated with the specified code page identifier.
The code page identifier of the preferred encoding. Possible values are listed in the Code Page column of the table that appears in the Encoding class topic -or- 0 (zero), to use the default encoding.
The encoding that is associated with the specified code page.
Returns the encoding associated with the specified code page name.
The code page name of the preferred encoding. Any value returned by the WebName property is valid. Possible values are listed in the Name column of the table that appears in the Encoding class topic.
The encoding associated with the specified code page.
Returns an array that contains all encodings.
An array that contains all encodings.
When overridden in a derived class, calculates the number of bytes produced by encoding all the characters in the specified character array.
The character array containing the characters to encode.
The number of bytes produced by encoding all the characters in the specified character array.
When overridden in a derived class, calculates the number of bytes produced by encoding the characters in the specified string.
The string containing the set of characters to encode.
The number of bytes produced by encoding the specified characters.
When overridden in a derived class, calculates the number of bytes produced by encoding a set of characters from the specified character array.
The character array containing the set of characters to encode.
The index of the first character to encode.
The number of characters to encode.
The number of bytes produced by encoding the specified characters.
When overridden in a derived class, encodes all the characters in the specified character array into a sequence of bytes.
The character array containing the characters to encode.
A byte array containing the results of encoding the specified set of characters.
When overridden in a derived class, encodes a set of characters from the specified character array into a sequence of bytes.
The character array containing the set of characters to encode.
The index of the first character to encode.
The number of characters to encode.
A byte array containing the results of encoding the specified set of characters.
When overridden in a derived class, encodes a set of characters from the specified character array into the specified byte array.
The character array containing the set of characters to encode.
The index of the first character to encode.
The number of characters to encode.
The byte array to contain the resulting sequence of bytes.
The index at which to start writing the resulting sequence of bytes.
The actual number of bytes written into bytes.
When overridden in a derived class, encodes all the characters in the specified string into a sequence of bytes.
The string containing the characters to encode.
A byte array containing the results of encoding the specified set of characters.
When overridden in a derived class, encodes a set of characters from the specified string into the specified byte array.
The string containing the set of characters to encode.
The index of the first character to encode.
The number of characters to encode.
The byte array to contain the resulting sequence of bytes.
The index at which to start writing the resulting sequence of bytes.
The actual number of bytes written into bytes.
When overridden in a derived class, calculates the number of characters produced by decoding all the bytes in the specified byte array.
The byte array containing the sequence of bytes to decode.
The number of characters produced by decoding the specified sequence of bytes.
When overridden in a derived class, calculates the number of characters produced by decoding a sequence of bytes from the specified byte array.
The byte array containing the sequence of bytes to decode.
The index of the first byte to decode.
The number of bytes to decode.
The number of characters produced by decoding the specified sequence of bytes.
When overridden in a derived class, decodes all the bytes in the specified byte array into a set of characters.
The byte array containing the sequence of bytes to decode.
A character array containing the results of decoding the specified sequence of bytes.
When overridden in a derived class, decodes a sequence of bytes from the specified byte array into a set of characters.
The byte array containing the sequence of bytes to decode.
The index of the first byte to decode.
The number of bytes to decode.
A character array containing the results of decoding the specified sequence of bytes.
When overridden in a derived class, decodes a sequence of bytes from the specified byte array into the specified character array.
The byte array containing the sequence of bytes to decode.
The index of the first byte to decode.
The number of bytes to decode.
The character array to contain the resulting set of characters.
The index at which to start writing the resulting set of characters.
The actual number of characters written into chars.
When overridden in a derived class, decodes all the bytes in the specified byte array into a string.
The byte array containing the sequence of bytes to decode.
A string that contains the results of decoding the specified sequence of bytes.
When overridden in a derived class, decodes a sequence of bytes from the specified byte array into a string.
The byte array containing the sequence of bytes to decode.
The index of the first byte to decode.
The number of bytes to decode.
A string that contains the results of decoding the specified sequence of bytes.
When overridden in a derived class, calculates the maximum number of bytes produced by encoding the specified number of characters.
The number of characters to encode.
The maximum number of bytes produced by encoding the specified number of characters.
When overridden in a derived class, calculates the maximum number of characters produced by decoding the specified number of bytes.
The number of bytes to decode.
The maximum number of characters produced by decoding the specified number of bytes.
Provides basic information about an encoding.
Gets the code page identifier of the encoding.
Gets the name registered with the Internet Assigned Numbers Authority (IANA) for the encoding.
Gets the human-readable description of the encoding.
Returns a Encoding object that corresponds to the current EncodingInfo object.
A Encoding object that corresponds to the current EncodingInfo object.
Returns the hash code for the current EncodingInfo object.
A 32-bit signed integer hash code.
Gets a value indicating whether the specified object is equal to the current EncodingInfo object.
An object to compare to the current EncodingInfo object.
true if value is a EncodingInfo object and is equal to the current EncodingInfo object; otherwise, false.
Represents the results from a single successful subexpression capture.
The position in the original string where the first character of the captured substring is found.
Gets the length of the captured substring.
Gets the captured substring from the input string.
Retrieves the captured substring from the input string by calling the Value property. (Overrides Object.ToString().)
Represents the set of captures made by a single capturing group.
Gets an object that can be used to synchronize access to the collection.
Gets a value that indicates whether access to the collection is synchronized (thread-safe).
Gets a value that indicates whether the collection is read only.
Gets the number of substrings captured by the group.
Gets an individual member of the collection.
Copies all the elements of the collection to the given array beginning at the given index.
Provides an enumerator that iterates through the collection.
Represents the results from a single capturing group.
Gets a value indicating whether the match is successful.
Gets a collection of all the captures matched by the capturing group, in innermost-leftmost-first order
(or innermost-rightmost-first order if the regular expression is modified with the RegexOptions.RightToLeft option).
The collection may have zero or more items.
Returns a Group object equivalent to the one supplied that is safe to share between multiple threads.
Returns the set of captured groups in a single match.
Gets an object that can be used to synchronize access to the GroupCollection.
Gets a value that indicates whether access to the GroupCollection is synchronized (thread-safe).
Gets a value that indicates whether the collection is read-only.
Returns the number of groups in the collection.
Enables access to a member of the collection by integer index.
Enables access to a member of the collection by string index.
Copies all the elements of the collection to the given array beginning at the given index.
Provides an enumerator that iterates through the collection.
Represents the results from a single regular expression match.
Gets the empty group. All failed matches return this empty match.
Gets a collection of groups matched by the regular expression.
Returns a new Match object with the results for the next match, starting at the position at which the last match ended (at the character after the last matched character).
Returns the expansion of the specified replacement pattern.
Returns a Match instance equivalent to the one supplied that is suitable to share between multiple threads.
Represents the set of successful matches found by iteratively applying a regular expression pattern to the input string.
Gets the number of matches.
Gets an object that can be used to synchronize access to the collection.
Gets a value indicating whether access to the collection is synchronized (thread-safe).
Gets a value that indicates whether the collection is read only.
Gets an individual member of the collection.
Copies all the elements of the collection to the given array starting at the given index.
Provides an enumerator that iterates through the collection.
Gets the time-out interval of the current instance.
Gets the options that were passed into the Regex constructor.
Gets a value that indicates whether the regular expression searches from right to left.
Returns an array of capturing group names for the regular expression.
Returns an array of capturing group numbers that correspond to group names in an array.
Gets the group name that corresponds to the specified group number.
Returns the group number that corresponds to the specified group name.
Indicates whether the regular expression specified in the Regex constructor finds a match in a specified input string.
Indicates whether the regular expression specified in the Regex constructor finds a match in the specified input string, beginning at the specified starting position in the string.
Searches the specified input string for the first occurrence of the regular expression specified in the Regex constructor.
Searches the input string for the first occurrence of a regular expression, beginning at the specified starting position in the string.
Searches the input string for the first occurrence of a regular expression, beginning at the specified starting position and searching only the specified number of characters.
Searches the specified input string for all occurrences of a regular expression.
Searches the specified input string for all occurrences of a regular expression, beginning at the specified starting position in the string.
In a specified input string, replaces all strings that match a regular expression pattern with a specified replacement string.
In a specified input string, replaces a specified maximum number of strings that match a regular expression pattern with a specified replacement string.
In a specified input substring, replaces a specified maximum number of strings that match a regular expression pattern with a specified replacement string.
In a specified input string, replaces all strings that match a specified regular expression with a string returned by a delegate.
In a specified input string, replaces a specified maximum number of strings that match a regular expression pattern with a string returned by a delegate.
In a specified input substring, replaces a specified maximum number of strings that match a regular expression pattern with a string returned by a delegate.
Splits an input string into an array of substrings at the positions defined by a regular expression pattern specified in the Regex constructor.
Splits an input string a specified maximum number of times into an array of substrings, at the positions defined by a regular expression specified in the Regex constructor.
Splits an input string a specified maximum number of times into an array of substrings, at the positions defined by a regular expression specified in the Regex constructor. The search for the regular expression pattern starts at a specified character position in the input string.
Determines whether the specified object is equal to the current object.(Inherited from Object.)
Converts any escaped characters in the input string.
Indicates whether the specified regular expression finds a match in the specified input string.
Indicates whether the specified regular expression finds a match in the specified input string, using the specified matching options.
Indicates whether the specified regular expression finds a match in the specified input string, using the specified matching options and time-out interval.
Searches the specified input string for the first occurrence of the specified regular expression.
Searches the input string for the first occurrence of the specified regular expression, using the specified matching options.
Searches the input string for the first occurrence of the specified regular expression, using the specified matching options and time-out interval.
Searches the specified input string for all occurrences of a specified regular expression.
Searches the specified input string for all occurrences of a specified regular expression, using the specified matching options.
Searches the specified input string for all occurrences of a specified regular expression, using the specified matching options and time-out interval.
In a specified input string, replaces all strings that match a specified regular expression with a specified replacement string.
In a specified input string, replaces all strings that match a specified regular expression with a specified replacement string. Specified options modify the matching operation.
In a specified input string, replaces all strings that match a specified regular expression with a specified replacement string. Additional parameters specify options that modify the matching operation and a time-out interval if no match is found.
In a specified input string, replaces all strings that match a specified regular expression with a string returned by a delegate.
In a specified input string, replaces all strings that match a specified regular expression with a string returned by a delegate. Specified options modify the matching operation.
In a specified input string, replaces all substrings that match a specified regular expression with a string returned by a delegate. Additional parameters specify options that modify the matching operation and a time-out interval if no match is found.
Splits an input string into an array of substrings at the positions defined by a regular expression pattern.
Splits an input string into an array of substrings at the positions defined by a specified regular expression pattern. Specified options modify the matching operation.
Splits an input string into an array of substrings at the positions defined by a specified regular expression pattern. Additional parameters specify options that modify the matching operation and a time-out interval if no match is found.
Represents the method that is called each time a regular expression match is found during a Replace method operation.
Provides enumerated values to use to set regular expression options.
Specifies that no options are set. For more information about the default behavior of the regular expression engine, see the "Default Options" section in the Regular Expression Options topic.
Specifies case-insensitive matching. For more information, see the "Case-Insensitive Matching " section in the Regular Expression Options topic.
Multiline mode. Changes the meaning of ^ and $ so they match at the beginning and end, respectively, of any line, and not just the beginning and end of the entire string. For more information, see the "Multiline Mode" section in the Regular Expression Options topic.
Specifies that the only valid captures are explicitly named or numbered groups of the form (?<name>…). This allows unnamed parentheses to act as noncapturing groups without the syntactic clumsiness of the expression (?:…). For more information, see the "Explicit Captures Only" section in the Regular Expression Options topic.
Specifies single-line mode. Changes the meaning of the dot (.) so it matches every character (instead of every character except \n). For more information, see the "Single-line Mode" section in the Regular Expression Options topic.
Eliminates unescaped white space from the pattern and enables comments marked with #. However, this value does not affect or eliminate white space in , numeric , or tokens that mark the beginning of individual . For more information, see the "Ignore White Space" section of the Regular Expression Options topic.
Gets or sets the length of the current StringBuilder object.
Delimits a section of a one-dimensional array.
Gets the original array containing the range of elements that the array segment delimits.
Gets the number of elements in the range delimited by the array segment.
Gets the position of the first element in the range delimited by the array segment,
relative to the start of the original array.
Converts base data types to an array of bytes, and an array of bytes to base data types.
This field indicates the "endianess" of the architecture.
The value is set to true if the architecture is
little endian; false if it is big endian.
Returns the specified Boolean value as a byte array.
A Boolean value.
A byte array with length 1.
Returns the specified character value as an array of bytes.
A character to convert.
An array of bytes with length 2.
Returns the specified 16-bit signed integer value as an array of bytes.
The number to convert.
An array of bytes with length 2.
Returns the specified 32-bit signed integer value as an array of bytes.
The number to convert.
An array of bytes with length 4.
Returns the specified 64-bit signed integer value as an array of bytes.
The number to convert.
An array of bytes with length 8.
Returns the specified 16-bit unsigned integer value as an array of bytes.
The number to convert.
An array of bytes with length 2.
Returns the specified 32-bit unsigned integer value as an array of bytes.
The number to convert.
An array of bytes with length 4.
Returns the specified 64-bit unsigned integer value as an array of bytes.
The number to convert.
An array of bytes with length 8.
Returns the specified single-precision floating point value as an array of bytes.
The number to convert.
An array of bytes with length 4.
Returns the specified double-precision floating point value as an array of bytes.
The number to convert.
An array of bytes with length 8.
Returns a character converted from two bytes at a specified position in a byte array.
An array.
The starting position within value.
A character formed by two bytes beginning at startIndex.
Returns a 16-bit signed integer converted from two bytes at a specified position in a byte array.
An array of bytes.
The starting position within value.
A 16-bit signed integer formed by two bytes beginning at startIndex.
Returns a 32-bit signed integer converted from four bytes at a specified position in a byte array.
An array of bytes.
The starting position within value.
A 32-bit signed integer formed by four bytes beginning at startIndex.
Returns a 64-bit signed integer converted from eight bytes at a specified position in a byte array.
An array of bytes.
The starting position within value.
A 64-bit signed integer formed by eight bytes beginning at startIndex.
Returns a 16-bit unsigned integer converted from two bytes at a specified position in a byte array.
The array of bytes.
The starting position within value.
A 16-bit unsigned integer formed by two bytes beginning at startIndex.
Returns a 32-bit unsigned integer converted from four bytes at a specified position in a byte array.
An array of bytes.
The starting position within value.
A 32-bit unsigned integer formed by four bytes beginning at startIndex.
Returns a 64-bit unsigned integer converted from eight bytes at a specified position in a byte array.
An array of bytes.
The starting position within value.
A 64-bit unsigned integer formed by the eight bytes beginning at startIndex.
Returns a single-precision floating point number converted from four bytes at a specified position in a byte array.
An array of bytes.
The starting position within value.
A single-precision floating point number formed by four bytes beginning at startIndex.
Returns a double-precision floating point number converted from eight bytes at a specified position in a byte array.
An array of bytes.
The starting position within value.
A double precision floating point number formed by eight bytes beginning at startIndex.
Converts the numeric value of each element of a specified subarray of bytes to its equivalent hexadecimal string representation.
An array of bytes.
The starting position within value.
The number of array elements in value to convert.
Converts the numeric value of each element of a specified array of bytes to its equivalent hexadecimal string representation.
An array of bytes.
A string of hexadecimal pairs separated by hyphens, where each pair represents the corresponding element in value; for example, "7F-2C-4A-00".
Converts the numeric value of each element of a specified subarray of bytes to its equivalent hexadecimal string representation.
An array of bytes.
The starting position within value.
A string of hexadecimal pairs separated by hyphens, where each pair represents the corresponding element in a subarray of value; for example, "7F-2C-4A-00".
Returns a Boolean value converted from the byte at a specified position in a byte array.
A byte array.
The index of the byte within value.
true if the byte at startIndex in value is nonzero; otherwise, false.
Converts the specified double-precision floating point number to a 64-bit signed integer.
The number to convert.
A 64-bit signed integer whose value is equivalent to value.
Converts the specified 64-bit signed integer to a double-precision floating point number.
The number to convert.
A double-precision floating point number whose value is equivalent to value.
Converts the value of a specified object to an equivalent Boolean value.
Note: Calling this method for and values always throws .
Converts the value of the specified object to an equivalent Boolean value, using the specified culture-specific formatting information.
Note: Calling this method for and values always throws .
Converts the value of the specified object to a Unicode character.
Note: Calling this method for , , , and values always throws .
Converts the value of the specified object to its equivalent Unicode character, using the specified culture-specific formatting information.
Note: Calling this method for , , , and values always throws .
Calling this method always throws .
Returns the specified Unicode character value; no actual conversion is performed.
Converts the value of the specified 8-bit signed integer to its equivalent Unicode character.
Converts the value of the specified 8-bit unsigned integer to its equivalent Unicode character.
Converts the value of the specified 16-bit signed integer to its equivalent Unicode character.
Converts the value of the specified 16-bit unsigned integer to its equivalent Unicode character.
Converts the value of the specified 32-bit signed integer to its equivalent Unicode character.
Converts the value of the specified 32-bit unsigned integer to its equivalent Unicode character.
Converts the value of the specified 64-bit signed integer to its equivalent Unicode character.
Converts the value of the specified 64-bit unsigned integer to its equivalent Unicode character.
Converts the value of the specified object to a Unicode character.
Converts the value of the specified object to its equivalent Unicode character, using the specified culture-specific formatting information.
Calling this method always throws .
Calling this method always throws .
Calling this method always throws .
Calling this method always throws .
Converts the value of the specified object to an 8-bit signed integer.
Note: Calling this method for value always throws .
Converts the value of the specified object to an 8-bit signed integer, using the specified culture-specific formatting information.
Note: Calling this method for value always throws .
Converts the value of the specified object to an 8-bit signed integer.
Converts the value of the specified object to an 8-bit signed integer, using the specified culture-specific formatting information.
Converts the value of the specified object to an 8-bit unsigned integer.
Note: Calling this method for value always throws .
Converts the value of the specified object to an 8-bit unsigned integer, using the specified culture-specific formatting information.
Note: Calling this method for value always throws .
Converts the value of the specified object to a 16-bit signed integer.
Note: Calling this method for value always throws .
Converts the value of the specified object to a 16-bit signed integer, using the specified culture-specific formatting information.
Note: Calling this method for value always throws .
Converts the value of the specified object to a 16-bit unsigned integer.
Note: Calling this method for value always throws .
Converts the value of the specified object to a 16-bit unsigned integer, using the specified culture-specific formatting information.
Note: Calling this method for value always throws .
Converts the value of the specified object to a 32-bit signed integer.
Note: Calling this method for value always throws .
Converts the value of the specified object to a 32-bit signed integer, using the specified culture-specific formatting information.
Note: Calling this method for value always throws .
Converts the value of the specified object to a 32-bit unsigned integer.
Note: Calling this method for value always throws .
Converts the value of the specified object to a 32-bit unsigned integer, using the specified culture-specific formatting information.
Note: Calling this method for value always throws .
Converts the value of the specified object to a 64-bit signed integer.
Note: Calling this method for value always throws .
Converts the value of the specified object to a 64-bit signed integer, using the specified culture-specific formatting information.
Note: Calling this method for value always throws .
Converts the value of the specified object to a 64-bit unsigned integer.
Note: Calling this method for value always throws .
Converts the value of the specified object to a 64-bit unsigned integer, using the specified culture-specific formatting information.
Note: Calling this method for value always throws .
Converts the value of the specified object to a single-precision floating-point number.
Note: Calling this method for value always throws .
Converts the value of the specified object to an single-precision floating-point number, using the specified culture-specific formatting information.
Note: Calling this method for value always throws .
Converts the value of the specified object to a double-precision floating-point number.
Note: Calling this method for value always throws .
Converts the value of the specified object to an double-precision floating-point number, using the specified culture-specific formatting information.
Note: Calling this method for value always throws .
Converts the value of the specified object to an equivalent decimal number.
Note: Calling this method for value always throws .
Converts the value of the specified object to an equivalent decimal number, using the specified culture-specific formatting information.
Note: Calling this method for value always throws .
Converts the value of the specified object to a object.
Note: Calling this method for built-in types (except , ) always throws .
Converts the value of the specified object to a object, using the specified culture-specific formatting information.
Note: Calling this method for built-in types (except , ) always throws .
Converts the value of the specified object to its equivalent string representation.
Converts the value of the specified object to its equivalent string representation using the specified culture-specific formatting information.
Converts the value of the specified object to its equivalent string representation.
Converts the value of the specified object to its equivalent string representation using the specified culture-specific formatting information.
Converts the string representation of a number in a specified base to an equivalent 8-bit unsigned integer.
Converts the string representation of a number in a specified base to an equivalent 8-bit signed integer.
Converts the string representation of a number in a specified base to an equivalent 16-bit signed integer.
Converts the string representation of a number in a specified base to an equivalent 16-bit unsigned integer.
Converts the string representation of a number in a specified base to an equivalent 32-bit signed integer.
Converts the string representation of a number in a specified base to an equivalent 32-bit unsigned integer.
Converts the string representation of a number in a specified base to an equivalent 64-bit signed integer.
Converts the string representation of a number in a specified base to an equivalent 64-bit unsigned integer.
Converts the value of an 8-bit unsigned integer to its equivalent string representation in a specified base.
Converts the value of a 16-bit signed integer to its equivalent string representation in a specified base.
Converts the value of a 32-bit signed integer to its equivalent string representation in a specified base.
Converts the value of a 64-bit signed integer to its equivalent string representation in a specified base.
Converts an array of 8-bit unsigned integers to its equivalent string representation that is encoded with base-64 digits.
Converts an array of 8-bit unsigned integers to its equivalent string representation that is encoded with base-64 digits. A parameter specifies whether to insert line breaks in the return value.
An array of 8-bit unsigned integers. to insert a line break every 76 characters, or to not insert line breaks. is null. is not a valid value. 1
Converts a subset of an array of 8-bit unsigned integers to its equivalent string representation that is encoded with base-64 digits. Parameters specify the subset as an offset in the input array, and the number of elements in the array to convert.
Converts a subset of an array of 8-bit unsigned integers to its equivalent string representation that is encoded with base-64 digits. Parameters specify the subset as an offset in the input array, the number of elements in the array to convert, and whether to insert line breaks in the return value.
Converts a subset of an 8-bit unsigned integer array to an equivalent subset of a Unicode character array encoded with base-64 digits. Parameters specify the subsets as offsets in the input and output arrays, and the number of elements in the input array to convert.
A 32-bit signed integer containing the number of bytes in .
Converts a subset of an 8-bit unsigned integer array to an equivalent subset of a Unicode character array encoded with base-64 digits. Parameters specify the subsets as offsets in the input and output arrays, the number of elements in the input array to convert, and whether line breaks are inserted in the output array.
A 32-bit signed integer containing the number of bytes in .
Converts the specified string, which encodes binary data as base-64 digits, to an equivalent 8-bit unsigned integer array.
Converts a subset of a Unicode character array, which encodes binary data as base-64 digits, to an equivalent 8-bit unsigned integer array. Parameters specify the subset in the input array and the number of elements to convert.
Represents an instant in time, typically expressed as a date and time of day.
Represents the largest possible value of DateTime. This field is read-only.
Represents the smallest possible value of DateTime. This field is read-only.
Initializes a new instance of the DateTime structure.
Initializes a new instance of the DateTime structure to a specified number of ticks.
A date and time expressed in the number of 100-nanosecond intervals that have elapsed since January 1, 0001 at 00:00:00.000 in the Gregorian calendar.
Initializes a new instance of the DateTime structure to a specified number of ticks and to Coordinated Universal Time (UTC) or local time.
A date and time expressed in the number of 100-nanosecond intervals that have elapsed since January 1, 0001 at 00:00:00.000 in the Gregorian calendar.
One of the enumeration values that indicates whether ticks specifies a local time, Coordinated Universal Time (UTC), or neither.
Initializes a new instance of the DateTime structure to the specified year, month, and day.
The year (1 through 9999).
The month (1 through 12).
The day (1 through the number of days in month).
Initializes a new instance of the DateTime structure to the specified year, month, day, hour, minute, and second.
The year (1 through 9999).
The month (1 through 12).
The day (1 through the number of days in month).
The hours (0 through 23).
The minutes (0 through 59).
The seconds (0 through 59).
Initializes a new instance of the DateTime structure to the specified year, month, day, hour, minute, second, and Coordinated Universal Time (UTC) or local time.
The year (1 through 9999).
The month (1 through 12).
The day (1 through the number of days in month).
The hours (0 through 23).
The minutes (0 through 59).
The seconds (0 through 59).
One of the enumeration values that indicates whether year, month, day, hour, minute, second, and millisecond specify a local time, Coordinated Universal Time (UTC), or neither.
Initializes a new instance of the DateTime structure to the specified year, month, day, hour, minute, second, and millisecond.
The year (1 through 9999).
The month (1 through 12).
The day (1 through the number of days in month).
The hours (0 through 23).
The minutes (0 through 59).
The seconds (0 through 59).
The milliseconds (0 through 999).
Initializes a new instance of the DateTime structure to the specified year, month, day, hour, minute, second, millisecond, and Coordinated Universal Time (UTC) or local time.
The year (1 through 9999).
The month (1 through 12).
The day (1 through the number of days in month).
The hours (0 through 23).
The minutes (0 through 59).
The seconds (0 through 59).
The milliseconds (0 through 999).
One of the enumeration values that indicates whether year, month, day, hour, minute, second, and millisecond specify a local time, Coordinated Universal Time (UTC), or neither.
Gets the current date.
Gets a DateTime object that is set to the current date and time on this computer, expressed as the local time.
Gets a DateTime object that is set to the current date and time on this computer, expressed as the Coordinated Universal Time (UTC).
Gets a value that indicates whether the time represented by this instance is based on local time, Coordinated Universal Time (UTC), or neither.
Creates a new DateTime object that has the same number of ticks as the specified DateTime, but is designated as either local time, Coordinated Universal Time (UTC), or neither, as indicated by the specified DateTimeKind value.
A date and time.
One of the enumeration values that indicates whether the new object represents local time, UTC, or neither.
A new object that has the same number of ticks as the object represented by the value parameter and the DateTimeKind value specified by the kind parameter.
Creates a DateTime from a Windows filetime. A Windows filetime is a long representing the date and time as the number of 100-nanosecond intervals that have elapsed since 1/1/1601 12:00am.
Ticks
DateTime
Creates a DateTime from a Windows filetime. A Windows filetime is a long representing the date and time as the number of 100-nanosecond intervals that have elapsed since 1/1/1601 12:00am UTC.
Ticks
DateTime
Gets the date component of this instance.
Gets the day of the year represented by this instance.
Gets the day of the week represented by this instance.
Gets the year component of the date represented by this instance.
Gets the month component of the date represented by this instance.
Gets the day of the month represented by this instance.
Gets the hour component of the date represented by this instance.
Gets the milliseconds component of the date represented by this instance.
Gets the minute component of the date represented by this instance.
Gets the seconds component of the date represented by this instance.
Gets the time of day for this instance.
Gets the number of ticks that represent the date and time of this instance.
Returns a new DateTime that adds the specified number of years to the value of this instance.
A number of years. The value parameter can be negative or positive.
An object whose value is the sum of the date and time represented by this instance and the number of years represented by value.
Returns a new DateTime that adds the specified number of months to the value of this instance.
A number of months. The months parameter can be negative or positive.
An object whose value is the sum of the date and time represented by this instance and months.
Returns a new DateTime that adds the specified number of days to the value of this instance.
A number of whole and fractional days. The value parameter can be negative or positive.
An object whose value is the sum of the date and time represented by this instance and the number of days represented by value.
Returns a new DateTime that adds the specified number of hours to the value of this instance.
A number of whole and fractional hours. The value parameter can be negative or positive.
An object whose value is the sum of the date and time represented by this instance and the number of hours represented by value.
Returns a new DateTime that adds the specified number of minutes to the value of this instance.
A number of whole and fractional minutes. The value parameter can be negative or positive.
An object whose value is the sum of the date and time represented by this instance and the number of minutes represented by value.
Returns a new DateTime that adds the specified number of seconds to the value of this instance.
A number of whole and fractional seconds. The value parameter can be negative or positive.
An object whose value is the sum of the date and time represented by this instance and the number of seconds represented by value.
Returns a new DateTime that adds the specified number of milliseconds to the value of this instance.
A number of whole and fractional milliseconds. The value parameter can be negative or positive. Note that this value is rounded to the nearest integer.
An object whose value is the sum of the date and time represented by this instance and the number of milliseconds represented by value.
Returns a new DateTime that adds the specified number of ticks to the value of this instance.
A number of 100-nanosecond ticks. The value parameter can be positive or negative.
An object whose value is the sum of the date and time represented by this instance and the time represented by value.
Returns a new DateTime that adds the value of the specified TimeSpan to the value of this instance.
A positive or negative time interval.
An object whose value is the sum of the date and time represented by this instance and the time interval represented by value.
Subtracts the specified time or duration from this instance.
The time interval to subtract.
An object that is equal to the date and time represented by this instance minus the time interval represented by value.
Returns the number of days in the specified month and year.
The year.
The month (a number ranging from 1 to 12).
The number of days in month for the specified year.
Returns an indication whether the specified year is a leap year.
A 4-digit year.
true if year is a leap year; otherwise, false.
Indicates whether this instance of DateTime is within the daylight saving time range for the current time zone.
true if the value of the Kind property is Local or Unspecified and the value of this instance of DateTime is within the daylight saving time range for the local time zone; false if Kind is Utc.
Converts the value of the current DateTime object to Coordinated Universal Time (UTC).
An object whose Kind property is Utc, and whose value is the UTC equivalent to the value of the current DateTime object, or MaxValue if the converted value is too large to be represented by a DateTime object, or MinValue if the converted value is too small to be represented by a DateTime object.
Converts the value of the current DateTime object to local time.
An object whose Kind property is Local, and whose value is the local time equivalent to the value of the current DateTime object, or MaxValue if the converted value is too large to be represented by a DateTime object, or MinValue if the converted value is too small to be represented as a DateTime object.
Converts the value of the current DateTime object to local time.
An object whose Kind property is Local, and whose value is the local time equivalent to the value of the current DateTime object, or MaxValue if the converted value is too large to be represented by a DateTime object, or MinValue if the converted value is too small to be represented as a DateTime object.
Converts the value of the current DateTime object to its equivalent short date string representation.
A string that contains the short date string representation of the current DateTime object.
Converts the value of the current DateTime object to its equivalent short time string representation.
A string that contains the short time string representation of the current DateTime object.
The Guid data type which is mapped to the string type in Javascript.
A read-only instance of the Guid structure whose value is all zeros.
Initializes a new instance of the Guid structure by using the value represented by the specified string.
A string that contains a GUID
Initializes a new instance of the Guid structure by using the specified array of bytes.
A 16-element byte array containing values with which to initialize the GUID.
Initializes a new instance of the Guid structure by using the specified unsigned integers and bytes.
The first 4 bytes of the GUID.
The next 2 bytes of the GUID.
The next 2 bytes of the GUID.
The next byte of the GUID.
The next byte of the GUID.
The next byte of the GUID.
The next byte of the GUID.
The next byte of the GUID.
The next byte of the GUID.
The next byte of the GUID.
The next byte of the GUID.
Initializes a new instance of the Guid structure by using the specified integers and byte array.
The first 4 bytes of the GUID.
The next 2 bytes of the GUID.
The next 2 bytes of the GUID.
The remaining 8 bytes of the GUID.
Initializes a new instance of the Guid structure by using the specified integers and bytes.
The first 4 bytes of the GUID.
The next 2 bytes of the GUID.
The next 2 bytes of the GUID.
The next byte of the GUID.
The next byte of the GUID.
The next byte of the GUID.
The next byte of the GUID.
The next byte of the GUID.
The next byte of the GUID.
The next byte of the GUID.
The next byte of the GUID.
Returns the hash code for this instance.
The hash code for this instance.
Returns a value indicating whether this instance and a specified Guid object represent the same value.
An object to compare to this instance.
true if o is equal to this instance; otherwise, false.
Returns a value indicating whether this instance and a specified Guid object represent the same value.
An object to compare to this instance.
true if o is equal to this instance; otherwise, false.
Compares this instance to a specified Guid object and returns an indication of their relative values.
An object to compare to this instance.
A signed number indicating the relative values of this instance and value.
Returns a string representation of the value of this instance in registry format.
The value of this Guid, formatted by using the "D" format specifier.
Returns a string representation of the value of this Guid instance, according to the provided format specifier.
A single format specifier that indicates how to format the value of this Guid. The format parameter can be "N", "D", "B", "P". If format is null or an empty string (""), "D" is used.
The value of this Guid, represented as a series of lowercase hexadecimal digits in the specified format.
Returns a string representation of the value of this instance of the Guid class, according to the provided format specifier and culture-specific format information.
A single format specifier that indicates how to format the value of this Guid. The format parameter can be "N", "D", "B", "P". If format is null or an empty string (""), "D" is used.
(Reserved) An object that supplies culture-specific formatting information.
The value of this Guid, represented as a series of lowercase hexadecimal digits in the specified format.
Returns a 16-element byte array that contains the value of this instance.
A 16-element byte array.
Converts the string representation of a GUID to the equivalent Guid structure.
The string to convert.
A structure that contains the value that was parsed.
Converts the string representation of a GUID to the equivalent Guid structure, provided that the string is in the specified format.
The GUID to convert.
One of the following specifiers that indicates the exact format to use when interpreting input: "N", "D", "B", "P".
Converts the string representation of a GUID to the equivalent Guid structure.
The GUID to convert.
The structure that will contain the parsed value. If the method returns true, result contains a valid Guid. If the method returns false, result equals Guid.Empty.
Converts the string representation of a GUID to the equivalent Guid structure, provided that the string is in the specified format.
The GUID to convert.
One of the following specifiers that indicates the exact format to use when interpreting input: "N", "D", "B", "P".
The structure that will contain the parsed value. If the method returns true, result contains a valid Guid. If the method returns false, result equals Guid.Empty.
Initializes a new instance of the Guid structure.
A new GUID object.
Indicates whether the values of two specified Guid objects are equal.
The first object to compare.
The second object to compare.
true if a and b are equal; otherwise, false.
Indicates whether the values of two specified Guid objects are not equal.
The first object to compare.
The second object to compare.
true if a and b are not equal; otherwise, false.
The time represented is not specified as either local time or Coordinated Universal Time (UTC).
The time represented is UTC.
The time represented is local time.
Retrieves an array of the custom attributes applied to an assembly. A parameter specifies the assembly.
An object derived from the Assembly class that describes a reusable collection of modules.
An Attribute array that contains the custom attributes applied to element, or an empty array if no such custom attributes exist.
Retrieves an array of the custom attributes applied to an assembly. Parameters specify the assembly, and an ignored search option.
An object derived from the Assembly class that describes a reusable collection of modules.
This parameter is ignored, and does not affect the operation of this method.
An Attribute array that contains the custom attributes applied to element, or an empty array if no such custom attributes exist.
Retrieves an array of the custom attributes applied to an assembly. Parameters specify the assembly, and the type of the custom attribute to search for.
An object derived from the Assembly class that describes a reusable collection of modules.
The type, or a base type, of the custom attribute to search for.
An Attribute array that contains the custom attributes of type attributeType applied to element, or an empty array if no such custom attributes exist.
Retrieves an array of the custom attributes applied to an assembly. Parameters specify the assembly, the type of the custom attribute to search for, and an ignored search option.
An object derived from the Assembly class that describes a reusable collection of modules.
The type, or a base type, of the custom attribute to search for.
This parameter is ignored, and does not affect the operation of this method.
An Attribute array that contains the custom attributes of type attributeType applied to element, or an empty array if no such custom attributes exist.
Retrieves an array of the custom attributes applied to a member of a type. A parameter specifies the member.
An object derived from the MemberInfo class that describes a constructor, event, field, method, or property member of a class.
An Attribute array that contains the custom attributes applied to element, or an empty array if no such custom attributes exist.
Retrieves an array of the custom attributes applied to a member of a type. Parameters specify the member, the type of the custom attribute to search for, and whether to search ancestors of the member.
An object derived from the MemberInfo class that describes a constructor, event, field, method, or property member of a class.
If true, specifies to also search the ancestors of element for custom attributes.
An Attribute array that contains the custom attributes applied to element, or an empty array if no such custom attributes exist.
Retrieves an array of the custom attributes applied to a member of a type. Parameters specify the member, and the type of the custom attribute to search for.
An object derived from the MemberInfo class that describes a constructor, event, field, method, or property member of a class.
The type, or a base type, of the custom attribute to search for.
An Attribute array that contains the custom attributes of type type applied to element, or an empty array if no such custom attributes exist.
Retrieves an array of the custom attributes applied to a member of a type. Parameters specify the member, the type of the custom attribute to search for, and whether to search ancestors of the member.
An object derived from the MemberInfo class that describes a constructor, event, field, method, or property member of a class.
The type, or a base type, of the custom attribute to search for.
If true, specifies to also search the ancestors of element for custom attributes.
An Attribute array that contains the custom attributes of type type applied to element, or an empty array if no such custom attributes exist.
Retrieves an array of the custom attributes applied to a method parameter. A parameter specifies the method parameter.
An object derived from the ParameterInfo class that describes a parameter of a member of a class.
An Attribute array that contains the custom attributes applied to element, or an empty array if no such custom attributes exist.
Retrieves an array of the custom attributes applied to a method parameter. Parameters specify the method parameter, and whether to search ancestors of the method parameter.
An object derived from the ParameterInfo class that describes a parameter of a member of a class.
If true, specifies to also search the ancestors of element for custom attributes.
An Attribute array that contains the custom attributes applied to element, or an empty array if no such custom attributes exist.
Retrieves an array of the custom attributes applied to a method parameter. Parameters specify the method parameter, and the type of the custom attribute to search for.
An object derived from the ParameterInfo class that describes a parameter of a member of a class.
The type, or a base type, of the custom attribute to search for.
An Attribute array that contains the custom attributes of type attributeType applied to element, or an empty array if no such custom attributes exist.
Retrieves an array of the custom attributes applied to a method parameter. Parameters specify the method parameter, the type of the custom attribute to search for, and whether to search ancestors of the method parameter.
An object derived from the ParameterInfo class that describes a parameter of a member of a class.
The type, or a base type, of the custom attribute to search for.
If true, specifies to also search the ancestors of element for custom attributes.
An Attribute array that contains the custom attributes of type attributeType applied to element, or an empty array if no such custom attributes exist.
Applies an accumulator function over a sequence.
An System.Collections.Generic.IEnumerable<T> to aggregate over.
An accumulator function to be invoked on each element.
The type of the elements of source.
The final accumulator value.
source or func is null.
source contains no elements.
Applies an accumulator function over a sequence. The specified seed value
is used as the initial accumulator value.
An System.Collections.Generic.IEnumerable<T> to aggregate over.
The initial accumulator value.
An accumulator function to be invoked on each element.
The type of the elements of source.
The type of the accumulator value.
The final accumulator value.
source or func is null.
Applies an accumulator function over a sequence. The specified seed value
is used as the initial accumulator value, and the specified function is used
to select the result value.
An System.Collections.Generic.IEnumerable<T> to aggregate over.
The initial accumulator value.
An accumulator function to be invoked on each element.
A function to transform the final accumulator value into the result value.
The type of the elements of source.
The type of the accumulator value.
The type of the resulting value.
The transformed final accumulator value.
source or func or resultSelector is null.
Determines whether all elements of a sequence satisfy a condition.
An System.Collections.Generic.IEnumerable<T> that contains the elements to
apply the predicate to.
A function to test each element for a condition.
The type of the elements of source.
true if every element of the source sequence passes the test in the specified
predicate, or if the sequence is empty; otherwise, false.
source or predicate is null.
Determines whether a sequence contains any elements.
The System.Collections.Generic.IEnumerable<T> to check for emptiness.
The type of the elements of source.
true if the source sequence contains any elements; otherwise, false.
source is null.
Determines whether any element of a sequence satisfies a condition.
An System.Collections.Generic.IEnumerable<T> whose elements to apply the
predicate to.
A function to test each element for a condition.
The type of the elements of source.
true if any elements in the source sequence pass the test in the specified
predicate; otherwise, false.
source or predicate is null.
Returns the input typed as System.Collections.Generic.IEnumerable<T>.
The sequence to type as System.Collections.Generic.IEnumerable<T>.
The type of the elements of source.
The input sequence typed as System.Collections.Generic.IEnumerable<T>.
Bridge.NET has no mapping for this in JavaScript.
Returns the input typed as System.Collections.Generic.IEnumerable<T>.
The sequence to type as System.Collections.Generic.IEnumerable<T>.
The type of the elements of source.
The input sequence typed as System.Collections.Generic.IEnumerable<T>.
Bridge.NET has no mapping for this in JavaScript.
Computes the average of a sequence of nullable System.Decimal values.
A sequence of nullable System.Decimal values to calculate the average of.
The average of the sequence of values, or null if the source sequence is
empty or contains only values that are null.
source is null.
The sum of the elements in the sequence is larger than System.Decimal.MaxValue.
Bridge.NET has no mapping for this in JavaScript.
Computes the average of a sequence of nullable System.Decimal values.
A sequence of nullable System.Decimal values to calculate the average of.
The average of the sequence of values, or null if the source sequence is
empty or contains only values that are null.
source is null.
The sum of the elements in the sequence is larger than System.Decimal.MaxValue.
Bridge.NET has no mapping for this in JavaScript.
Computes the average of a sequence of System.Decimal values.
A sequence of System.Decimal values to calculate the average of.
The average of the sequence of values.
source is null.
source contains no elements.
Computes the average of a sequence of System.Decimal values.
A sequence of System.Decimal values to calculate the average of.
The average of the sequence of values.
source is null.
source contains no elements.
Computes the average of a sequence of nullable System.Double values.
A sequence of nullable System.Double values to calculate the average of.
The average of the sequence of values, or null if the source sequence is
empty or contains only values that are null.
source is null.
Bridge.NET has no mapping for this in JavaScript.
Computes the average of a sequence of nullable System.Double values.
A sequence of nullable System.Double values to calculate the average of.
The average of the sequence of values, or null if the source sequence is
empty or contains only values that are null.
source is null.
Bridge.NET has no mapping for this in JavaScript.
Computes the average of a sequence of System.Double values.
A sequence of System.Double values to calculate the average of.
The average of the sequence of values.
source is null.
source contains no elements.
Computes the average of a sequence of System.Double values.
A sequence of System.Double values to calculate the average of.
The average of the sequence of values.
source is null.
source contains no elements.
Computes the average of a sequence of nullable System.Single values.
A sequence of nullable System.Single values to calculate the average of.
The average of the sequence of values, or null if the source sequence is
empty or contains only values that are null.
source is null.
Bridge.NET has no mapping for this in JavaScript.
Computes the average of a sequence of nullable System.Single values.
A sequence of nullable System.Single values to calculate the average of.
The average of the sequence of values, or null if the source sequence is
empty or contains only values that are null.
source is null.
Bridge.NET has no mapping for this in JavaScript.
Computes the average of a sequence of System.Single values.
A sequence of System.Single values to calculate the average of.
The average of the sequence of values.
source is null.
source contains no elements.
Computes the average of a sequence of System.Single values.
A sequence of System.Single values to calculate the average of.
The average of the sequence of values.
source is null.
source contains no elements.
Computes the average of a sequence of nullable System.Int32 values.
A sequence of nullable System.Int32 values to calculate the average of.
The average of the sequence of values, or null if the source sequence is
empty or contains only values that are null.
source is null.
The sum of the elements in the sequence is larger than System.Int64.MaxValue.
Bridge.NET has no mapping for this in JavaScript.
Computes the average of a sequence of nullable System.Int32 values.
A sequence of nullable System.Int32 values to calculate the average of.
The average of the sequence of values, or null if the source sequence is
empty or contains only values that are null.
source is null.
The sum of the elements in the sequence is larger than System.Int64.MaxValue.
Bridge.NET has no mapping for this in JavaScript.
Computes the average of a sequence of System.Int32 values.
A sequence of System.Int32 values to calculate the average of.
The average of the sequence of values.
source is null.
source contains no elements.
Computes the average of a sequence of System.Int32 values.
A sequence of System.Int32 values to calculate the average of.
The average of the sequence of values.
source is null.
source contains no elements.
Computes the average of a sequence of nullable System.Int64 values.
A sequence of nullable System.Int64 values to calculate the average of.
The average of the sequence of values, or null if the source sequence is
empty or contains only values that are null.
source is null.
The sum of the elements in the sequence is larger than System.Int64.MaxValue.
Bridge.NET has no mapping for this in JavaScript.
Computes the average of a sequence of nullable System.Int64 values.
A sequence of nullable System.Int64 values to calculate the average of.
The average of the sequence of values, or null if the source sequence is
empty or contains only values that are null.
source is null.
The sum of the elements in the sequence is larger than System.Int64.MaxValue.
Bridge.NET has no mapping for this in JavaScript.
Computes the average of a sequence of System.Int64 values.
A sequence of System.Int64 values to calculate the average of.
The average of the sequence of values.
source is null.
source contains no elements.
Computes the average of a sequence of System.Int64 values.
A sequence of System.Int64 values to calculate the average of.
The average of the sequence of values.
source is null.
source contains no elements.
Computes the average of a sequence of nullable System.Decimal values that
are obtained by invoking a transform function on each element of the input
sequence.
A sequence of values to calculate the average of.
A transform function to apply to each element.
The type of the elements of source.
The average of the sequence of values, or null if the source sequence is
empty or contains only values that are null.
source or selector is null.
The sum of the elements in the sequence is larger than System.Decimal.MaxValue.
Bridge.NET has no mapping for this in JavaScript.
Computes the average of a sequence of System.Decimal 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 an average.
A transform function to apply to each element.
The type of the elements of source.
The average of the sequence of values.
source or selector is null.
source contains no elements.
The sum of the elements in the sequence is larger than System.Decimal.MaxValue.
Computes the average of a sequence of nullable System.Double values that
are obtained by invoking a transform function on each element of the input
sequence.
A sequence of values to calculate the average of.
A transform function to apply to each element.
The type of the elements of source.
The average of the sequence of values, or null if the source sequence is
empty or contains only values that are null.
source or selector is null.
Bridge.NET has no mapping for this in JavaScript.
Computes the average of a sequence of System.Double values that are obtained
by invoking a transform function on each element of the input sequence.
A sequence of values to calculate the average of.
A transform function to apply to each element.
The type of the elements of source.
The average of the sequence of values.
source or selector is null.
source contains no elements.
Computes the average of a sequence of nullable System.Single values that
are obtained by invoking a transform function on each element of the input
sequence.
A sequence of values to calculate the average of.
A transform function to apply to each element.
The type of the elements of source.
The average of the sequence of values, or null if the source sequence is
empty or contains only values that are null.
source or selector is null.
Bridge.NET has no mapping for this in JavaScript.
Computes the average of a sequence of System.Single values that are obtained
by invoking a transform function on each element of the input sequence.
A sequence of values to calculate the average of.
A transform function to apply to each element.
The type of the elements of source.
The average of the sequence of values.
source or selector is null.
source contains no elements.
Computes the average of a sequence of nullable System.Int32 values that are
obtained by invoking a transform function on each element of the input sequence.
A sequence of values to calculate the average of.
A transform function to apply to each element.
The type of the elements of source.
The average of the sequence of values, or null if the source sequence is
empty or contains only values that are null.
source or selector is null.
The sum of the elements in the sequence is larger than System.Int64.MaxValue.
Bridge.NET has no mapping for this in JavaScript.
Computes the average of a sequence of System.Int32 values that are obtained
by invoking a transform function on each element of the input sequence.
A sequence of values to calculate the average of.
A transform function to apply to each element.
The type of the elements of source.
The average of the sequence of values.
source or selector is null.
source contains no elements.
The sum of the elements in the sequence is larger than System.Int64.MaxValue.
Computes the average of a sequence of nullable System.Int64 values that are
obtained by invoking a transform function on each element of the input sequence.
A sequence of values to calculate the average of.
A transform function to apply to each element.
The type of the elements of source.
The average of the sequence of values, or null if the source sequence is
empty or contains only values that are null.
Bridge.NET has no mapping for this in JavaScript.
Computes the average of a sequence of System.Int64 values that are obtained
by invoking a transform function on each element of the input sequence.
A sequence of values to calculate the average of.
A transform function to apply to each element.
The type of the elements of source.
The average of the sequence of values.
source or selector is null.
source contains no elements.
The sum of the elements in the sequence is larger than System.Int64.MaxValue.
Casts the elements of an System.Collections.IEnumerable to the specified
type.
The System.Collections.IEnumerable that contains the elements to be cast
to type TResult.
The type to cast the elements of source to.
An System.Collections.Generic.IEnumerable<T> that contains each element of
the source sequence cast to the specified type.
source is null.
An element in the sequence cannot be cast to type TResult.
Concatenates two sequences.
The first sequence to concatenate.
The sequence to concatenate to the first sequence.
The type of the elements of the input sequences.
An System.Collections.Generic.IEnumerable<T> that contains the concatenated
elements of the two input sequences.
first or second is null.
Bridge.NET has no mapping for this in JavaScript.
Determines whether a sequence contains a specified element by using the default
equality comparer.
A sequence in which to locate a value.
The value to locate in the sequence.
The type of the elements of source.
true if the source sequence contains an element that has the specified value;
otherwise, false.
source is null.
Determines whether a sequence contains a specified element by using a specified
System.Collections.Generic.IEqualityComparer<T>.
A sequence in which to locate a value.
The value to locate in the sequence.
An equality comparer to compare values.
The type of the elements of source.
true if the source sequence contains an element that has the specified value;
otherwise, false.
source is null.
Returns the number of elements in a sequence.
A sequence that contains elements to be counted.
The type of the elements of source.
The number of elements in the input sequence.
source is null.
The number of elements in source is larger than System.Int32.MaxValue.
Returns a number that represents how many elements in the specified sequence
satisfy a condition.
A sequence that contains elements to be tested and counted.
A function to test each element for a condition.
The type of the elements of source.
A number that represents how many elements in the sequence satisfy the condition
in the predicate function.
source or predicate is null.
The number of elements in source is larger than System.Int32.MaxValue.
Returns the elements of the specified sequence or the type parameter's default
value in a singleton collection if the sequence is empty.
The sequence to return a default value for if it is empty.
The type of the elements of source.
An System.Collections.Generic.IEnumerable<T> object that contains the default
value for the TSource type if source is empty; otherwise, source.
source is null.
Returns the elements of the specified sequence or the specified value in
a singleton collection if the sequence is empty.
The sequence to return the specified value for if it is empty.
The value to return if the sequence is empty.
The type of the elements of source.
An System.Collections.Generic.IEnumerable<T> that contains defaultValue if
source is empty; otherwise, source.
Returns distinct elements from a sequence by using the default equality comparer
to compare values.
The sequence to remove duplicate elements from.
The type of the elements of source.
An System.Collections.Generic.IEnumerable<T> that contains distinct elements
from the source sequence.
source is null.
Returns distinct elements from a sequence by using a specified System.Collections.Generic.IEqualityComparer<T>
to compare values.
The sequence to remove duplicate elements from.
An System.Collections.Generic.IEqualityComparer<T> to compare values.
The type of the elements of source.
An System.Collections.Generic.IEnumerable<T> that contains distinct elements
from the source sequence.
source is null.
Returns the element at a specified index in a sequence.
An System.Collections.Generic.IEnumerable<T> to return an element from.
The zero-based index of the element to retrieve.
The type of the elements of source.
The element at the specified position in the source sequence.
source is null.
index is less than 0 or greater than or equal to the number of elements in
source.
Returns the element at a specified index in a sequence or a default value
if the index is out of range.
An System.Collections.Generic.IEnumerable<T> to return an element from.
The zero-based index of the element to retrieve.
The type of the elements of source.
default(TSource) if the index is outside the bounds of the source sequence;
otherwise, the element at the specified position in the source sequence.
source is null.
Returns an empty System.Collections.Generic.IEnumerable<T> that has the specified
type argument.
The type to assign to the type parameter of the returned generic System.Collections.Generic.IEnumerable<T>.
An empty System.Collections.Generic.IEnumerable<T> whose type argument is
TResult.
Produces the set difference of two sequences by using the default equality
comparer to compare values.
An System.Collections.Generic.IEnumerable<T> whose elements that are not
also in second will be returned.
An System.Collections.Generic.IEnumerable<T> whose elements that also occur
in the first sequence will cause those elements to be removed from the returned
sequence.
The type of the elements of the input sequences.
A sequence that contains the set difference of the elements of two sequences.
first or second is null.
Bridge.NET has no mapping for this in JavaScript.
Produces the set difference of two sequences by using the specified System.Collections.Generic.IEqualityComparer<T>
to compare values.
An System.Collections.Generic.IEnumerable<T> whose elements that are not
also in second will be returned.
An System.Collections.Generic.IEnumerable<T> whose elements that also occur
in the first sequence will cause those elements to be removed from the returned
sequence.
An System.Collections.Generic.IEqualityComparer<T> to compare values.
The type of the elements of the input sequences.
A sequence that contains the set difference of the elements of two sequences.
first or second is null.
Bridge.NET has no mapping for this in JavaScript.
Returns the first element of a sequence.
The System.Collections.Generic.IEnumerable<T> to return the first element
of.
The type of the elements of source.
The first element in the specified sequence.
source is null.
The source sequence is empty.
Returns the first element in a sequence that satisfies a specified condition.
An System.Collections.Generic.IEnumerable<T> to return an element from.
A function to test each element for a condition.
The type of the elements of source.
The first element in the sequence that passes the test in the specified predicate
function.
source or predicate is null.
No element satisfies the condition in predicate.-or-The source sequence is
empty.
Returns the first element of a sequence, or a default value if the sequence
contains no elements.
The System.Collections.Generic.IEnumerable<T> to return the first element
of.
The type of the elements of source.
default(TSource) if source is empty; otherwise, the first element in source.
source is null.
Returns the first element of the sequence that satisfies a condition or a
default value if no such element is found.
An System.Collections.Generic.IEnumerable<T> to return an element from.
A function to test each element for a condition.
The type of the elements of source.
default(TSource) if source is empty or if no element passes the test specified
by predicate; otherwise, the first element in source that passes the test
specified by predicate.
source or predicate is null.
Groups the elements of a sequence according to a specified key selector function.
An System.Collections.Generic.IEnumerable<T> whose elements to group.
A function to extract the key for each element.
The type of the elements of source.
The type of the key returned by keySelector.
An IEnumerable<IGrouping<TKey, TSource>> in C# or IEnumerable(Of IGrouping(Of
TKey, TSource)) in Visual Basic where each System.Linq.IGrouping<TKey,TElement>
object contains a sequence of objects and a key.
source or keySelector is null.
Groups the elements of a sequence according to a specified key selector function
and creates a result value from each group and its key.
An System.Collections.Generic.IEnumerable<T> whose elements to group.
A function to extract the key for each element.
A function to create a result value from each group.
The type of the elements of source.
The type of the key returned by keySelector.
The type of the result value returned by resultSelector.
A collection of elements of type TResult where each element represents a
projection over a group and its key.
Groups the elements of a sequence according to a specified key selector function
and projects the elements for each group by using a specified function.
An System.Collections.Generic.IEnumerable<T> whose elements to group.
A function to extract the key for each element.
A function to map each source element to an element in the System.Linq.IGrouping<TKey,TElement>.
The type of the elements of source.
The type of the key returned by keySelector.
The type of the elements in the System.Linq.IGrouping<TKey,TElement>.
An IEnumerable<IGrouping<TKey, TElement>> in C# or IEnumerable(Of IGrouping(Of
TKey, TElement)) in Visual Basic where each System.Linq.IGrouping<TKey,TElement>
object contains a collection of objects of type TElement and a key.
source or keySelector or elementSelector is null.
Groups the elements of a sequence according to a specified key selector function
and compares the keys by using a specified comparer.
An System.Collections.Generic.IEnumerable<T> whose elements to group.
A function to extract the key for each element.
An System.Collections.Generic.IEqualityComparer<T> to compare keys.
The type of the elements of source.
The type of the key returned by keySelector.
An IEnumerable<IGrouping<TKey, TSource>> in C# or IEnumerable(Of IGrouping(Of
TKey, TSource)) in Visual Basic where each System.Linq.IGrouping<TKey,TElement>
object contains a collection of objects and a key.
source or keySelector is null.
Groups the elements of a sequence according to a specified key selector function
and creates a result value from each group and its key. The keys are compared
by using a specified comparer.
An System.Collections.Generic.IEnumerable<T> whose elements to group.
A function to extract the key for each element.
A function to create a result value from each group.
An System.Collections.Generic.IEqualityComparer<T> to compare keys with.
The type of the elements of source.
The type of the key returned by keySelector.
The type of the result value returned by resultSelector.
A collection of elements of type TResult where each element represents a
projection over a group and its key.
Groups the elements of a sequence according to a specified key selector function
and creates a result value from each group and its key. The elements of each
group are projected by using a specified function.
An System.Collections.Generic.IEnumerable<T> whose elements to group.
A function to extract the key for each element.
A function to map each source element to an element in an System.Linq.IGrouping<TKey,TElement>.
A function to create a result value from each group.
The type of the elements of source.
The type of the key returned by keySelector.
The type of the elements in each System.Linq.IGrouping<TKey,TElement>.
The type of the result value returned by resultSelector.
A collection of elements of type TResult where each element represents a
projection over a group and its key.
Groups the elements of a sequence according to a key selector function. The
keys are compared by using a comparer and each group's elements are projected
by using a specified function.
An System.Collections.Generic.IEnumerable<T> whose elements to group.
A function to extract the key for each element.
A function to map each source element to an element in an System.Linq.IGrouping<TKey,TElement>.
An System.Collections.Generic.IEqualityComparer<T> to compare keys.
The type of the elements of source.
The type of the key returned by keySelector.
The type of the elements in the System.Linq.IGrouping<TKey,TElement>.
An IEnumerable<IGrouping<TKey, TElement>> in C# or IEnumerable(Of IGrouping(Of
TKey, TElement)) in Visual Basic where each System.Linq.IGrouping<TKey,TElement>
object contains a collection of objects of type TElement and a key.
source or keySelector or elementSelector is null.
Groups the elements of a sequence according to a specified key selector function
and creates a result value from each group and its key. Key values are compared
by using a specified comparer, and the elements of each group are projected
by using a specified function.
An System.Collections.Generic.IEnumerable<T> whose elements to group.
A function to extract the key for each element.
A function to map each source element to an element in an System.Linq.IGrouping<TKey,TElement>.
A function to create a result value from each group.
An System.Collections.Generic.IEqualityComparer<T> to compare keys with.
The type of the elements of source.
The type of the key returned by keySelector.
The type of the elements in each System.Linq.IGrouping<TKey,TElement>.
The type of the result value returned by resultSelector.
A collection of elements of type TResult where each element represents a
projection over a group and its key.
Correlates the elements of two sequences based on equality of keys and groups
the results. The default equality comparer is used to compare keys.
The first sequence to join.
The sequence to join to the first sequence.
A function to extract the join key from each element of the first sequence.
A function to extract the join key from each element of the second sequence.
A function to create a result element from an element from the first sequence
and a collection of matching elements from the second sequence.
The type of the elements of the first sequence.
The type of the elements of the second sequence.
The type of the keys returned by the key selector functions.
The type of the result elements.
An System.Collections.Generic.IEnumerable<T> that contains elements of type
TResult that are obtained by performing a grouped join on two sequences.
outer or inner or outerKeySelector or innerKeySelector or resultSelector
is null.
Correlates the elements of two sequences based on key equality and groups
the results. A specified System.Collections.Generic.IEqualityComparer<T>
is used to compare keys.
The first sequence to join.
The sequence to join to the first sequence.
A function to extract the join key from each element of the first sequence.
A function to extract the join key from each element of the second sequence.
A function to create a result element from an element from the first sequence
and a collection of matching elements from the second sequence.
An System.Collections.Generic.IEqualityComparer<T> to hash and compare keys.
The type of the elements of the first sequence.
The type of the elements of the second sequence.
The type of the keys returned by the key selector functions.
The type of the result elements.
An System.Collections.Generic.IEnumerable<T> that contains elements of type
TResult that are obtained by performing a grouped join on two sequences.
outer or inner or outerKeySelector or innerKeySelector or resultSelector
is null.
Produces the set intersection of two sequences by using the default equality
comparer to compare values.
An System.Collections.Generic.IEnumerable<T> whose distinct elements that
also appear in second will be returned.
An System.Collections.Generic.IEnumerable<T> whose distinct elements that
also appear in the first sequence will be returned.
The type of the elements of the input sequences.
A sequence that contains the elements that form the set intersection of two
sequences.
first or second is null.
Produces the set intersection of two sequences by using the specified System.Collections.Generic.IEqualityComparer<T>
to compare values.
An System.Collections.Generic.IEnumerable<T> whose distinct elements that
also appear in second will be returned.
An System.Collections.Generic.IEnumerable<T> whose distinct elements that
also appear in the first sequence will be returned.
An System.Collections.Generic.IEqualityComparer<T> to compare values.
The type of the elements of the input sequences.
A sequence that contains the elements that form the set intersection of two
sequences.
first or second is null.
Correlates the elements of two sequences based on matching keys. The default
equality comparer is used to compare keys.
The first sequence to join.
The sequence to join to the first sequence.
A function to extract the join key from each element of the first sequence.
A function to extract the join key from each element of the second sequence.
A function to create a result element from two matching elements.
The type of the elements of the first sequence.
The type of the elements of the second sequence.
The type of the keys returned by the key selector functions.
The type of the result elements.
An System.Collections.Generic.IEnumerable<T> that has elements of type TResult
that are obtained by performing an inner join on two sequences.
outer or inner or outerKeySelector or innerKeySelector or resultSelector
is null.
Correlates the elements of two sequences based on matching keys. A specified
System.Collections.Generic.IEqualityComparer<T> is used to compare keys.
The first sequence to join.
The sequence to join to the first sequence.
A function to extract the join key from each element of the first sequence.
A function to extract the join key from each element of the second sequence.
A function to create a result element from two matching elements.
An System.Collections.Generic.IEqualityComparer<T> to hash and compare keys.
The type of the elements of the first sequence.
The type of the elements of the second sequence.
The type of the keys returned by the key selector functions.
The type of the result elements.
An System.Collections.Generic.IEnumerable<T> that has elements of type TResult
that are obtained by performing an inner join on two sequences.
outer or inner or outerKeySelector or innerKeySelector or resultSelector
is null.
Returns an System.Int64 that represents the total number of elements in a
sequence.
An System.Collections.Generic.IEnumerable<T> that contains the elements to
be counted.
The type of the elements of source.
The number of elements in the source sequence.
source is null.
The number of elements exceeds System.Int64.MaxValue.
Bridge.NET has no mapping for this in JavaScript.
Returns an System.Int64 that represents how many elements in a sequence satisfy
a condition.
An System.Collections.Generic.IEnumerable<T> that contains the elements to
be counted.
A function to test each element for a condition.
The type of the elements of source.
A number that represents how many elements in the sequence satisfy the condition
in the predicate function.
source or predicate is null.
The number of matching elements exceeds System.Int64.MaxValue.
Bridge.NET has no mapping for this in JavaScript.
Returns the last element of a sequence.
An System.Collections.Generic.IEnumerable<T> to return the last element of.
The type of the elements of source.
The value at the last position in the source sequence.
source is null.
The source sequence is empty.
Returns the last element of a sequence that satisfies a specified condition.
An System.Collections.Generic.IEnumerable<T> to return an element from.
A function to test each element for a condition.
The type of the elements of source.
The last element in the sequence that passes the test in the specified predicate
function.
source or predicate is null.
No element satisfies the condition in predicate.-or-The source sequence is
empty.
Returns the last element of a sequence, or a default value if the sequence
contains no elements.
An System.Collections.Generic.IEnumerable<T> to return the last element of.
The type of the elements of source.
default(TSource) if the source sequence is empty; otherwise, the last element
in the System.Collections.Generic.IEnumerable<T>.
source is null.
Returns the last element of a sequence that satisfies a condition or a default
value if no such element is found.
An System.Collections.Generic.IEnumerable<T> to return an element from.
A function to test each element for a condition.
The type of the elements of source.
default(TSource) if the sequence is empty or if no elements pass the test
in the predicate function; otherwise, the last element that passes the test
in the predicate function.
source or predicate is null.
Returns the maximum value in a sequence of nullable System.Decimal values.
A sequence of nullable System.Decimal values to determine the maximum value
of.
A value of type Nullable<Decimal> in C# or Nullable(Of Decimal) in Visual
Basic that corresponds to the maximum value in the sequence.
source is null.
Bridge.NET has no mapping for this in JavaScript.
Returns the maximum value in a sequence of nullable System.Decimal values.
A sequence of nullable System.Decimal values to determine the maximum value
of.
A value of type Nullable<Decimal> in C# or Nullable(Of Decimal) in Visual
Basic that corresponds to the maximum value in the sequence.
source is null.
Bridge.NET has no mapping for this in JavaScript.
Returns the maximum value in a sequence of System.Decimal values.
A sequence of System.Decimal values to determine the maximum value of.
The maximum value in the sequence.
source is null.
source contains no elements.
Returns the maximum value in a sequence of System.Decimal values.
A sequence of System.Decimal values to determine the maximum value of.
The maximum value in the sequence.
source is null.
source contains no elements.
Returns the maximum value in a sequence of nullable System.Double values.
A sequence of nullable System.Double values to determine the maximum value
of.
A value of type Nullable<Double> in C# or Nullable(Of Double) in Visual Basic
that corresponds to the maximum value in the sequence.
source is null.
Bridge.NET has no mapping for this in JavaScript.
Returns the maximum value in a sequence of nullable System.Double values.
A sequence of nullable System.Double values to determine the maximum value
of.
A value of type Nullable<Double> in C# or Nullable(Of Double) in Visual Basic
that corresponds to the maximum value in the sequence.
source is null.
Bridge.NET has no mapping for this in JavaScript.
Returns the maximum value in a sequence of System.Double values.
A sequence of System.Double values to determine the maximum value of.
The maximum value in the sequence.
source is null.
source contains no elements.
Returns the maximum value in a sequence of System.Double values.
A sequence of System.Double values to determine the maximum value of.
The maximum value in the sequence.
source is null.
source contains no elements.
Returns the maximum value in a sequence of nullable System.Single values.
A sequence of nullable System.Single values to determine the maximum value
of.
A value of type Nullable<Single> in C# or Nullable(Of Single) in Visual Basic
that corresponds to the maximum value in the sequence.
source is null.
Bridge.NET has no mapping for this in JavaScript.
Returns the maximum value in a sequence of nullable System.Single values.
A sequence of nullable System.Single values to determine the maximum value
of.
A value of type Nullable<Single> in C# or Nullable(Of Single) in Visual Basic
that corresponds to the maximum value in the sequence.
source is null.
Bridge.NET has no mapping for this in JavaScript.
Returns the maximum value in a sequence of System.Single values.
A sequence of System.Single values to determine the maximum value of.
The maximum value in the sequence.
source is null.
source contains no elements.
Returns the maximum value in a sequence of System.Single values.
A sequence of System.Single values to determine the maximum value of.
The maximum value in the sequence.
source is null.
source contains no elements.
Returns the maximum value in a sequence of nullable System.Int32 values.
A sequence of nullable System.Int32 values to determine the maximum value
of.
A value of type Nullable<Int32> in C# or Nullable(Of Int32) in Visual Basic
that corresponds to the maximum value in the sequence.
source is null.
Bridge.NET has no mapping for this in JavaScript.
Returns the maximum value in a sequence of nullable System.Int32 values.
A sequence of nullable System.Int32 values to determine the maximum value
of.
A value of type Nullable<Int327gt; in C# or Nullable(Of Int32) in Visual Basic
that corresponds to the maximum value in the sequence.
source is null.
Bridge.NET has no mapping for this in JavaScript.
Returns the maximum value in a sequence of System.Int32 values.
A sequence of System.Int32 values to determine the maximum value of.
The maximum value in the sequence.
source is null.
source contains no elements.
Returns the maximum value in a sequence of System.Int32 values.
A sequence of System.Int32 values to determine the maximum value of.
The maximum value in the sequence.
source is null.
source contains no elements.
Returns the maximum value in a sequence of nullable System.Int64 values.
A sequence of nullable System.Int64 values to determine the maximum value
of.
A value of type Nullable<Int64> in C# or Nullable(Of Int64) in Visual Basic
that corresponds to the maximum value in the sequence.
source is null.
Bridge.NET has no mapping for this in JavaScript.
Returns the maximum value in a sequence of nullable System.Int64 values.
A sequence of nullable System.Int64 values to determine the maximum value
of.
A value of type Nullable<Int64> in C# or Nullable(Of Int64) in Visual Basic
that corresponds to the maximum value in the sequence.
source is null.
Bridge.NET has no mapping for this in JavaScript.
Returns the maximum value in a sequence of System.Int64 values.
A sequence of System.Int64 values to determine the maximum value of.
The maximum value in the sequence.
source is null.
source contains no elements.
Returns the maximum value in a sequence of System.Int64 values.
A sequence of System.Int64 values to determine the maximum value of.
The maximum value in the sequence.
source is null.
source contains no elements.
Invokes a transform function on each element of a sequence and returns the
maximum nullable System.Decimal value.
A sequence of values to determine the maximum value of.
A transform function to apply to each element.
The type of the elements of source.
The value of type Nullable<Decimal> in C# or Nullable(Of Decimal) in Visual
Basic that corresponds to the maximum value in the sequence.
source or selector is null.
Bridge.NET has no mapping for this in JavaScript.
Invokes a transform function on each element of a sequence and returns the
maximum System.Decimal value.
A sequence of values to determine the maximum value of.
A transform function to apply to each element.
The type of the elements of source.
The maximum value in the sequence.
source or selector is null.
source contains no elements.
Invokes a transform function on each element of a sequence and returns the
maximum nullable System.Double value.
A sequence of values to determine the maximum value of.
A transform function to apply to each element.
The type of the elements of source.
The value of type Nullable<Double> in C# or Nullable(Of Double) in Visual
Basic that corresponds to the maximum value in the sequence.
source or selector is null.
Bridge.NET has no mapping for this in JavaScript.
Invokes a transform function on each element of a sequence and returns the
maximum System.Double value.
A sequence of values to determine the maximum value of.
A transform function to apply to each element.
The type of the elements of source.
The maximum value in the sequence.
source or selector is null.
source contains no elements.
Invokes a transform function on each element of a sequence and returns the
maximum nullable System.Single value.
A sequence of values to determine the maximum value of.
A transform function to apply to each element.
The type of the elements of source.
The value of type Nullable<Single> in C# or Nullable(Of Single) in Visual
Basic that corresponds to the maximum value in the sequence.
source or selector is null.
Bridge.NET has no mapping for this in JavaScript.
Invokes a transform function on each element of a sequence and returns the
maximum System.Single value.
A sequence of values to determine the maximum value of.
A transform function to apply to each element.
The type of the elements of source.
The maximum value in the sequence.
source or selector is null.
source contains no elements.
Invokes a transform function on each element of a sequence and returns the
maximum nullable System.Int32 value.
A sequence of values to determine the maximum value of.
A transform function to apply to each element.
The type of the elements of source.
The value of type Nullable<Int32> in C# or Nullable(Of Int32) in Visual Basic
that corresponds to the maximum value in the sequence.
source or selector is null.
Bridge.NET has no mapping for this in JavaScript.
Invokes a transform function on each element of a sequence and returns the
maximum System.Int32 value.
A sequence of values to determine the maximum value of.
A transform function to apply to each element.
The type of the elements of source.
The maximum value in the sequence.
source or selector is null.
source contains no elements.
Invokes a transform function on each element of a sequence and returns the
maximum nullable System.Int64 value.
A sequence of values to determine the maximum value of.
A transform function to apply to each element.
The type of the elements of source.
The value of type Nullable<Int64> in C# or Nullable(Of Int64) in Visual Basic
that corresponds to the maximum value in the sequence.
source or selector is null.
Bridge.NET has no mapping for this in JavaScript.
Invokes a transform function on each element of a sequence and returns the
maximum System.Int64 value.
A sequence of values to determine the maximum value of.
A transform function to apply to each element.
The type of the elements of source.
The maximum value in the sequence.
source or selector is null.
source contains no elements.
Returns the minimum value in a sequence of nullable System.Decimal values.
A sequence of nullable System.Decimal values to determine the minimum value
of.
A value of type Nullable<Decimal> in C# or Nullable(Of Decimal) in Visual
Basic that corresponds to the minimum value in the sequence.
source is null.
Bridge.NET has no mapping for this in JavaScript.
Returns the minimum value in a sequence of nullable System.Decimal values.
A sequence of nullable System.Decimal values to determine the minimum value
of.
A value of type Nullable<Decimal> in C# or Nullable(Of Decimal) in Visual
Basic that corresponds to the minimum value in the sequence.
source is null.
Bridge.NET has no mapping for this in JavaScript.
Invokes a transform function on each element of a sequence and returns the
maximum System.Int64 value.
A sequence of values to determine the maximum value of.
The type of the elements of source.
The maximum value in the sequence.
source or selector is null.
source contains no elements.
Invokes a transform function on each element of a sequence and returns the
maximum System.Int64 value.
A sequence of values to determine the maximum value of.
A transform function to apply to each element.
The type of the elements of source.
The type of the elements in result.
The maximum value in the sequence.
source or selector is null.
source contains no elements.
Returns the minimum TSource value.
A sequence of values to determine the minimum value of.
The type of the elements of source.
The minimum value in the sequence.
source or selector is null.
source contains no elements.
Invokes a transform function on each element of a sequence and returns the
minimum TResult value.
A sequence of values to determine the minimum value of.
A transform function to apply to each element.
The type of the elements of source.
The type of the elements in result.
The minimum value in the sequence.
source or selector is null.
source contains no elements.
Returns the minimum value in a sequence of System.Decimal values.
A sequence of System.Decimal values to determine the minimum value of.
The minimum value in the sequence.
source is null.
source contains no elements.
Returns the minimum value in a sequence of System.Decimal values.
A sequence of System.Decimal values to determine the minimum value of.
The minimum value in the sequence.
source is null.
source contains no elements.
Returns the minimum value in a sequence of nullable System.Double values.
A sequence of nullable System.Double values to determine the minimum value
of.
A value of type Nullable<Double> in C# or Nullable(Of Double) in Visual Basic
that corresponds to the minimum value in the sequence.
source is null.
Bridge.NET has no mapping for this in JavaScript.
Returns the minimum value in a sequence of nullable System.Double values.
A sequence of nullable System.Double values to determine the minimum value
of.
A value of type Nullable<Double> in C# or Nullable(Of Double) in Visual Basic
that corresponds to the minimum value in the sequence.
source is null.
Bridge.NET has no mapping for this in JavaScript.
Returns the minimum value in a sequence of System.Double values.
A sequence of System.Double values to determine the minimum value of.
The minimum value in the sequence.
source is null.
source contains no elements.
Returns the minimum value in a sequence of System.Double values.
A sequence of System.Double values to determine the minimum value of.
The minimum value in the sequence.
source is null.
source contains no elements.
Returns the minimum value in a sequence of nullable System.Single values.
A sequence of nullable System.Single values to determine the minimum value
of.
A value of type Nullable<Single> in C# or Nullable(Of Single) in Visual Basic
that corresponds to the minimum value in the sequence.
source is null.
Bridge.NET has no mapping for this in JavaScript.
Returns the minimum value in a sequence of nullable System.Single values.
A sequence of nullable System.Single values to determine the minimum value
of.
A value of type Nullable<Single> in C# or Nullable(Of Single) in Visual Basic
that corresponds to the minimum value in the sequence.
source is null.
Bridge.NET has no mapping for this in JavaScript.
Returns the minimum value in a sequence of System.Single values.
A sequence of System.Single values to determine the minimum value of.
The minimum value in the sequence.
source is null.
source contains no elements.
Returns the minimum value in a sequence of System.Single values.
A sequence of System.Single values to determine the minimum value of.
The minimum value in the sequence.
source is null.
source contains no elements.
Returns the minimum value in a sequence of nullable System.Int32 values.
A sequence of nullable System.Int32 values to determine the minimum value
of.
A value of type Nullable<Int32> in C# or Nullable(Of Int32) in Visual Basic
that corresponds to the minimum value in the sequence.
source is null.
Bridge.NET has no mapping for this in JavaScript.
Returns the minimum value in a sequence of nullable System.Int32 values.
A sequence of nullable System.Int32 values to determine the minimum value
of.
A value of type Nullable<Int32> in C# or Nullable(Of Int32) in Visual Basic
that corresponds to the minimum value in the sequence.
source is null.
Bridge.NET has no mapping for this in JavaScript.
Returns the minimum value in a sequence of System.Int32 values.
A sequence of System.Int32 values to determine the minimum value of.
The minimum value in the sequence.
source is null.
source contains no elements.
Returns the minimum value in a sequence of System.Int32 values.
A sequence of System.Int32 values to determine the minimum value of.
The minimum value in the sequence.
source is null.
source contains no elements.
Returns the minimum value in a sequence of nullable System.Int64 values.
A sequence of nullable System.Int64 values to determine the minimum value
of.
A value of type Nullable<Int64> in C# or Nullable(Of Int64) in Visual Basic
that corresponds to the minimum value in the sequence.
source is null.
Bridge.NET has no mapping for this in JavaScript.
Returns the minimum value in a sequence of nullable System.Int64 values.
A sequence of nullable System.Int64 values to determine the minimum value
of.
A value of type Nullable<Int64> in C# or Nullable(Of Int64) in Visual Basic
that corresponds to the minimum value in the sequence.
source is null.
Bridge.NET has no mapping for this in JavaScript.
Returns the minimum value in a sequence of System.Int64 values.
A sequence of System.Int64 values to determine the minimum value of.
The minimum value in the sequence.
source is null.
source contains no elements.
Returns the minimum value in a sequence of System.Int64 values.
A sequence of System.Int64 values to determine the minimum value of.
The minimum value in the sequence.
source is null.
source contains no elements.
Invokes a transform function on each element of a sequence and returns the
minimum nullable System.Decimal value.
A sequence of values to determine the minimum value of.
A transform function to apply to each element.
The type of the elements of source.
The value of type Nullable<Decimal> in C# or Nullable(Of Decimal) in Visual
Basic that corresponds to the minimum value in the sequence.
source or selector is null.
Bridge.NET has no mapping for this in JavaScript.
Invokes a transform function on each element of a sequence and returns the
minimum System.Decimal value.
A sequence of values to determine the minimum value of.
A transform function to apply to each element.
The type of the elements of source.
The minimum value in the sequence.
source or selector is null.
source contains no elements.
Invokes a transform function on each element of a sequence and returns the
minimum nullable System.Double value.
A sequence of values to determine the minimum value of.
A transform function to apply to each element.
The type of the elements of source.
The value of type Nullable<Double> in C# or Nullable(Of Double) in Visual
Basic that corresponds to the minimum value in the sequence.
source or selector is null.
Bridge.NET has no mapping for this in JavaScript.
Invokes a transform function on each element of a sequence and returns the
minimum System.Double value.
A sequence of values to determine the minimum value of.
A transform function to apply to each element.
The type of the elements of source.
The minimum value in the sequence.
source or selector is null.
source contains no elements.
Invokes a transform function on each element of a sequence and returns the
minimum nullable System.Single value.
A sequence of values to determine the minimum value of.
A transform function to apply to each element.
The type of the elements of source.
The value of type Nullable<Single> in C# or Nullable(Of Single) in Visual
Basic that corresponds to the minimum value in the sequence.
source or selector is null.
Bridge.NET has no mapping for this in JavaScript.
Invokes a transform function on each element of a sequence and returns the
minimum System.Single value.
A sequence of values to determine the minimum value of.
A transform function to apply to each element.
The type of the elements of source.
The minimum value in the sequence.
source or selector is null.
source contains no elements.
Invokes a transform function on each element of a sequence and returns the
minimum nullable System.Int32 value.
A sequence of values to determine the minimum value of.
A transform function to apply to each element.
The type of the elements of source.
The value of type Nullable<Int32> in C# or Nullable(Of Int32) in Visual Basic
that corresponds to the minimum value in the sequence.
source or selector is null.
Bridge.NET has no mapping for this in JavaScript.
Invokes a transform function on each element of a sequence and returns the
minimum System.Int32 value.
A sequence of values to determine the minimum value of.
A transform function to apply to each element.
The type of the elements of source.
The minimum value in the sequence.
source or selector is null.
source contains no elements.
Invokes a transform function on each element of a sequence and returns the
minimum nullable System.Int64 value.
A sequence of values to determine the minimum value of.
A transform function to apply to each element.
The type of the elements of source.
The value of type Nullable<Int64> in C# or Nullable(Of Int64) in Visual Basic
that corresponds to the minimum value in the sequence.
source or selector is null.
Bridge.NET has no mapping for this in JavaScript.
Invokes a transform function on each element of a sequence and returns the
minimum System.Int64 value.
A sequence of values to determine the minimum value of.
A transform function to apply to each element.
The type of the elements of source.
The minimum value in the sequence.
source or selector is null.
source contains no elements.
Filters the elements of an System.Collections.IEnumerable based on a specified
type.
The System.Collections.IEnumerable whose elements to filter.
The type to filter the elements of the sequence on.
An System.Collections.Generic.IEnumerable<T> that contains elements from
the input sequence of type TResult.
source is null.
Sorts the elements of a sequence in ascending order according to a key.
A sequence of values to order.
A function to extract a key from an element.
The type of the elements of source.
The type of the key returned by keySelector.
An System.Linq.IOrderedEnumerable<TElement> whose elements are sorted according
to a key.
source or keySelector is null.
Sorts the elements of a sequence in ascending order by using a specified
comparer.
A sequence of values to order.
A function to extract a key from an element.
An System.Collections.Generic.IComparer<T> to compare keys.
The type of the elements of source.
The type of the key returned by keySelector.
An System.Linq.IOrderedEnumerable<TElement> whose elements are sorted according
to a key.
source or keySelector is null.
Sorts the elements of a sequence in descending order according to a key.
A sequence of values to order.
A function to extract a key from an element.
The type of the elements of source.
The type of the key returned by keySelector.
An System.Linq.IOrderedEnumerable<TElement> whose elements are sorted in
descending order according to a key.
source or keySelector is null.
Sorts the elements of a sequence in descending order by using a specified
comparer.
A sequence of values to order.
A function to extract a key from an element.
An System.Collections.Generic.IComparer<T> to compare keys.
The type of the elements of source.
The type of the key returned by keySelector.
An System.Linq.IOrderedEnumerable<TElement> whose elements are sorted in
descending order according to a key.
source or keySelector is null.
Generates a sequence of integral numbers within a specified range.
The value of the first integer in the sequence.
The number of sequential integers to generate.
An IEnumerable<Int32> in C# or IEnumerable(Of Int32) in Visual Basic that
contains a range of sequential integral numbers.
count is less than 0.-or-start + count -1 is larger than System.Int32.MaxValue.
Generates a sequence that contains one repeated value.
The value to be repeated.
The number of times to repeat the value in the generated sequence.
The type of the value to be repeated in the result sequence.
An System.Collections.Generic.IEnumerable<T> that contains a repeated value.
count is less than 0.
Inverts the order of the elements in a sequence.
A sequence of values to reverse.
The type of the elements of source.
A sequence whose elements correspond to those of the input sequence in reverse
order.
source is null.
Projects each element of a sequence into a new form by incorporating the
element's index.
A sequence of values to invoke a transform function on.
A transform function to apply to each source element; the second parameter
of the function represents the index of the source element.
The type of the elements of source.
The type of the value returned by selector.
An System.Collections.Generic.IEnumerable<T> whose elements are the result
of invoking the transform function on each element of source.
source or selector is null.
Projects each element of a sequence into a new form.
A sequence of values to invoke a transform function on.
A transform function to apply to each element.
The type of the elements of source.
The type of the value returned by selector.
An System.Collections.Generic.IEnumerable<T> whose elements are the result
of invoking the transform function on each element of source.
source or selector is null.
Projects each element of a sequence to an System.Collections.Generic.IEnumerable<T>
and flattens the resulting sequences into one sequence.
A sequence of values to project.
A transform function to apply to each element.
The type of the elements of source.
The type of the elements of the sequence returned by selector.
An System.Collections.Generic.IEnumerable<T> whose elements are the result
of invoking the one-to-many transform function on each element of the input
sequence.
source or selector is null.
Projects each element of a sequence to an System.Collections.Generic.IEnumerable<T>,
and flattens the resulting sequences into one sequence. The index of each
source element is used in the projected form of that element.
A sequence of values to project.
A transform function to apply to each source element; the second parameter
of the function represents the index of the source element.
The type of the elements of source.
The type of the elements of the sequence returned by selector.
An System.Collections.Generic.IEnumerable<T> whose elements are the result
of invoking the one-to-many transform function on each element of an input
sequence.
source or selector is null.
Projects each element of a sequence to an System.Collections.Generic.IEnumerable<T>,
flattens the resulting sequences into one sequence, and invokes a result
selector function on each element therein.
A sequence of values to project.
A transform function to apply to each element of the input sequence.
A transform function to apply to each element of the intermediate sequence.
The type of the elements of source.
The type of the intermediate elements collected by collectionSelector.
The type of the elements of the resulting sequence.
An System.Collections.Generic.IEnumerable<T> whose elements are the result
of invoking the one-to-many transform function collectionSelector on each
element of source and then mapping each of those sequence elements and their
corresponding source element to a result element.
source or collectionSelector or resultSelector is null.
Projects each element of a sequence to an System.Collections.Generic.IEnumerable<T>,
flattens the resulting sequences into one sequence, and invokes a result
selector function on each element therein. The index of each source element
is used in the intermediate projected form of that element.
A sequence of values to project.
A transform function to apply to each source element; the second parameter
of the function represents the index of the source element.
A transform function to apply to each element of the intermediate sequence.
The type of the elements of source.
The type of the intermediate elements collected by collectionSelector.
The type of the elements of the resulting sequence.
An System.Collections.Generic.IEnumerable<T> whose elements are the result
of invoking the one-to-many transform function collectionSelector on each
element of source and then mapping each of those sequence elements and their
corresponding source element to a result element.
source or collectionSelector or resultSelector is null.
Determines whether two sequences are equal by comparing the elements by using
the default equality comparer for their type.
An System.Collections.Generic.IEnumerable<T> to compare to second.
An System.Collections.Generic.IEnumerable<T> to compare to the first sequence.
The type of the elements of the input sequences.
true if the two source sequences are of equal length and their corresponding
elements are equal according to the default equality comparer for their type;
otherwise, false.
first or second is null.
Determines whether two sequences are equal by comparing their elements by
using a specified System.Collections.Generic.IEqualityComparer<T>.
An System.Collections.Generic.IEnumerable<T> to compare to second.
An System.Collections.Generic.IEnumerable<T> to compare to the first sequence.
An System.Collections.Generic.IEqualityComparer<T> to use to compare elements.
The type of the elements of the input sequences.
true if the two source sequences are of equal length and their corresponding
elements compare equal according to comparer; otherwise, false.
first or second is null.
Returns the only element of a sequence, and throws an exception if there
is not exactly one element in the sequence.
An System.Collections.Generic.IEnumerable<T> to return the single element
of.
The type of the elements of source.
The single element of the input sequence.
source is null.
The input sequence contains more than one element.-or-The input sequence
is empty.
Returns the only element of a sequence that satisfies a specified condition,
and throws an exception if more than one such element exists.
An System.Collections.Generic.IEnumerable<T> to return a single element from.
A function to test an element for a condition.
The type of the elements of source.
The single element of the input sequence that satisfies a condition.
source or predicate is null.
No element satisfies the condition in predicate.-or-More than one element
satisfies the condition in predicate.-or-The source sequence is empty.
Returns the only element of a sequence, or a default value if the sequence
is empty; this method throws an exception if there is more than one element
in the sequence.
An System.Collections.Generic.IEnumerable<T> to return the single element
of.
The type of the elements of source.
The single element of the input sequence, or default(TSource) if the sequence
contains no elements.
source is null.
The input sequence contains more than one element.
Returns the only element of a sequence that satisfies a specified condition
or a default value if no such element exists; this method throws an exception
if more than one element satisfies the condition.
An System.Collections.Generic.IEnumerable<T> to return a single element from.
A function to test an element for a condition.
The type of the elements of source.
The single element of the input sequence that satisfies the condition, or
default(TSource) if no such element is found.
source or predicate is null.
Bypasses a specified number of elements in a sequence and then returns the
remaining elements.
An System.Collections.Generic.IEnumerable<T> to return elements from.
The number of elements to skip before returning the remaining elements.
The type of the elements of source.
An System.Collections.Generic.IEnumerable<T> that contains the elements that
occur after the specified index in the input sequence.
source is null.
Bypasses elements in a sequence as long as a specified condition is true
and then returns the remaining elements.
An System.Collections.Generic.IEnumerable<T> to return elements from.
A function to test each element for a condition.
The type of the elements of source.
An System.Collections.Generic.IEnumerable<T> that contains the elements from
the input sequence starting at the first element in the linear series that
does not pass the test specified by predicate.
source or predicate is null.
Bypasses elements in a sequence as long as a specified condition is true
and then returns the remaining elements. The element's index is used in the
logic of the predicate function.
An System.Collections.Generic.IEnumerable<T> to return elements from.
A function to test each source element for a condition; the second parameter
of the function represents the index of the source element.
The type of the elements of source.
An System.Collections.Generic.IEnumerable<T> that contains the elements from
the input sequence starting at the first element in the linear series that
does not pass the test specified by predicate.
source or predicate is null.
Computes the sum of a sequence of nullable System.Decimal values.
A sequence of nullable System.Decimal values to calculate the sum of.
The sum of the values in the sequence.
source is null.
The sum is larger than System.Decimal.MaxValue.
Bridge.NET has no mapping for this in JavaScript.
Computes the sum of a sequence of nullable System.Decimal values.
A sequence of nullable System.Decimal values to calculate the sum of.
The sum of the values in the sequence.
source is null.
The sum is larger than System.Decimal.MaxValue.
Bridge.NET has no mapping for this in JavaScript.
Computes the sum of a sequence of System.Decimal values.
A sequence of System.Decimal values to calculate the sum of.
The sum of the values in the sequence.
source is null.
The sum is larger than System.Decimal.MaxValue.
Computes the sum of a sequence of System.Decimal values.
A sequence of System.Decimal values to calculate the sum of.
The sum of the values in the sequence.
source is null.
The sum is larger than System.Decimal.MaxValue.
Computes the sum of a sequence of nullable System.Double values.
A sequence of nullable System.Double values to calculate the sum of.
The sum of the values in the sequence.
source is null.
Bridge.NET has no mapping for this in JavaScript.
Computes the sum of a sequence of nullable System.Double values.
A sequence of nullable System.Double values to calculate the sum of.
The sum of the values in the sequence.
source is null.
Bridge.NET has no mapping for this in JavaScript.
Computes the sum of a sequence of System.Double values.
A sequence of System.Double values to calculate the sum of.
The sum of the values in the sequence.
source is null.
Computes the sum of a sequence of System.Double values.
A sequence of System.Double values to calculate the sum of.
The sum of the values in the sequence.
source is null.
Computes the sum of a sequence of nullable System.Single values.
A sequence of nullable System.Single values to calculate the sum of.
The sum of the values in the sequence.
source is null.
Bridge.NET has no mapping for this in JavaScript.
Computes the sum of a sequence of nullable System.Single values.
A sequence of nullable System.Single values to calculate the sum of.
The sum of the values in the sequence.
source is null.
Bridge.NET has no mapping for this in JavaScript.
Computes the sum of a sequence of System.Single values.
A sequence of System.Single values to calculate the sum of.
The sum of the values in the sequence.
source is null.
Computes the sum of a sequence of System.Single values.
A sequence of System.Single values to calculate the sum of.
The sum of the values in the sequence.
source is null.
Computes the sum of a sequence of nullable System.Int32 values.
A sequence of nullable System.Int32 values to calculate the sum of.
The sum of the values in the sequence.
source is null.
The sum is larger than System.Int32.MaxValue.
Bridge.NET has no mapping for this in JavaScript.
Computes the sum of a sequence of nullable System.Int32 values.
A sequence of nullable System.Int32 values to calculate the sum of.
The sum of the values in the sequence.
source is null.
The sum is larger than System.Int32.MaxValue.
Bridge.NET has no mapping for this in JavaScript.
Computes the sum of a sequence of System.Int32 values.
A sequence of System.Int32 values to calculate the sum of.
The sum of the values in the sequence.
source is null.
The sum is larger than System.Int32.MaxValue.
Computes the sum of a sequence of System.Int32 values.
A sequence of System.Int32 values to calculate the sum of.
The sum of the values in the sequence.
source is null.
The sum is larger than System.Int32.MaxValue.
Computes the sum of a sequence of nullable System.Int64 values.
A sequence of nullable System.Int64 values to calculate the sum of.
The sum of the values in the sequence.
source is null.
The sum is larger than System.Int64.MaxValue.
Bridge.NET has no mapping for this in JavaScript.
Computes the sum of a sequence of nullable System.Int64 values.
A sequence of nullable System.Int64 values to calculate the sum of.
The sum of the values in the sequence.
source is null.
The sum is larger than System.Int64.MaxValue.
Bridge.NET has no mapping for this in JavaScript.
Computes the sum of a sequence of System.Int64 values.
A sequence of System.Int64 values to calculate the sum of.
The sum of the values in the sequence.
source is null.
The sum is larger than System.Int64.MaxValue.
Computes the sum of a sequence of System.Int64 values.
A sequence of System.Int64 values to calculate the sum of.
The sum of the values in the sequence.
source is null.
The sum is larger than System.Int64.MaxValue.
Computes the sum of the sequence of nullable System.Decimal 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 sum.
A transform function to apply to each element.
The type of the elements of source.
The sum of the projected values.
source or selector is null.
The sum is larger than System.Decimal.MaxValue.
Bridge.NET has no mapping for this in JavaScript.
Computes the sum of the sequence of System.Decimal 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 sum.
A transform function to apply to each element.
The type of the elements of source.
The sum of the projected values.
source or selector is null.
The sum is larger than System.Decimal.MaxValue.
Computes the sum of the sequence of nullable System.Double 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 sum.
A transform function to apply to each element.
The type of the elements of source.
The sum of the projected values.
source or selector is null.
Bridge.NET has no mapping for this in JavaScript.
Computes the sum of the sequence of System.Double 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 sum.
A transform function to apply to each element.
The type of the elements of source.
The sum of the projected values.
source or selector is null.
Computes the sum of the sequence of nullable System.Single 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 sum.
A transform function to apply to each element.
The type of the elements of source.
The sum of the projected values.
source or selector is null.
Bridge.NET has no mapping for this in JavaScript.
Computes the sum of the sequence of System.Single 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 sum.
A transform function to apply to each element.
The type of the elements of source.
The sum of the projected values.
source or selector is null.
Computes the sum of the sequence of nullable System.Int32 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 sum.
A transform function to apply to each element.
The type of the elements of source.
The sum of the projected values.
source or selector is null.
The sum is larger than System.Int32.MaxValue.
Bridge.NET has no mapping for this in JavaScript.
Computes the sum of the sequence of System.Int32 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 sum.
A transform function to apply to each element.
The type of the elements of source.
The sum of the projected values.
source or selector is null.
The sum is larger than System.Int32.MaxValue.
Computes the sum of the sequence of nullable System.Int64 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 sum.
A transform function to apply to each element.
The type of the elements of source.
The sum of the projected values.
source or selector is null.
The sum is larger than System.Int64.MaxValue.
Bridge.NET has no mapping for this in JavaScript.
Computes the sum of the sequence of System.Int64 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 sum.
A transform function to apply to each element.
The type of the elements of source.
The sum of the projected values.
source or selector is null.
The sum is larger than System.Int64.MaxValue.
Returns a specified number of contiguous elements from the start of a sequence.
The sequence to return elements from.
The number of elements to return.
The type of the elements of source.
An System.Collections.Generic.IEnumerable<T> that contains the specified
number of elements from the start of the input sequence.
source is null.
Returns elements from a sequence as long as a specified condition is true.
A sequence to return elements from.
A function to test each element for a condition.
The type of the elements of source.
An System.Collections.Generic.IEnumerable<T> that contains the elements from
the input sequence that occur before the element at which the test no longer
passes.
source or predicate is null.
Returns elements from a sequence as long as a specified condition is true.
The element's index is used in the logic of the predicate function.
The sequence to return elements from.
A function to test each source element for a condition; the second parameter
of the function represents the index of the source element.
The type of the elements of source.
An System.Collections.Generic.IEnumerable<T> that contains elements from
the input sequence that occur before the element at which the test no longer
passes.
source or predicate is null.
Performs a subsequent ordering of the elements in a sequence in ascending
order according to a key.
An System.Linq.IOrderedEnumerable<TElement> that contains elements to sort.
A function to extract a key from each element.
The type of the elements of source.
The type of the key returned by keySelector.
An System.Linq.IOrderedEnumerable<TElement> whose elements are sorted according
to a key.
source or keySelector is null.
Bridge.NET has no mapping for this in JavaScript.
Performs a subsequent ordering of the elements in a sequence in ascending
order by using a specified comparer.
An System.Linq.IOrderedEnumerable<TElement> that contains elements to sort.
A function to extract a key from each element.
An System.Collections.Generic.IComparer<T> to compare keys.
The type of the elements of source.
The type of the key returned by keySelector.
An System.Linq.IOrderedEnumerable<TElement> whose elements are sorted according
to a key.
source or keySelector is null.
Bridge.NET has no mapping for this in JavaScript.
Performs a subsequent ordering of the elements in a sequence in descending
order, according to a key.
An System.Linq.IOrderedEnumerable<TElement> that contains elements to sort.
A function to extract a key from each element.
The type of the elements of source.
The type of the key returned by keySelector.
An System.Linq.IOrderedEnumerable<TElement> whose elements are sorted in
descending order according to a key.
source or keySelector is null.
Bridge.NET has no mapping for this in JavaScript.
Performs a subsequent ordering of the elements in a sequence in descending
order by using a specified comparer.
An System.Linq.IOrderedEnumerable<TElement> that contains elements to sort.
A function to extract a key from each element.
An System.Collections.Generic.IComparer<T> to compare keys.
The type of the elements of source.
The type of the key returned by keySelector.
An System.Linq.IOrderedEnumerable<TElement> whose elements are sorted in
descending order according to a key.
source or keySelector is null.
Bridge.NET has no mapping for this in JavaScript.
Creates an array from a System.Collections.Generic.IEnumerable<T>.
An System.Collections.Generic.IEnumerable<T> to create an array from.
The type of the elements of source.
An array that contains the elements from the input sequence.
source is null.
Creates a System.Collections.Generic.Dictionary<TKey,TValue> from an System.Collections.Generic.IEnumerable<T>
according to a specified key selector function.
An System.Collections.Generic.IEnumerable<T> to create a System.Collections.Generic.Dictionary<TKey,TValue>
from.
A function to extract a key from each element.
The type of the elements of source.
The type of the key returned by keySelector.
A System.Collections.Generic.Dictionary<TKey,TValue> that contains keys and
values.
source or keySelector is null.-or-keySelector produces a key that is null.
keySelector produces duplicate keys for two elements.
Creates a System.Collections.Generic.Dictionary<TKey,TValue> from an System.Collections.Generic.IEnumerable<T>
according to specified key selector and element selector functions.
An System.Collections.Generic.IEnumerable<T> to create a System.Collections.Generic.Dictionary<TKey,TValue>
from.
A function to extract a key from each element.
A transform function to produce a result element value from each element.
The type of the elements of source.
The type of the key returned by keySelector.
The type of the value returned by elementSelector.
A System.Collections.Generic.Dictionary<TKey,TValue> that contains values
of type TElement selected from the input sequence.
source or keySelector or elementSelector is null.-or-keySelector produces
a key that is null.
keySelector produces duplicate keys for two elements.
Creates a System.Collections.Generic.Dictionary<TKey,TValue> from an System.Collections.Generic.IEnumerable<T>
according to a specified key selector function and key comparer.
An System.Collections.Generic.IEnumerable<T> to create a System.Collections.Generic.Dictionary<TKey,TValue>
from.
A function to extract a key from each element.
An System.Collections.Generic.IEqualityComparer<T> to compare keys.
The type of the elements of source.
The type of the keys returned by keySelector.
A System.Collections.Generic.Dictionary<TKey,TValue> that contains keys and
values.
source or keySelector is null.-or-keySelector produces a key that is null.
keySelector produces duplicate keys for two elements.
Creates a System.Collections.Generic.Dictionary<TKey,TValue> from an System.Collections.Generic.IEnumerable<T>
according to a specified key selector function, a comparer, and an element
selector function.
An System.Collections.Generic.IEnumerable<T> to create a System.Collections.Generic.Dictionary<TKey,TValue>
from.
A function to extract a key from each element.
A transform function to produce a result element value from each element.
An System.Collections.Generic.IEqualityComparer<T> to compare keys.
The type of the elements of source.
The type of the key returned by keySelector.
The type of the value returned by elementSelector.
A System.Collections.Generic.Dictionary<TKey,TValue> that contains values
of type TElement selected from the input sequence.
source or keySelector or elementSelector is null.-or-keySelector produces
a key that is null.
keySelector produces duplicate keys for two elements.
Creates a System.Collections.Generic.List<T> from an System.Collections.Generic.IEnumerable<T>.
The System.Collections.Generic.IEnumerable<T> to create a System.Collections.Generic.List<T>
from.
The type of the elements of source.
A System.Collections.Generic.List<T> that contains elements from the input
sequence.
source is null.
Creates a System.Linq.Lookup<TKey,TElement> from an System.Collections.Generic.IEnumerable<T>
according to a specified key selector function.
The System.Collections.Generic.IEnumerable<T> to create a System.Linq.Lookup<TKey,TElement>
from.
A function to extract a key from each element.
The type of the elements of source.
The type of the key returned by keySelector.
A System.Linq.Lookup<TKey,TElement> that contains keys and values.
source or keySelector is null.
Creates a System.Linq.Lookup<TKey,TElement> from an System.Collections.Generic.IEnumerable<T>
according to specified key selector and element selector functions.
The System.Collections.Generic.IEnumerable<T> to create a System.Linq.Lookup<TKey,TElement>
from.
A function to extract a key from each element.
A transform function to produce a result element value from each element.
The type of the elements of source.
The type of the key returned by keySelector.
The type of the value returned by elementSelector.
A System.Linq.Lookup<TKey,TElement> that contains values of type TElement
selected from the input sequence.
source or keySelector or elementSelector is null.
Creates a System.Linq.Lookup<TKey,TElement> from an System.Collections.Generic.IEnumerable<T>
according to a specified key selector function and key comparer.
The System.Collections.Generic.IEnumerable<T> to create a System.Linq.Lookup<TKey,TElement>
from.
A function to extract a key from each element.
An System.Collections.Generic.IEqualityComparer<T> to compare keys.
The type of the elements of source.
The type of the key returned by keySelector.
A System.Linq.Lookup<TKey,TElement> that contains keys and values.
source or keySelector is null.
Creates a System.Linq.Lookup<TKey,TElement> from an System.Collections.Generic.IEnumerable<T>
according to a specified key selector function, a comparer and an element
selector function.
The System.Collections.Generic.IEnumerable<T> to create a System.Linq.Lookup<TKey,TElement>
from.
A function to extract a key from each element.
A transform function to produce a result element value from each element.
An System.Collections.Generic.IEqualityComparer<T> to compare keys.
The type of the elements of source.
The type of the key returned by keySelector.
The type of the value returned by elementSelector.
A System.Linq.Lookup<TKey,TElement> that contains values of type TElement
selected from the input sequence.
source or keySelector or elementSelector is null.
Produces the set union of two sequences by using the default equality comparer.
An System.Collections.Generic.IEnumerable<T> whose distinct elements form
the first set for the union.
An System.Collections.Generic.IEnumerable<T> whose distinct elements form
the second set for the union.
The type of the elements of the input sequences.
An System.Collections.Generic.IEnumerable<T> that contains the elements from
both input sequences, excluding duplicates.
first or second is null.
Produces the set union of two sequences by using a specified System.Collections.Generic.IEqualityComparer<T>.
An System.Collections.Generic.IEnumerable<T> whose distinct elements form
the first set for the union.
An System.Collections.Generic.IEnumerable<T> whose distinct elements form
the second set for the union.
The System.Collections.Generic.IEqualityComparer<T> to compare values.
The type of the elements of the input sequences.
An System.Collections.Generic.IEnumerable<T> that contains the elements from
both input sequences, excluding duplicates.
first or second is null.
Filters a sequence of values based on a predicate.
An System.Collections.Generic.IEnumerable<T> to filter.
A function to test each element for a condition.
The type of the elements of source.
An System.Collections.Generic.IEnumerable<T> that contains elements from
the input sequence that satisfy the condition.
source or predicate is null.
Filters a sequence of values based on a predicate. Each element's index is
used in the logic of the predicate function.
An System.Collections.Generic.IEnumerable<T> to filter.
A function to test each source element for a condition; the second parameter
of the function represents the index of the source element.
The type of the elements of source.
An System.Collections.Generic.IEnumerable<T> that contains elements from
the input sequence that satisfy the condition.
source or predicate is null.
Merges two sequences by using the specified predicate function.
The first sequence to merge.
The second sequence to merge.
A function that specifies how to merge the elements from the two sequences.
The type of the elements of the first input sequence.
The type of the elements of the second input sequence.
The type of the elements of the result sequence.
An System.Collections.Generic.IEnumerable<T> that contains merged elements
of two input sequences.
first or second is null.
A random number generator
Initializes a new instance of the Random class, using a time-dependent default seed value.
Initializes a new instance of the Random class, using the specified seed value.
A number used to calculate a starting value for the pseudo-random number sequence. If a negative number is specified, the absolute value of the number is used.
Returns a random floating-point number between 0.0 and 1.0.
Returns a non-negative random integer.
A 32-bit signed integer that is greater than or equal to 0 and less than Int32.MaxValue.
Returns a random integer that is within a specified range.
The inclusive lower bound of the random number returned.
The exclusive upper bound of the random number returned. maxValue must be greater than or equal to minValue.
A 32-bit signed integer greater than or equal to minValue and less than maxValue; that is, the range of return values includes minValue but not maxValue. If minValue equals maxValue, minValue is returned.
Returns a non-negative random integer that is less than the specified maximum.
The exclusive upper bound of the random number to be generated. maxValue must be greater than or equal to 0
A 32-bit signed integer that is greater than or equal to 0, and less than maxValue; that is, the range of return values ordinarily includes 0 but not maxValue. However, if maxValue equals 0, maxValue is returned.
Returns a random floating-point number that is greater than or equal to 0.0, and less than 1.0.
A double-precision floating point number that is greater than or equal to 0.0, and less than 1.0.
Fills the elements of a specified array of bytes with random numbers.
An array of bytes to contain random numbers.
Represents the standard input, output, and error streams for console applications.
result is a string containing the text entered by the user, or the value null.
ReadLine uses the native JavaScript prompt() to display a dialog with an optional message prompting the user to input some text.
text is a string of text to display to the user. This parameter is optional and can be omitted if there is nothing to show in the prompt window.
result is a string containing the text entered by the user, or the value null.
ReadLine uses the native JavaScript prompt() to dialog with an optional message prompting the user to input some text.
text is a string of text to display to the user. This parameter is optional and can be omitted if there is nothing to show in the prompt window.
value is a string containing the default value displayed in the text input field. It is an optional parameter. Note that in Internet Explorer 7 and 8, if you do not provide this parameter, the string "undefined" is the default value.
result is a string containing the text entered by the user, or the value null.
Read uses the native JavaScript prompt() to display a dialog with an optional message prompting the user to input some text.
result is a string containing the text entered by the user, or the value null.
Writes the text representation of the specified Boolean value to the standard output stream.
The value to write.
Writes the specified Unicode character value to the standard output stream.
The value to write.
Writes the text representation of the specified Decimal value to the standard output stream.
The value to write.
Writes the text representation of the specified double-precision floating-point value to the standard output stream.
The value to write.
Writes the text representation of the specified 32-bit signed integer value to the standard output stream.
The value to write.
Writes the text representation of the specified 64-bit signed integer value to the standard output stream.
The value to write.
Writes the text representation of the specified object to the standard output stream.
The value to write.
Writes the text representation of the specified single-precision floating-point value to the standard output stream.
The value to write.
Writes the specified string value to the standard output stream.
The value to write.
Writes the text representation of the specified object to the standard output stream using the specified format information.
A composite format string.
The first object to write using format.
Writes the text representation of the specified objects to the standard output stream using the specified format information.
A composite format string.
The first object to write using format.
The second object to write using format.
Writes the text representation of the specified objects to the standard output stream using the specified format information.
A composite format string.
The first object to write using format.
The second object to write using format.
The third object to write using format.
Writes the text representation of the specified objects and variable-length parameter list to the standard output stream using the specified format information.
A composite format string.
The first object to write using format.
The second object to write using format.
The third object to write using format.
The fourth object to write using format.
Writes the text representation of the specified array of objects to the standard output stream using the specified format information.
A composite format string.
An array of objects to write using format.
Writes the text representation of the specified 32-bit unsigned integer value to the standard output stream.
The value to write.
Writes the text representation of the specified 64-bit unsigned integer value to the standard output stream.
The value to write.
Writes the specified array of Unicode characters to the standard output stream.
An array of Unicode characters.
Writes the specified subarray of Unicode characters to the standard output stream.
An array of Unicode characters.
The starting position in buffer.
The number of characters to write.
Writes the current line terminator to the standard output stream.
Writes the text representation of the specified Boolean value, followed by the current line terminator, to the standard output stream.
The value to write.
Writes the specified Unicode character, followed by the current line terminator, value to the standard output stream.
The value to write.
Writes the text representation of the specified Decimal value, followed by the current line terminator, to the standard output stream.
The value to write.
Writes the text representation of the specified double-precision floating-point value, followed by the current line terminator, to the standard output stream.
The value to write.
Writes the text representation of the specified 32-bit signed integer value, followed by the current line terminator, to the standard output stream.
The value to write.
Writes the text representation of the specified 64-bit signed integer value, followed by the current line terminator, to the standard output stream.
The value to write.
Writes the text representation of the specified object, followed by the current line terminator, to the standard output stream.
The value to write.
Writes the text representation of the specified Type, followed by the current line terminator, to the standard output stream.
The value to write.
Writes the text representation of the specified single-precision floating-point value, followed by the current line terminator, to the standard output stream.
The value to write.
Writes the specified string value, followed by the current line terminator, to the standard output stream.
The value to write.
Writes the text representation of the specified object, followed by the current line terminator, to the standard output stream using the specified format information.
A composite format string.
The first object to write using format.
Writes the text representation of the specified objects, followed by the current line terminator, to the standard output stream using the specified format information.
A composite format string.
The first object to write using format.
The second object to write using format.
Writes the text representation of the specified objects, followed by the current line terminator, to the standard output stream using the specified format information.
A composite format string.
The first object to write using format.
The second object to write using format.
The third object to write using format.
Writes the text representation of the specified objects and variable-length parameter list, followed by the current line terminator, to the standard output stream using the specified format information.
A composite format string.
The first object to write using format.
The second object to write using format.
The third object to write using format.
The fourth object to write using format.
Writes the text representation of the specified array of objects, followed by the current line terminator, to the standard output stream using the specified format information.
A composite format string.
An array of objects to write using format.
Writes the text representation of the specified 32-bit unsigned integer value, followed by the current line terminator, to the standard output stream.
The value to write.
Writes the text representation of the specified 64-bit unsigned integer value, followed by the current line terminator, to the standard output stream.
The value to write.
Writes the specified array of Unicode characters, followed by the current line terminator, to the standard output stream.
An array of Unicode characters.
Writes the specified subarray of Unicode characters to the standard output stream.
An array of Unicode characters.
The starting position in buffer.
The number of characters to write.
Writes the text representation of the specified nullable decimal, followed by the current line terminator, to the standard output stream.
The value to write.
Clears the console buffer and corresponding console window of display information.
Represents a method that converts an object from one type to another type.
The type of object that is to be converted.
The type the input object is to be converted to.
The object to convert.
The TOutput that represents the converted TInput.
Specifies the location where an environment variable is stored or retrieved in a set or get operation.
Provides information about, and means to manipulate, the current environment and platform. This class cannot be inherited.
Some methods have Bridge implementation that differ from .Net.
Specifies enumerated constants used to retrieve directory paths to system special folders.
Specifies options to use for getting the path to a special folder.
A helper property to get global scope
Gets the command line for this process.
The Bridge implementation returns location.pathname + " " + location.search
Gets or sets the fully qualified path of the current working directory.
The Bridge implementation controls window.location.pathname.
Gets a unique identifier for the current managed thread.
The Bridge implementation returns zero.
Gets or sets the exit code of the process.
Gets a value that indicates whether the current application domain is being unloaded or the common language runtime (CLR) is shutting down.
The Bridge implementation returns false.
Determines whether the current operating system is a 64-bit operating system.
Determines whether the current process is a 64-bit process.
The Bridge implementation returns false.
Gets the NetBIOS name of this local computer.
The Bridge implementation returns an empty string.
Gets the newline string defined for this environment.
The Bridge implementation returns "\n".
The Bridge implementation returns null.
Gets the number of processors on the current machine.
The Bridge implementation returns navigator.hardwareConcurrency if exists, otherwise 1.
Gets current stack trace information.
Gets the fully qualified path of the system directory.
The Bridge implementation returns an empty string;
Gets the number of bytes in the operating system's memory page.
The Bridge implementation returns 1.
Gets the number of milliseconds elapsed since the system started.
The Bridge implementation returns the number of milliseconds elapsed since 1 January 1970 00:00:00 UTC.
Gets the network domain name associated with the current user.
The Bridge implementation returns an empty string;
Gets a value indicating whether the current process is running in user interactive mode.
The Bridge implementation returns true;
Gets the user name of the person who is currently logged on to the Windows operating system.
The Bridge implementation returns an empty string;
Gets a Version object that describes the major, minor, build, and revision numbers of the common language runtime.
The Bridge implementation returns Bridge Compiler version.
Gets the amount of physical memory mapped to the process context.
The Bridge implementation returns zero.
Terminates this process and returns an exit code to the operating system.
The Bridge implementation just sets ExitCode.
The exit code to return to the operating system. Use 0 (zero) to indicate that the process completed successfully.
Replaces the name of each environment variable embedded in the specified string with the string equivalent of the value of the variable, then returns the resulting string.
A string containing the names of zero or more environment variables. Each environment variable is quoted with the percent sign character (%).
A string with each environment variable replaced by its value.
Immediately terminates a process after writing a message to the Windows Application event log, and then includes the message in error reporting to Microsoft.
The Bridge implementation throws an exception with the message specified. Note it will run finally block if any.
A message that explains why the process was terminated, or null if no explanation is provided.
Immediately terminates a process after writing a message to the Windows Application event log, and then includes the message and exception information in error reporting to Microsoft.
The Bridge implementation throws an exception with the message specified. Note it will run finally block if any.
A message that explains why the process was terminated, or null if no explanation is provided.
An exception that represents the error that caused the termination. This is typically the exception in a catch block.
Returns a string array containing the command-line arguments for the current process.
The Bridge implementation returns location.pathname and query parameters.
Retrieves the value of an environment variable from the current process.
The name of the environment variable.
The value of the environment variable specified by variable, or null if the environment variable is not found.
Retrieves the value of an environment variable from the current process or from the Windows operating system registry key for the current user or local machine.
The name of an environment variable.
Ignored by Bridge. One of the EnvironmentVariableTarget values.
The Bridge implementation ignores target. The value of the environment variable specified by variable, or null if the environment variable is not found.
Retrieves all environment variable names and their values from the current process.
A dictionary that contains all environment variable names and their values; otherwise, an empty dictionary if no environment variables are found.
Retrieves all environment variable names and their values from the current process, or from the Windows operating system registry key for the current user or local machine.
One of the EnvironmentVariableTarget values.
The Bridge implementation ignores target. A dictionary that contains all environment variable names and their values; otherwise, an empty dictionary if no environment variables are found.
Gets the path to the system special folder that is identified by the specified enumeration.
An enumerated constant that identifies a system special folder.
The Bridge implementation returns an empty string.
Gets the path to the system special folder that is identified by the specified enumeration, and uses a specified option for accessing special folders.
An enumerated constant that identifies a system special folder.
Specifies options to use for accessing a special folder.
The Bridge implementation returns an empty string.
Returns an array of string containing the names of the logical drives on the current computer.
The Bridge implementation returns an empty string[].
Creates, modifies, or deletes an environment variable stored in the current process.
The name of an environment variable.
A value to assign to variable.
Creates, modifies, or deletes an environment variable stored in the current process or in the Windows operating system registry key reserved for the current user or local machine.
The name of an environment variable.
A value to assign to variable.
Ignored by Bridge. One of the enumeration values that specifies the location of the environment variable.
System.EventArgs is the base class for classes containing event data.
Represents an event with no event data.
Initializes a new instance of the System.EventArgs class.
Represents the method that will handle an event that has no event data.
The source of the event.
An System.EventArgs that contains no event data.
Represents the method that will handle an event.
The type of the event data generated by the event.
The source of the event.
An System.EventArgs that contains the event data.
Provides a client for connecting to WebSocket services.
Get the WebSocket state of the instance.
Gets the WebSocket options for the ClientWebSocket instance.
Gets the reason why the close handshake was initiated on ClientWebSocket instance.
Returns the optional description that describes why the close handshake
has been initiated by the remote endpoint.
Gets the supported WebSocket sub-protocol for the ClientWebSocket instance.
Connect to a WebSocket server as an asynchronous operation.
The URI of the WebSocket server to connect to.
IGNORED: Connection can't be interrupted in Javascript.
Send data on ClientWebSocket. Though this method has Async suffix, returned Task will
always be completed(i.e. you can't track sending progress), due to Javascript limitations.
The buffer containing the message to be sent.
Specifies whether the buffer is clear text or in a binary format.
IGNORED: You can't define end of WebSocket message in Javascript.
IGNORED: Send can't be interrupted in Javascript.
Close the ClientWebSocket instance as an asynchronous operation.
The WebSocket close status.
A description of the close status.
A cancellation token used to propagate notification that this operation should be canceled.
Only useful if you don't want to wait for closing response, as closing can't be interrupted once initiated.
Close the ClientWebSocket instance. Though this method has Async suffix, returned Task will
always be completed(i.e. you can't track sending progress), due to Javascript limitations.
The WebSocket close status.
A description of the close status.
IGNORED: Close can't be interrupted in Javascript.
Aborts the connection and cancels any pending IO operations.
Options to use with a object.
Adds a sub-protocol to be negotiated during the WebSocket connection handshake.
Represents well known WebSocket close codes as defined in section 11.7 of the WebSocket protocol spec.
An instance of this class represents the result of performing a single ReceiveAsync operation on a WebSocket.
Indicates the number of bytes that the WebSocket received.
Indicates whether the message has been received completely.
Indicates whether the current message is a UTF-8 message or a binary message.
Indicates the reason why the remote endpoint initiated the close handshake.
Returns the optional description that describes why the close handshake has been initiated by the remote endpoint.
Represents the method that defines a set of criteria and determines whether the specified object meets those criteria.
true if meets the criteria defined within the method represented by this delegate; otherwise, false.
The object to compare against the criteria defined within the method represented by this delegate.The type of the object to compare.This type parameter is contravariant. That is, you can use either the type you specified or any type that is less derived. For more information about covariance and contravariance, see Covariance and Contravariance in Generics.2
Specifies how mathematical rounding methods should process a number that is midway between two numbers.
Rounds away from zero
Rounds towards zero
Rounds towards Infinity
Rounds towards -Infinity
Rounds towards nearest neighbour. If equidistant, rounds away from zero
Rounds towards nearest neighbour. If equidistant, rounds towards zero
Rounds towards nearest neighbour. If equidistant, rounds towards even neighbour
Rounds towards nearest neighbour. If equidistant, rounds towards Infinity
Rounds towards nearest neighbour. If equidistant, rounds towards -Infinity
Gets the type from which the current Type directly inherits.
Gets a value indicating whether the current type is a generic type.
Gets a value indicating whether the Type is abstract and must be overridden.
Gets a value indicating whether the Type is declared sealed.
Gets the type that declares the current nested type or generic type parameter.
Gets a value indicating whether the current Type object represents a type whose definition is nested inside the definition of another type.
Gets the attributes associated with the Type.
Gets a value indicating whether the current Type object has type parameters that have not been replaced by specific types.
Gets a value indicating whether the current Type represents a type parameter in the definition of a generic type or method.
Returns an array of Type objects that represent the type arguments of a closed generic type or the type parameters of a generic type definition.
An array of Type objects that represent the type arguments of a generic type. Returns an empty array if the current type is not a generic type.
When overridden in a derived class, returns the Type of the object encompassed or referred to by the current array, pointer or reference type.
The Type of the object encompassed or referred to by the current array, pointer, or reference type, or null if the current Type is not an array or a pointer, or is not passed by reference, or represents a generic type or a type parameter in the definition of a generic type or generic method.
Gets a value indicating whether the current Type encompasses or refers to another type; that is, whether the current Type is an array, a pointer, or is passed by reference.
Returns a Type object representing a one-dimensional array of the current type, with a lower bound of zero.
A Type object representing a one-dimensional array of the current type, with a lower bound of zero.
Returns a Type object representing an array of the current type, with the specified number of dimensions.
The number of dimensions for the array. This number must be less than or equal to 32.
An object representing an array of the current type, with the specified number of dimensions.
Returns the names of the members of the current enumeration type.
An array that contains the names of the members of the enumeration.
Returns the name of the constant that has the specified value, for the current enumeration type.
The value whose name is to be retrieved.
The name of the member of the current enumeration type that has the specified value, or null if no such constant is found.
Returns an array of the values of the constants in the current enumeration type.
An array that contains the values. The elements of the array are sorted by the binary values (that is, the unsigned values) of the enumeration constants.
Returns the underlying type of the current enumeration type.
The underlying type of the current enumeration.
Gets a value indicating whether the Type is declared public.
Gets a value indicating whether the Type is not declared public.
Gets a value indicating whether a class is nested and declared public.
Gets a value indicating whether the Type is nested and declared private.
Gets a value indicating whether the Type is nested and visible only within its own family.
Gets a value indicating whether the Type is nested and visible only within its own assembly.
Provides an object representation of a uniform resource identifier (URI) and easy access to the parts of the URI.
Gets a value indicating whether the System.Array has a fixed size.
This property is always true for all arrays.
The indexOf() method returns the first index at which a given element can be found in the array, or -1 if it is not present.
The indexOf() method returns the first index at which a given element can be found in the array, or -1 if it is not present.
The lastIndexOf() method returns the last index at which a given element can be found in the array, or -1 if it is not present. The array is searched backwards, starting at fromIndex.
The lastIndexOf() method returns the last index at which a given element can be found in the array, or -1 if it is not present. The array is searched backwards, starting at fromIndex.
Creates a one-dimensional Array of the specified Type and length, with zero-based indexing.
The Type of the Array to create.
The size of the Array to create.
A new one-dimensional Array of the specified Type with the specified length, using zero-based indexing.
Creates a two-dimensional Array of the specified Type and dimension lengths, with zero-based indexing.
The Type of the Array to create.
The size of the first dimension of the Array to create.
The size of the second dimension of the Array to create.
A new two-dimensional Array of the specified Type with the specified length for each dimension, using zero-based indexing.
Creates a three-dimensional Array of the specified Type and dimension lengths, with zero-based indexing.
The Type of the Array to create.
The size of the first dimension of the Array to create.
The size of the second dimension of the Array to create.
The size of the third dimension of the Array to create.
A new three-dimensional Array of the specified Type with the specified length for each dimension, using zero-based indexing.
Creates a multidimensional Array of the specified Type and dimension lengths, with zero-based indexing. The dimension lengths are specified in an array of 32-bit integers.
The Type of the Array to create.
An array of 32-bit integers that represent the size of each dimension of the Array to create.
A new multidimensional Array of the specified Type with the specified length for each dimension, using zero-based indexing.
Gets an object that can be used to synchronize access to the System.Array.
An object that can be used to synchronize access to the System.Array.
Gets a value indicating whether access to the System.Array is synchronized (thread
safe).
This property is always false for all arrays.
Indicates whether the character at the specified position in a specified string is categorized as an uppercase letter.
A string.
The position of the character to evaluate in s.
true if the character at position index in s is an uppercase letter; otherwise, false.
Specifies the day of the week.
Indicates Sunday.
Indicates Monday.
Indicates Tuesday.
Indicates Wednesday.
Indicates Thursday.
Indicates Friday.
Indicates Saturday.
The decimal data type.
http://mikemcl.github.io/decimal.js/
Returns a new Decimal with a pseudo-random value equal to or greater than 0 and less than 1.
The return value will have dp decimal places (or less if trailing zeros are produced). If dp is omitted then the number of decimal places will default to the current precision setting.
Configures the 'global' settings for this particular Decimal constructor.
Default value: 20
The maximum number of significant digits of the result of a calculation or base conversion.
The default rounding mode used when rounding the result of a calculation or base conversion to precision significant digits, and when rounding the return value of the round, toDecimalPlaces, toExponential, toFixed, toFormat, toNearest, toPrecision and toSignificantDigits methods.
The negative exponent value at and below which toString returns exponential notation. Default value: -7
The positive exponent value at and above which toString returns exponential notation. Default value: 20
The negative exponent limit, i.e. the exponent value below which underflow to zero occurs. Default value: -9e15
The positive exponent limit, i.e. the exponent value above which overflow to Infinity occurs. Default value: 9e15
The value that determines whether Decimal Errors are thrown. If errors is false, this library will not throw errors.
The value that determines whether cryptographically-secure pseudo-random number generation is used. Default value: false
The modulo mode used when calculating the modulus: a mod n.
The format object configures the format of the string returned by the toFormat method.
the decimal separator
the grouping separator of the integer part of the number
the primary grouping size of the integer part of the number
the secondary grouping size of the integer part of the number
the grouping separator of the fraction part of the number
the grouping size of the fraction part of the number
Gets a collection of key/value pairs that provide additional user-defined information about the exception.
Gets a message that describes the current exception.
Gets the Exception instance that caused the current exception.
Retrieves the lowest exception (inner most) for the given Exception.
This will traverse exceptions using the innerException property.
The first exception thrown in a chain of exceptions. If the InnerException property of the current exception is a null reference
Gets a string representation of the immediate frames on the call stack.
Returns the larger of two 8-bit unsigned integers.
The first of two 8-bit unsigned integers to compare.
The second of two 8-bit unsigned integers to compare.
Parameter val1 or val2, whichever is larger.
Returns the larger of two 8-bit signed integers.
The first of two 8-bit signed integers to compare.
The second of two 8-bit signed integers to compare.
Parameter val1 or val2, whichever is larger.
Returns the larger of two 16-bit signed integers.
The first of two 16-bit signed integers to compare.
The second of two 16-bit signed integers to compare.
Parameter val1 or val2, whichever is larger.
Returns the larger of two 16-bit unsigned integers.
The first of two 16-bit unsigned integers to compare.
The second of two 16-bit unsigned integers to compare.
Parameter val1 or val2, whichever is larger.
Returns the larger of two single-precision floating-point numbers.
The first of two single-precision floating-point numbers to compare.
The second of two single-precision floating-point numbers to compare.
Parameter val1 or val2, whichever is larger.
Returns the larger of two 32-bit signed integers.
The first of two 32-bit signed integers to compare.
The second of two 32-bit signed integers to compare.
Parameter val1 or val2, whichever is larger.
Returns the larger of two 32-bit unsigned integers.
The first of two 32-bit unsigned integers to compare.
The second of two 32-bit unsigned integers to compare.
Parameter val1 or val2, whichever is larger.
Returns the larger of two double-precision floating-point numbers.
The first of two double-precision floating-point numbers to compare.
The second of two double-precision floating-point numbers to compare.
Parameter val1 or val2, whichever is larger.
Returns the larger of two 64-bit signed integers.
The first of two 64-bit signed integers to compare.
The second of two 64-bit signed integers to compare.
Parameter val1 or val2, whichever is larger.
Returns the larger of two 64-bit unsigned integers.
The first of two 64-bit unsigned integers to compare.
The second of two 64-bit unsigned integers to compare.
Parameter val1 or val2, whichever is larger.
Returns the larger of two decimal numbers.
The first of two decimal numbers to compare.
The second of two decimal numbers to compare.
Parameter val1 or val2, whichever is larger.
Returns the smaller of two 8-bit unsigned integers.
The first of two 8-bit unsigned integers to compare.
The second of two 8-bit unsigned integers to compare.
Parameter val1 or val2, whichever is smaller.
Returns the smaller of two 8-bit signed integers.
The first of two 8-bit signed integers to compare.
The second of two 8-bit signed integers to compare.
Parameter val1 or val2, whichever is smaller.
Returns the smaller of two 16-bit signed integers.
The first of two 16-bit signed integers to compare.
The second of two 16-bit signed integers to compare.
Parameter val1 or val2, whichever is smaller.
Returns the smaller of two 16-bit unsigned integers.
The first of two 16-bit unsigned integers to compare.
The second of two 16-bit unsigned integers to compare.
Parameter val1 or val2, whichever is smaller.
Returns the smaller of two single-precision floating-point numbers.
The first of two single-precision floating-point numbers to compare.
The second of two single-precision floating-point numbers to compare.
Parameter val1 or val2, whichever is smaller.
Returns the smaller of two 32-bit signed integers.
The first of two 32-bit signed integers to compare.
The second of two 32-bit signed integers to compare.
Parameter val1 or val2, whichever is smaller.
Returns the smaller of two 32-bit unsigned integers.
The first of two 32-bit unsigned integers to compare.
The second of two 32-bit unsigned integers to compare.
Parameter val1 or val2, whichever is smaller.
Returns the smaller of two double-precision floating-point numbers.
The first of two double-precision floating-point numbers to compare.
The second of two double-precision floating-point numbers to compare.
Parameter val1 or val2, whichever is smaller.
Returns the smaller of two 64-bit signed integers.
The first of two 64-bit signed integers to compare.
The second of two 64-bit signed integers to compare.
Parameter val1 or val2, whichever is smaller.
Returns the smaller of two 64-bit unsigned integers.
The first of two 64-bit unsigned integers to compare.
The second of two 64-bit unsigned integers to compare.
Parameter val1 or val2, whichever is smaller.
Returns the smaller of two decimal numbers.
The first of two decimal numbers to compare.
The second of two decimal numbers to compare.
Parameter val1 or val2, whichever is smaller.
The String global object is a constructor for strings, or a sequence of characters.
Gets the number of characters in the current String object.
Represents the empty string. This field is read-only.
The String global object is a constructor for strings, or a sequence of characters.
Constructs a string from the value indicated by a specified character repeated a specified number of times.
A character.
The number of times the character occurs.
Indicates whether the specified string is null or an Empty string.
The string to test.
true if the value parameter is null or an empty string (""); otherwise, false.
Indicates whether a specified string is null, empty, or consists only of white-space characters.
The string to test.
true if the value parameter is null or String.Empty, or if value consists exclusively of white-space characters.
Determines whether two specified String objects have the same value.
The first string to compare, or null.
The second string to compare, or null.
true if the value of a is the same as the value of b; otherwise, false. If both a and b are null, the method returns true.
Determines whether two specified String objects have the same value. A parameter specifies the culture, case, and sort rules used in the comparison.
The first string to compare, or null.
The second string to compare, or null.
One of the enumeration values that specifies the rules for the comparison.
true if the value of a is the same as the value of b; otherwise, false. If both a and b are null, the method returns true.
Determines whether this string and a specified String object have the same value. A parameter specifies the culture, case, and sort rules used in the comparison.
The string to compare to this instance.
One of the enumeration values that specifies how the strings will be compared.
true if the value of the value parameter is the same as this string; otherwise, false.
Determines whether this instance and another specified String object have the same value.
The string to compare to this instance.
true if the value of the value parameter is the same as this string; otherwise, false.
Concatenates the members of a constructed IEnumerable collection of type String.
A collection object that implements IEnumerable and whose generic type argument is String.
The concatenated strings in values, or String.Empty if values is an empty IEnumerable(Of String).
Concatenates two specified instances of String.
The first string to concatenate.
The second string to concatenate.
Concatenates two specified instances of String.
The first string to concatenate.
The second string to concatenate.
The third string to concatenate.
Concatenates two specified instances of String.
The first string to concatenate.
The second string to concatenate.
The third string to concatenate..
The fourth string to concatenate.
Concatenates the elements of a specified String array.
An array of string instances.
The concatenated elements of values.
Creates the string representation of a specified object.
The object to represent, or null.
The string representation of the value of arg0, or String.Empty if arg0 is null.
Concatenates the string representations of two specified objects.
The first object to concatenate.
The second object to concatenate.
The concatenated string representations of the values of arg0 and arg1.
The concat() method combines the text of two or more strings and returns a new string.
The first object to concatenate.
The second object to concatenate.
The third object to concatenate.
The concatenated string representations of the values of arg0, arg1, and arg2.
The concat() method combines the text of two or more strings and returns a new string.
The first object to concatenate.
The second object to concatenate.
The third object to concatenate.
The fourth object to concatenate.
The concatenated string representation of each value in the parameter list.
The concat() method combines the text of two or more strings and returns a new string.
The first object to concatenate.
The second object to concatenate.
The third object to concatenate.
The fourth object to concatenate.
An optional comma-delimited list of one or more additional objects to concatenate.
The concatenated string representation of each value in the parameter list.
Concatenates the string representations of the elements in a specified Object array.
An object array that contains the elements to concatenate.
The concatenated string representations of the values of the elements in args.
Concatenates the members of an IEnumerable<T> implementation.
The type of the members of values.
A collection object that implements the IEnumerable<T> interface.
The concatenated members in values.
Compares two specified String objects and returns an integer that indicates their relative position in the sort order.
The first string to compare.
The second string to compare.
A 32-bit signed integer that indicates the lexical relationship between the two comparands.
The compare() method compares two specified String objects, ignoring or honoring their case, and returns an integer that indicates their relative position in the sort order.
The first string to compare.
The second string to compare.
true to ignore case during the comparison; otherwise, false.
A 32-bit signed integer that indicates the lexical relationship between the two comparands.
Compares substrings of two specified String objects and returns an integer that indicates their relative position in the sort order.
The first string to compare.
The position of the substring within strA.
The second string to compare.
The position of the substring within strB.
The maximum number of characters in the substrings to compare.
A 32-bit signed integer indicating the lexical relationship between the two comparands.
The compare() method compares substrings of two specified String objects and returns an integer that indicates their relative position in the sort order.
The first string to compare.
The position of the substring within strA.
The second string to compare.
The position of the substring within strB.
The maximum number of characters in the substrings to compare.
true to ignore case during the comparison; otherwise, false.
A 32-bit signed integer that indicates the lexical relationship between the two comparands.
Compares two specified String objects using the specified rules, and returns an integer that indicates their relative position in the sort order.
The first string to compare.
The second string to compare.
One of the enumeration values that specifies the rules to use in the comparison.
A 32-bit signed integer that indicates the lexical relationship between the two comparands.
Compares two specified String objects, ignoring or honoring their case, and using culture-specific information to influence the comparison, and returns an integer that indicates their relative position in the sort order.
The first string to compare.
The second string to compare.
true to ignore case during the comparison; otherwise, false.
An object that supplies culture-specific comparison information.
A 32-bit signed integer that indicates the lexical relationship between the two comparands.
Compares substrings of two specified String objects using the specified rules, and returns an integer that indicates their relative position in the sort order.
The first string to use in the comparison.
The position of the substring within strA.
The second string to use in the comparison.
The position of the substring within strB.
The maximum number of characters in the substrings to compare.
One of the enumeration values that specifies the rules to use in the comparison.
A 32-bit signed integer that indicates the lexical relationship between the two comparands.
Compares substrings of two specified String objects, ignoring or honoring their case and using culture-specific information to influence the comparison, and returns an integer that indicates their relative position in the sort order.
The first string to use in the comparison.
The position of the substring within strA.
The second string to use in the comparison.
The position of the substring within strB.
The maximum number of characters in the substrings to compare.
true to ignore case during the comparison; otherwise, false.
An object that supplies culture-specific comparison information.
An integer that indicates the lexical relationship between the two comparands.
Reports the zero-based index of the first occurrence of the specified Unicode character in this string.
A Unicode character to seek.
The zero-based index position of value if that character is found, or -1 if it is not.
Reports the zero-based index of the first occurrence of the specified Unicode character in this string. The search starts at a specified character position.
A Unicode character to seek.
The search starting position.
The zero-based index position of value from the start of the string if that character is found, or -1 if it is not.
Reports the zero-based index of the first occurrence of the specified string in this instance.
The string to seek.
The zero-based index position of value if that string is found, or -1 if it is not. If value is String.Empty, the return value is 0.
Reports the zero-based index of the first occurrence of the specified string in this instance. The search starts at a specified character position.
The string to seek.
The search starting position.
The zero-based index position of value from the start of the current instance if that string is found, or -1 if it is not. If value is String.Empty, the return value is startIndex.
Reports the zero-based index of the first occurrence of the specified string in this instance. The search starts at a specified character position and examines a specified number of character positions.
The string to seek.
The search starting position.
The number of character positions to examine.
The indexOf() method returns the index within the calling String object of the first occurrence of the specified value. The search starts at a specified character position and
examines a specified number of character positions. Returns -1 if the value is not found.
A string representing the value to search for.
The location within the calling string to start the search from.
The number of character positions to examine.
Reports the zero-based index of the first occurrence of the specified string in the current String object. A parameter specifies the type of search to use for the specified string.
The string to seek.
One of the enumeration values that specifies the rules for the search.
The index position of the value parameter if that string is found, or -1 if it is not. If value is Empty, the return value is 0.
Reports the zero-based index of the first occurrence of the specified string in the current String object. Parameters specify the starting search position in the current string and the type of search to use for the specified string.
The string to seek.
The search starting position.
One of the enumeration values that specifies the rules for the search.
The zero-based index position of the value parameter from the start of the current instance if that string is found, or -1 if it is not. If value is Empty, the return value is startIndex.
Reports the zero-based index of the first occurrence of the specified string in the current String object. Parameters specify the starting search position in the current string, the number of characters in the current string to search, and the type of search to use for the specified string.
The string to seek.
The search starting position.
The number of character positions to examine.
One of the enumeration values that specifies the rules for the search.
The zero-based index position of the value parameter from the start of the current instance if that string is found, or -1 if it is not. If value is Empty, the return value is startIndex.
Reports the zero-based index position of the last occurrence of a specified Unicode character within this instance.
The Unicode character to seek.
The zero-based index position of value if that character is found, or -1 if it is not.
Reports the zero-based index position of the last occurrence of a specified Unicode character within this instance. The search starts at a specified character position and proceeds backward toward the beginning of the string.
The Unicode character to seek.
The starting position of the search. The search proceeds from startIndex toward the beginning of this instance.
The zero-based index position of value if that character is found, or -1 if it is not found or if the current instance equals String.Empty.
Reports the zero-based index position of the last occurrence of the specified Unicode character in a substring within this instance. The search starts at a specified character position and proceeds backward toward the beginning of the string for a specified number of character positions.
The Unicode character to seek.
The starting position of the search. The search proceeds from startIndex toward the beginning of this instance.
The number of character positions to examine.
The zero-based index position of value if that character is found, or -1 if it is not found or if the current instance equals String.Empty.
Reports the zero-based index position of the last occurrence of a specified string within this instance.
The string to seek.
The zero-based starting index position of value if that string is found, or -1 if it is not. If value is String.Empty, the return value is the last index position in this instance.
Reports the zero-based index position of the last occurrence of a specified string within this instance. The search starts at a specified character position and proceeds backward toward the beginning of the string.
The string to seek.
The search starting position. The search proceeds from startIndex toward the beginning of this instance.
The zero-based starting index position of value if that string is found, or -1 if it is not found or if the current instance equals String.Empty. If value is String.Empty, the return value is the smaller of startIndex and the last index position in this instance.
Reports the zero-based index position of the last occurrence of a specified string within this instance. The search starts at a specified character position and proceeds backward toward the beginning of the string for a specified number of character positions.
The string to seek.
The search starting position. The search proceeds from startIndex toward the beginning of this instance.
The number of character positions to examine.
The zero-based starting index position of value if that string is found, or -1 if it is not found or if the current instance equals String.Empty. If value is Empty, the return value is the smaller of startIndex and the last index position in this instance.
Reports the zero-based index position of the last occurrence in this instance of one or more characters specified in a Unicode array.
A Unicode character array containing one or more characters to seek.
The index position of the last occurrence in this instance where any character in anyOf was found; -1 if no character in anyOf was found.
Reports the zero-based index position of the last occurrence in this instance of one or more characters specified in a Unicode array. The search starts at a specified character position and proceeds backward toward the beginning of the string.
A Unicode character array containing one or more characters to seek.
The search starting position. The search proceeds from startIndex toward the beginning of this instance.
The index position of the last occurrence in this instance where any character in anyOf was found; -1 if no character in anyOf was found or if the current instance equals String.Empty.
Reports the zero-based index position of the last occurrence in this instance of one or more characters specified in a Unicode array. The search starts at a specified character position and proceeds backward toward the beginning of the string for a specified number of character positions.
A Unicode character array containing one or more characters to seek.
The search starting position. The search proceeds from startIndex toward the beginning of this instance.
The number of character positions to examine.
The index position of the last occurrence in this instance where any character in anyOf was found; -1 if no character in anyOf was found or if the current instance equals String.Empty.
Returns a new string in which all occurrences of a specified Unicode character in this instance are replaced with another specified Unicode character.
The Unicode character to be replaced.
The Unicode character to replace all occurrences of oldChar.
A string that is equivalent to this instance except that all instances of oldChar are replaced with newChar. If oldChar is not found in the current instance, the method returns the current instance unchanged.
Returns a new string in which all occurrences of a specified string in the current instance are replaced with another specified string.
The string to be replaced.
The string to replace all occurrences of oldValue.
A string that is equivalent to the current string except that all instances of oldValue are replaced with newValue. If oldValue is not found in the current instance, the method returns the current instance unchanged.
Splits a string into substrings that are based on the characters in an array.
A character array that delimits the substrings in this string, an empty array that contains no delimiters, or null.
An array whose elements contain the substrings from this instance that are delimited by one or more characters in separator. For more information, see the Remarks section.
Splits a string into a maximum number of substrings based on the characters in an array. You also specify the maximum number of substrings to return.
A character array that delimits the substrings in this string, an empty array that contains no delimiters, or null.
The maximum number of substrings to return.
An array whose elements contain the substrings in this instance that are delimited by one or more characters in separator. For more information, see the Remarks section.
Splits a string into a maximum number of substrings based on the characters in an array.
A character array that delimits the substrings in this string, an empty array that contains no delimiters, or null.
The maximum number of substrings to return.
StringSplitOptions.RemoveEmptyEntries to omit empty array elements from the array returned; or StringSplitOptions.None to include empty array elements in the array returned.
An array whose elements contain the substrings in this string that are delimited by one or more characters in separator. For more information, see the Remarks section.
Splits a string into substrings based on the characters in an array. You can specify whether the substrings include empty array elements.
A character array that delimits the substrings in this string, an empty array that contains no delimiters, or null.
StringSplitOptions.RemoveEmptyEntries to omit empty array elements from the array returned; or StringSplitOptions.None to include empty array elements in the array returned.
An array whose elements contain the substrings in this string that are delimited by one or more characters in separator. For more information, see the Remarks section.
Splits a string into a maximum number of substrings based on the strings in an array. You can specify whether the substrings include empty array elements.
A string array that delimits the substrings in this string, an empty array that contains no delimiters, or null.
The maximum number of substrings to return.
StringSplitOptions.RemoveEmptyEntries to omit empty array elements from the array returned; or StringSplitOptions.None to include empty array elements in the array returned.
An array whose elements contain the substrings in this string that are delimited by one or more strings in separator. For more information, see the Remarks section.
Splits a string into substrings based on the strings in an array. You can specify whether the substrings include empty array elements.
A string array that delimits the substrings in this string, an empty array that contains no delimiters, or null.
StringSplitOptions.RemoveEmptyEntries to omit empty array elements from the array returned; or StringSplitOptions.None to include empty array elements in the array returned.
An array whose elements contain the substrings in this string that are delimited by one or more strings in separator. For more information, see the Remarks section.
Retrieves a substring from this instance. The substring starts at a specified character position and continues to the end of the string.
The zero-based starting character position of a substring in this instance.
A string that is equivalent to the substring that begins at startIndex in this instance, or Empty if startIndex is equal to the length of this instance.
Retrieves a substring from this instance. The substring starts at a specified character position and continues to the end of the string.
The zero-based starting character position of a substring in this instance.
The number of characters in the substring.
A string that is equivalent to the substring of length length that begins at startIndex in this instance, or Empty if startIndex is equal to the length of this instance and length is zero.
Returns a copy of this string converted to lowercase.
A string in lowercase.
Returns a copy of this string converted to uppercase.
The uppercase equivalent of the current string.
Removes all leading and trailing white-space characters from the current String object.
The string that remains after all white-space characters are removed from the start and end of the current string. If no characters can be trimmed from the current instance, the method returns the current instance unchanged.
Removes all leading and trailing occurrences of a set of characters specified in an array from the current String object.
An array of Unicode characters to remove, or null.
The string that remains after all occurrences of the characters in the trimChars parameter are removed from the start and end of the current string. If trimChars is null or an empty array, white-space characters are removed instead. If no characters can be trimmed from the current instance, the method returns the current instance unchanged.
Removes all trailing occurrences of a set of characters specified in an array from the current String object.
The string that remains after all occurrences of the characters in the trimChars parameter are removed from the end of the current string. If trimChars is null or an empty array, Unicode white-space characters are removed instead. If no characters can be trimmed from the current instance, the method returns the current instance unchanged.
Removes all trailing occurrences of a set of characters specified in an array from the current String object.
An array of Unicode characters to remove, or null.
The string that remains after all occurrences of the characters in the trimChars parameter are removed from the end of the current string. If trimChars is null or an empty array, Unicode white-space characters are removed instead. If no characters can be trimmed from the current instance, the method returns the current instance unchanged.
Removes all leading occurrences of whitespaces specified in an array from the current String object.
The string that remains after all occurrences of characters in the trimChars parameter are removed from the start of the current string. If trimChars is null or an empty array, white-space characters are removed instead.
Removes all leading occurrences of a set of characters specified in an array from the current String object.
An array of Unicode characters to remove, or null.
The string that remains after all occurrences of characters in the trimChars parameter are removed from the start of the current string. If trimChars is null or an empty array, white-space characters are removed instead.
Returns a value indicating whether a specified substring occurs within this string.
The string to seek.
true if the value parameter occurs within this string, or if value is the empty string (""); otherwise, false.
Determines whether a specified string is a suffix of the current instance.
The string to compare to the substring at the end of this instance.
true if value matches the end of this instance; otherwise, false.
Determines whether a specified string is a suffix of the current instance.
The string to compare to the substring at the end of this instance.
The Stringcomparison type.
true if value matches the end of this instance; otherwise, false.
Determines whether the beginning of this string instance matches the specified string.
The string to compare.
true if value matches the beginning of this string; otherwise, false.
Determines whether the beginning of this string instance matches the specified string.
Replaces the format item or items in a specified string with the string representation of the corresponding object. A parameter supplies culture-specific formatting information.
An object that supplies culture-specific formatting information.
A composite format string.
The object to format.
A copy of format in which the format item or items have been replaced by the string representation of arg0.
Replaces the format items in a specified string with the string representation of two specified objects. A parameter supplies culture-specific formatting information.
An object that supplies culture-specific formatting information.
A composite format string.
The first object to format.
The second object to format.
A copy of format in which format items are replaced by the string representations of arg0 and arg1.
Replaces the format items in a specified string with the string representation of three specified objects. An parameter supplies culture-specific formatting information.
An object that supplies culture-specific formatting information.
A composite format string.
The first object to format.
The second object to format.
The third object to format.
A copy of format in which the format items have been replaced by the string representations of arg0, arg1, and arg2.
Replaces the format items in a specified string with the string representations of corresponding objects in a specified array. A parameter supplies culture-specific formatting information.
An object that supplies culture-specific formatting information.
A composite format string.
An object array that contains zero or more objects to format.
A copy of format in which the format items have been replaced by the string representation of the corresponding objects in args.
Replaces one or more format items in a specified string with the string representation of a specified object.
A composite format string.
The object to format.
A copy of format in which any format items are replaced by the string representation of arg0.
Replaces the format items in a specified string with the string representation of two specified objects.
A composite format string.
The first object to format.
The second object to format.
A copy of format in which format items are replaced by the string representations of arg0 and arg1.
Replaces the format items in a specified string with the string representation of three specified objects.
A composite format string.
The first object to format.
The second object to format.
The third object to format.
A copy of format in which the format items have been replaced by the string representations of arg0, arg1, and arg2.
Replaces the format item in a specified string with the string representation of a corresponding object in a specified array.
A composite format string.
An object array that contains zero or more objects to format.
A copy of format in which the format items have been replaced by the string representation of the corresponding objects in args.
Reports the zero-based index of the first occurrence in this instance of any character in a specified array of Unicode characters.
A Unicode character array containing one or more characters to seek.
The zero-based index position of the first occurrence in this instance where any character in anyOf was found; -1 if no character in anyOf was found.
Reports the zero-based index of the first occurrence in this instance of any character in a specified array of Unicode characters. The search starts at a specified character position.
A Unicode character array containing one or more characters to seek.
The search starting position.
Reports the zero-based index of the first occurrence in this instance of any character in a specified array of Unicode characters. The search starts at a specified character position and examines a specified number of character positions.
A Unicode character array containing one or more characters to seek.
The search starting position.
The number of character positions to examine.
The zero-based index position of the first occurrence in this instance where any character in anyOf was found; -1 if no character in anyOf was found.
Copies the characters in this instance to a Unicode character array.
A Unicode character array whose elements are the individual characters of this instance. If this instance is an empty string, the returned array is empty and has a zero length.
Copies the characters in a specified substring in this instance to a Unicode character array.
The starting position of a substring in this instance.
The length of the substring in this instance.
A Unicode character array whose elements are the length number of characters in this instance starting from character position startIndex.
Gets the Char object at a specified position in the current String object.
A position in the current string.
The object at position index.
Retrieves an object that can iterate through the individual characters in this string.
An enumerator object.
Retrieves an object that can iterate through the individual characters in this string.
An enumerator object.
Retrieves an object that can iterate through the individual characters in this string.
An enumerator object.
Compares this instance with a specified Object and indicates whether this instance precedes, follows, or appears in the same position in the sort order as the specified Object.
An object that evaluates to a String.
A 32-bit signed integer that indicates whether this instance precedes, follows, or appears in the same position in the sort order as the value parameter.
Compares this instance with a specified String object and indicates whether this instance precedes, follows, or appears in the same position in the sort order as the specified string.
The string to compare with this instance.
A 32-bit signed integer that indicates whether this instance precedes, follows, or appears in the same position in the sort order as the strB parameter.
Returns a new string in which a specified string is inserted at a specified index position in this instance.
The zero-based index position of the insertion.
The string to insert.
A new string that is equivalent to this instance, but with value inserted at position startIndex.
Concatenates the members of a constructed IEnumerable<T> collection of type String, using the specified separator between each member.
The string to use as a separator.separator is included in the returned string only if values has more than one element.
A collection that contains the strings to concatenate.
A string that consists of the members of values delimited by the separator string. If values has no members, the method returns String.Empty.
Concatenates the elements of an object array, using the specified separator between each element.
The string to use as a separator. separator is included in the returned string only if values has more than one element.
An array that contains the elements to concatenate.
A string that consists of the elements of values delimited by the separator string. If values is an empty array, the method returns String.Empty.
Concatenates all the elements of a string array, using the specified separator between each element.
The string to use as a separator. separator is included in the returned string only if value has more than one element.
An array that contains the elements to concatenate.
A string that consists of the elements in value delimited by the separator string. If value is an empty array, the method returns String.Empty.
Concatenates the specified elements of a string array, using the specified separator between each element.
The string to use as a separator. separator is included in the returned string only if value has more than one element.
An array that contains the elements to concatenate.
The first element in value to use.
The number of elements of value to use.
A string that consists of the strings in value delimited by the separator string. -or- String.Empty if count is zero, value has no elements, or separator and all the elements of value are String.Empty.
Concatenates the members of a collection, using the specified separator between each member.
The type of the members of values.
The string to use as a separator.separator is included in the returned string only if values has more than one element.
A collection that contains the objects to concatenate.
A string that consists of the members of values delimited by the separator string. If values has no members, the method returns String.Empty.
Returns a new string that right-aligns the characters in this instance by padding them with spaces on the left, for a specified total length.
The number of characters in the resulting string, equal to the number of original characters plus any additional padding characters.
A new string that is equivalent to this instance, but right-aligned and padded on the left with as many spaces as needed to create a length of totalWidth. However, if totalWidth is less than the length of this instance, the method returns a reference to the existing instance. If totalWidth is equal to the length of this instance, the method returns a new string that is identical to this instance.
Returns a new string that right-aligns the characters in this instance by padding them on the left with a specified Unicode character, for a specified total length.
The number of characters in the resulting string, equal to the number of original characters plus any additional padding characters.
A Unicode padding character.
A new string that is equivalent to this instance, but right-aligned and padded on the left with as many paddingChar characters as needed to create a length of totalWidth. However, if totalWidth is less than the length of this instance, the method returns a reference to the existing instance. If totalWidth is equal to the length of this instance, the method returns a new string that is identical to this instance.
Returns a new string that left-aligns the characters in this string by padding them with spaces on the right, for a specified total length.
The number of characters in the resulting string, equal to the number of original characters plus any additional padding characters.
A new string that is equivalent to this instance, but left-aligned and padded on the right with as many spaces as needed to create a length of totalWidth. However, if totalWidth is less than the length of this instance, the method returns a reference to the existing instance. If totalWidth is equal to the length of this instance, the method returns a new string that is identical to this instance.
Returns a new string that left-aligns the characters in this string by padding them on the right with a specified Unicode character, for a specified total length.
The number of characters in the resulting string, equal to the number of original characters plus any additional padding characters.
A Unicode padding character.
A new string that is equivalent to this instance, but left-aligned and padded on the right with as many paddingChar characters as needed to create a length of totalWidth. However, if totalWidth is less than the length of this instance, the method returns a reference to the existing instance. If totalWidth is equal to the length of this instance, the method returns a new string that is identical to this instance.
Returns a new string in which all the characters in the current instance, beginning at a specified position and continuing through the last position, have been deleted.
The zero-based position to begin deleting characters.
A new string that is equivalent to this string except for the removed characters.
Returns a new string in which a specified number of characters in the current instance beginning at a specified position have been deleted.
The zero-based position to begin deleting characters.
The number of characters to delete.
A new string that is equivalent to this instance except for the removed characters.
Returns a reference to this instance of String.
This instance of String.
Copies a specified number of characters from a specified position in this instance to a specified position in an array of Unicode characters.
The index of the first character in this instance to copy.
An array of Unicode characters to which characters in this instance are copied.
The index in destination at which the copy operation begins.
The number of characters in this instance to copy to destination.
Helper so we can call some tuple methods recursively without knowing the underlying types.
The current instance's first component.
Initializes a new instance of the value type.
The value of the tuple's first component.
Returns a value that indicates whether the current instance is equal to a specified object.
The object to compare with this instance.
if the current instance is equal to the specified object; otherwise, .
The parameter is considered to be equal to the current instance under the following conditions:
- It is a value type.
- Its components are of the same types as those of the current instance.
- Its components are equal to those of the current instance. Equality is determined by the default object equality comparer for each component.
Returns a value that indicates whether the current
instance is equal to a specified .
The tuple to compare with this instance.
if the current instance is equal to the specified tuple; otherwise, .
The parameter is considered to be equal to the current instance if each of its field
is equal to that of the current instance, using the default comparer for that field's type.
Compares this instance to a specified instance and returns an indication of their relative values.
An instance to compare.
A signed number indicating the relative values of this instance and .
Returns less than zero if this instance is less than , zero if this
instance is equal to , and greater than zero if this instance is greater
than .
Returns the hash code for the current instance.
A 32-bit signed integer hash code.
Returns a string that represents the value of this instance.
The string representation of this instance.
The string returned by this method takes the form (Item1),
where Item1 represents the value of . If the field is ,
it is represented as .
Represents a 2-tuple, or pair, as a value type.
The type of the tuple's first component.
The type of the tuple's second component.
The current instance's first component.
The current instance's second component.
Initializes a new instance of the value type.
The value of the tuple's first component.
The value of the tuple's second component.
Returns a value that indicates whether the current instance is equal to a specified object.
The object to compare with this instance.
if the current instance is equal to the specified object; otherwise, .
The parameter is considered to be equal to the current instance under the following conditions:
- It is a value type.
- Its components are of the same types as those of the current instance.
- Its components are equal to those of the current instance. Equality is determined by the default object equality comparer for each component.
Returns a value that indicates whether the current instance is equal to a specified .
The tuple to compare with this instance.
if the current instance is equal to the specified tuple; otherwise, .
The parameter is considered to be equal to the current instance if each of its fields
are equal to that of the current instance, using the default comparer for that field's type.
Returns a value that indicates whether the current instance is equal to a specified object based on a specified comparison method.
The object to compare with this instance.
An object that defines the method to use to evaluate whether the two objects are equal.
if the current instance is equal to the specified object; otherwise, .
This member is an explicit interface member implementation. It can be used only when the
instance is cast to an interface.
The implementation is called only if other is not ,
and if it can be successfully cast (in C#) or converted (in Visual Basic) to a
whose components are of the same types as those of the current instance. The IStructuralEquatable.Equals(Object, IEqualityComparer) method
first passes the values of the objects to be compared to the
implementation. If this method call returns , the method is
called again and passed the values of the two instances.
Compares this instance to a specified instance and returns an indication of their relative values.
An instance to compare.
A signed number indicating the relative values of this instance and .
Returns less than zero if this instance is less than , zero if this
instance is equal to , and greater than zero if this instance is greater
than .
Returns the hash code for the current instance.
A 32-bit signed integer hash code.
Returns a string that represents the value of this instance.
The string representation of this instance.
The string returned by this method takes the form (Item1, Item2),
where Item1 and Item2 represent the values of the
and fields. If either field value is ,
it is represented as .
Represents a 3-tuple, or triple, as a value type.
The type of the tuple's first component.
The type of the tuple's second component.
The type of the tuple's third component.
The current instance's first component.
The current instance's second component.
The current instance's third component.
Initializes a new instance of the value type.
The value of the tuple's first component.
The value of the tuple's second component.
The value of the tuple's third component.
Returns a value that indicates whether the current instance is equal to a specified object.
The object to compare with this instance.
if the current instance is equal to the specified object; otherwise, .
The parameter is considered to be equal to the current instance under the following conditions:
- It is a value type.
- Its components are of the same types as those of the current instance.
- Its components are equal to those of the current instance. Equality is determined by the default object equality comparer for each component.
Returns a value that indicates whether the current
instance is equal to a specified .
The tuple to compare with this instance.
if the current instance is equal to the specified tuple; otherwise, .
The parameter is considered to be equal to the current instance if each of its fields
are equal to that of the current instance, using the default comparer for that field's type.
Compares this instance to a specified instance and returns an indication of their relative values.
An instance to compare.
A signed number indicating the relative values of this instance and .
Returns less than zero if this instance is less than , zero if this
instance is equal to , and greater than zero if this instance is greater
than .
Returns the hash code for the current instance.
A 32-bit signed integer hash code.
Returns a string that represents the value of this instance.
The string representation of this instance.
The string returned by this method takes the form (Item1, Item2, Item3).
If any field value is , it is represented as .
Represents a 4-tuple, or quadruple, as a value type.
The type of the tuple's first component.
The type of the tuple's second component.
The type of the tuple's third component.
The type of the tuple's fourth component.
The current instance's first component.
The current instance's second component.
The current instance's third component.
The current instance's fourth component.
Initializes a new instance of the value type.
The value of the tuple's first component.
The value of the tuple's second component.
The value of the tuple's third component.
The value of the tuple's fourth component.
Returns a value that indicates whether the current instance is equal to a specified object.
The object to compare with this instance.
if the current instance is equal to the specified object; otherwise, .
The parameter is considered to be equal to the current instance under the following conditions:
- It is a value type.
- Its components are of the same types as those of the current instance.
- Its components are equal to those of the current instance. Equality is determined by the default object equality comparer for each component.
Returns a value that indicates whether the current
instance is equal to a specified .
The tuple to compare with this instance.
if the current instance is equal to the specified tuple; otherwise, .
The parameter is considered to be equal to the current instance if each of its fields
are equal to that of the current instance, using the default comparer for that field's type.
Compares this instance to a specified instance and returns an indication of their relative values.
An instance to compare.
A signed number indicating the relative values of this instance and .
Returns less than zero if this instance is less than , zero if this
instance is equal to , and greater than zero if this instance is greater
than .
Returns the hash code for the current instance.
A 32-bit signed integer hash code.
Returns a string that represents the value of this instance.
The string representation of this instance.
The string returned by this method takes the form (Item1, Item2, Item3, Item4).
If any field value is , it is represented as .
Represents a 5-tuple, or quintuple, as a value type.
The type of the tuple's first component.
The type of the tuple's second component.
The type of the tuple's third component.
The type of the tuple's fourth component.
The type of the tuple's fifth component.
The current instance's first component.
The current instance's second component.
The current instance's third component.
The current instance's fourth component.
The current instance's fifth component.
Initializes a new instance of the value type.
The value of the tuple's first component.
The value of the tuple's second component.
The value of the tuple's third component.
The value of the tuple's fourth component.
The value of the tuple's fifth component.
Returns a value that indicates whether the current instance is equal to a specified object.
The object to compare with this instance.
if the current instance is equal to the specified object; otherwise, .
The parameter is considered to be equal to the current instance under the following conditions:
- It is a value type.
- Its components are of the same types as those of the current instance.
- Its components are equal to those of the current instance. Equality is determined by the default object equality comparer for each component.
Returns a value that indicates whether the current
instance is equal to a specified .
The tuple to compare with this instance.
if the current instance is equal to the specified tuple; otherwise, .
The parameter is considered to be equal to the current instance if each of its fields
are equal to that of the current instance, using the default comparer for that field's type.
Compares this instance to a specified instance and returns an indication of their relative values.
An instance to compare.
A signed number indicating the relative values of this instance and .
Returns less than zero if this instance is less than , zero if this
instance is equal to , and greater than zero if this instance is greater
than .
Returns the hash code for the current instance.
A 32-bit signed integer hash code.
Returns a string that represents the value of this instance.
The string representation of this instance.
The string returned by this method takes the form (Item1, Item2, Item3, Item4, Item5).
If any field value is , it is represented as .
Represents a 6-tuple, or sixtuple, as a value type.
The type of the tuple's first component.
The type of the tuple's second component.
The type of the tuple's third component.
The type of the tuple's fourth component.
The type of the tuple's fifth component.
The type of the tuple's sixth component.
The current instance's first component.
The current instance's second component.
The current instance's third component.
The current instance's fourth component.
The current instance's fifth component.
The current instance's sixth component.
Initializes a new instance of the value type.
The value of the tuple's first component.
The value of the tuple's second component.
The value of the tuple's third component.
The value of the tuple's fourth component.
The value of the tuple's fifth component.
The value of the tuple's sixth component.
Returns a value that indicates whether the current instance is equal to a specified object.
The object to compare with this instance.
if the current instance is equal to the specified object; otherwise, .
The parameter is considered to be equal to the current instance under the following conditions:
- It is a value type.
- Its components are of the same types as those of the current instance.
- Its components are equal to those of the current instance. Equality is determined by the default object equality comparer for each component.
Returns a value that indicates whether the current
instance is equal to a specified .
The tuple to compare with this instance.
if the current instance is equal to the specified tuple; otherwise, .
The parameter is considered to be equal to the current instance if each of its fields
are equal to that of the current instance, using the default comparer for that field's type.
Compares this instance to a specified instance and returns an indication of their relative values.
An instance to compare.
A signed number indicating the relative values of this instance and .
Returns less than zero if this instance is less than , zero if this
instance is equal to , and greater than zero if this instance is greater
than .
Returns the hash code for the current instance.
A 32-bit signed integer hash code.
Returns a string that represents the value of this instance.
The string representation of this instance.
The string returned by this method takes the form (Item1, Item2, Item3, Item4, Item5, Item6).
If any field value is , it is represented as .
Represents a 7-tuple, or sentuple, as a value type.
The type of the tuple's first component.
The type of the tuple's second component.
The type of the tuple's third component.
The type of the tuple's fourth component.
The type of the tuple's fifth component.
The type of the tuple's sixth component.
The type of the tuple's seventh component.
The current instance's first component.
The current instance's second component.
The current instance's third component.
The current instance's fourth component.
The current instance's fifth component.
The current instance's sixth component.
The current instance's seventh component.
Initializes a new instance of the value type.
The value of the tuple's first component.
The value of the tuple's second component.
The value of the tuple's third component.
The value of the tuple's fourth component.
The value of the tuple's fifth component.
The value of the tuple's sixth component.
The value of the tuple's seventh component.
Returns a value that indicates whether the current instance is equal to a specified object.
The object to compare with this instance.
if the current instance is equal to the specified object; otherwise, .
The parameter is considered to be equal to the current instance under the following conditions:
- It is a value type.
- Its components are of the same types as those of the current instance.
- Its components are equal to those of the current instance. Equality is determined by the default object equality comparer for each component.
Returns a value that indicates whether the current
instance is equal to a specified .
The tuple to compare with this instance.
if the current instance is equal to the specified tuple; otherwise, .
The parameter is considered to be equal to the current instance if each of its fields
are equal to that of the current instance, using the default comparer for that field's type.
Compares this instance to a specified instance and returns an indication of their relative values.
An instance to compare.
A signed number indicating the relative values of this instance and .
Returns less than zero if this instance is less than , zero if this
instance is equal to , and greater than zero if this instance is greater
than .
Returns the hash code for the current instance.
A 32-bit signed integer hash code.
Returns a string that represents the value of this instance.
The string representation of this instance.
The string returned by this method takes the form (Item1, Item2, Item3, Item4, Item5, Item6, Item7).
If any field value is , it is represented as .
Represents an 8-tuple, or octuple, as a value type.
The type of the tuple's first component.
The type of the tuple's second component.
The type of the tuple's third component.
The type of the tuple's fourth component.
The type of the tuple's fifth component.
The type of the tuple's sixth component.
The type of the tuple's seventh component.
The type of the tuple's eighth component.
The current instance's first component.
The current instance's second component.
The current instance's third component.
The current instance's fourth component.
The current instance's fifth component.
The current instance's sixth component.
The current instance's seventh component.
The current instance's eighth component.
Initializes a new instance of the value type.
The value of the tuple's first component.
The value of the tuple's second component.
The value of the tuple's third component.
The value of the tuple's fourth component.
The value of the tuple's fifth component.
The value of the tuple's sixth component.
The value of the tuple's seventh component.
The value of the tuple's eight component.
Returns a value that indicates whether the current instance is equal to a specified object.
The object to compare with this instance.
if the current instance is equal to the specified object; otherwise, .
The parameter is considered to be equal to the current instance under the following conditions:
- It is a value type.
- Its components are of the same types as those of the current instance.
- Its components are equal to those of the current instance. Equality is determined by the default object equality comparer for each component.
Returns a value that indicates whether the current
instance is equal to a specified .
The tuple to compare with this instance.
if the current instance is equal to the specified tuple; otherwise, .
The parameter is considered to be equal to the current instance if each of its fields
are equal to that of the current instance, using the default comparer for that field's type.
Compares this instance to a specified instance and returns an indication of their relative values.
An instance to compare.
A signed number indicating the relative values of this instance and .
Returns less than zero if this instance is less than , zero if this
instance is equal to , and greater than zero if this instance is greater
than .
Returns the hash code for the current instance.
A 32-bit signed integer hash code.
Returns a string that represents the value of this instance.
The string representation of this instance.
The string returned by this method takes the form (Item1, Item2, Item3, Item4, Item5, Item6, Item7, Rest).
If any field value is , it is represented as .
The ValueTuple types (from arity 0 to 8) comprise the runtime implementation that underlies tuples in C# and struct tuples in F#.
Aside from created via language syntax, they are most easily created via the ValueTuple.Create factory methods.
The System.ValueTuple types differ from the System.Tuple types in that:
- they are structs rather than classes,
- they are mutable rather than readonly, and
- their members (such as Item1, Item2, etc) are fields rather than properties.
Returns a value that indicates whether the current instance is equal to a specified object.
The object to compare with this instance.
if is a .
Returns a value indicating whether this instance is equal to a specified value.
An instance to compare to this instance.
true if has the same value as this instance; otherwise, false.
Compares this instance to a specified instance and returns an indication of their relative values.
An instance to compare.
A signed number indicating the relative values of this instance and .
Returns less than zero if this instance is less than , zero if this
instance is equal to , and greater than zero if this instance is greater
than .
Returns the hash code for this instance.
A 32-bit signed integer hash code.
Returns a string that represents the value of this instance.
The string representation of this instance.
The string returned by this method takes the form ().
Creates a new struct 0-tuple.
A 0-tuple.
Creates a new struct 1-tuple, or singleton.
The type of the first component of the tuple.
The value of the first component of the tuple.
A 1-tuple (singleton) whose value is (item1).
Creates a new struct 2-tuple, or pair.
The type of the first component of the tuple.
The type of the second component of the tuple.
The value of the first component of the tuple.
The value of the second component of the tuple.
A 2-tuple (pair) whose value is (item1, item2).
Creates a new struct 3-tuple, or triple.
The type of the first component of the tuple.
The type of the second component of the tuple.
The type of the third component of the tuple.
The value of the first component of the tuple.
The value of the second component of the tuple.
The value of the third component of the tuple.
A 3-tuple (triple) whose value is (item1, item2, item3).
Creates a new struct 4-tuple, or quadruple.
The type of the first component of the tuple.
The type of the second component of the tuple.
The type of the third component of the tuple.
The type of the fourth component of the tuple.
The value of the first component of the tuple.
The value of the second component of the tuple.
The value of the third component of the tuple.
The value of the fourth component of the tuple.
A 4-tuple (quadruple) whose value is (item1, item2, item3, item4).
Creates a new struct 5-tuple, or quintuple.
The type of the first component of the tuple.
The type of the second component of the tuple.
The type of the third component of the tuple.
The type of the fourth component of the tuple.
The type of the fifth component of the tuple.
The value of the first component of the tuple.
The value of the second component of the tuple.
The value of the third component of the tuple.
The value of the fourth component of the tuple.
The value of the fifth component of the tuple.
A 5-tuple (quintuple) whose value is (item1, item2, item3, item4, item5).
Creates a new struct 6-tuple, or sextuple.
The type of the first component of the tuple.
The type of the second component of the tuple.
The type of the third component of the tuple.
The type of the fourth component of the tuple.
The type of the fifth component of the tuple.
The type of the sixth component of the tuple.
The value of the first component of the tuple.
The value of the second component of the tuple.
The value of the third component of the tuple.
The value of the fourth component of the tuple.
The value of the fifth component of the tuple.
The value of the sixth component of the tuple.
A 6-tuple (sextuple) whose value is (item1, item2, item3, item4, item5, item6).
Creates a new struct 7-tuple, or septuple.
The type of the first component of the tuple.
The type of the second component of the tuple.
The type of the third component of the tuple.
The type of the fourth component of the tuple.
The type of the fifth component of the tuple.
The type of the sixth component of the tuple.
The type of the seventh component of the tuple.
The value of the first component of the tuple.
The value of the second component of the tuple.
The value of the third component of the tuple.
The value of the fourth component of the tuple.
The value of the fifth component of the tuple.
The value of the sixth component of the tuple.
The value of the seventh component of the tuple.
A 7-tuple (septuple) whose value is (item1, item2, item3, item4, item5, item6, item7).
Creates a new struct 8-tuple, or octuple.
The type of the first component of the tuple.
The type of the second component of the tuple.
The type of the third component of the tuple.
The type of the fourth component of the tuple.
The type of the fifth component of the tuple.
The type of the sixth component of the tuple.
The type of the seventh component of the tuple.
The type of the eighth component of the tuple.
The value of the first component of the tuple.
The value of the second component of the tuple.
The value of the third component of the tuple.
The value of the fourth component of the tuple.
The value of the fifth component of the tuple.
The value of the sixth component of the tuple.
The value of the seventh component of the tuple.
The value of the eighth component of the tuple.
An 8-tuple (octuple) whose value is (item1, item2, item3, item4, item5, item6, item7, item8).