diff --git a/.gitignore b/.gitignore index ff6d771..d37cc60 100644 --- a/.gitignore +++ b/.gitignore @@ -21,9 +21,9 @@ # NuGet Packages *.nupkg # The packages folder can be ignored because of Package Restore -**/packages/* +!**/packages/* # except build/, which is used as an MSBuild target. -!**/packages/build/ +#!**/packages/build/ # Uncomment if necessary however generally it will be regenerated when needed #!**/packages/repositories.config diff --git a/packages/AsyncEnumerator.4.0.2/.signature.p7s b/packages/AsyncEnumerator.4.0.2/.signature.p7s new file mode 100755 index 0000000..6ec5f4f Binary files /dev/null and b/packages/AsyncEnumerator.4.0.2/.signature.p7s differ diff --git a/packages/AsyncEnumerator.4.0.2/lib/net45/AsyncEnumerable.dll b/packages/AsyncEnumerator.4.0.2/lib/net45/AsyncEnumerable.dll new file mode 100755 index 0000000..778b13f Binary files /dev/null and b/packages/AsyncEnumerator.4.0.2/lib/net45/AsyncEnumerable.dll differ diff --git a/packages/AsyncEnumerator.4.0.2/lib/net45/AsyncEnumerable.xml b/packages/AsyncEnumerator.4.0.2/lib/net45/AsyncEnumerable.xml new file mode 100755 index 0000000..0904439 --- /dev/null +++ b/packages/AsyncEnumerator.4.0.2/lib/net45/AsyncEnumerable.xml @@ -0,0 +1,1812 @@ + + + + AsyncEnumerable + + + + + Base abstract class that implements . + Use concrete implementation or . + + + + + Returns pre-cached empty collection + + + + + Helps to enumerate items in a collection asynchronously + + + + IAsyncEnumerable<int> ProduceNumbers(int start, int end) + { + return new AsyncEnumerable<int>(async yield => { + for (int number = start; number <= end; number++) + await yield.ReturnAsync(number); + }); + } + + async Task ConsumeAsync() + { + var asyncEnumerableCollection = ProduceNumbers(start: 1, end: 10); + await asyncEnumerableCollection.ForEachAsync(async number => { + await Console.Out.WriteLineAsync(number); + }); + } + + + + + + A pre-cached empty collection + + + + + Constructor + + A function that enumerates items in a collection asynchronously + + + + Creates an enumerator that iterates through a collection asynchronously + + A cancellation token to cancel creation of the enumerator in case if it takes a lot of time + Returns a task with the created enumerator as result on completion + + + + Similar to , but allows you to pass a state object into the enumeration function, what can be + used for performance optimization, so don't have to create a delegate on the fly every single time you create the enumerator. + + Type of items returned by + Type of the state object + + + + Constructor + + A function that enumerates items in a collection asynchronously + A state object that is passed to the + + + + A user state that gets passed into the enumeration function. + + + + + Creates an enumerator that iterates through a collection asynchronously + + Returns a task with the created enumerator as result on completion + + + + Creates an enumerator that iterates through a collection asynchronously + + Returns a task with the created enumerator as result on completion + + + + This exception is thrown when you call + or when the enumerator is disposed before reaching the end of enumeration. + + + + + Base type for and + + + + + Returns an empty . Safe to use by multiple threads. + + + + + Helps to enumerate items in a collection asynchronously. + Provides exactly the same functionality as , + but allows to pass a user state object in the enumeration function, + what can be used for performance optimization. + + + + + Constructor + + A function that enumerates items in a collection asynchronously + Any state object that is passed to the + Optional action that gets invoked on Dispose() + + + + Finalizer + + + + + A user state that gets passed into the enumeration function. + + + + + Gets the element in the collection at the current position of the enumerator + + + + + Tells if enumeration is complete. Returns True only after MoveNextAsync returns False. + + + + + Advances the enumerator to the next element of the collection asynchronously + + Returns a Task that does transition to the next element. The result of the task is True if the enumerator was successfully advanced to the next element, or False if the enumerator has passed the end of the collection. + + + + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources + + + + + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources + + + + + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources + + True if called from Dispose() method, otherwise False - called by GC + + + + Helps to enumerate items in a collection asynchronously + + + + + An empty . Safe to use by multiple threads. + + + + + The asynchronous version of the 'yield' construction + + + + + Gets the cancellation token that was passed to the method + + + + + Yields an item asynchronously (similar to 'yield return' statement) + + The item of the collection to yield + Returns a Task which tells if when you can continue to yield the next item + + + + Stops iterating items in the collection (similar to 'yield break' statement) + + Always throws this exception to stop the enumeration task + + + + Constructor + + A function that enumerates items in a collection asynchronously + Optional action that gets invoked on Dispose() + + + + Internal implementation details + + + + + Converts generic IEnumerable to IAsyncEnumerable + + + + + Creates adapter for + + The instance of to convert + If True the enumeration will be performed on the same thread, otherwise the MoveNext will be executed on a separate thread with Task.Run method + Returns an instance of implementation + + + + Converts generic IEnumerable to IAsyncEnumerable + + + + + Creates adapter for + + The element type + The instance of to convert + If True the enumeration will be performed on the same thread, otherwise the MoveNext will be executed on a separate thread with Task.Run method + Returns an instance of implementation + + + + Creates adapter for the enumerator of + + The element type + The instance of to convert + If True the enumeration will be performed on the same thread, otherwise the MoveNext will be executed on a separate thread with Task.Run method + Returns an instance of implementation + + + + Creates adapter for + + The element type + The instance of to convert + If True the enumeration will be performed on the same thread, otherwise the MoveNext will be executed on a separate thread with Task.Run method + Returns an instance of implementation + + + + Extension methods for for backward compatibility with version 1 of this libraray. + Not recommended to use. + + + + + Converts to . + This method is marked as [Obsolete] to discourage you from doing such conversion, + which defeats the whole purpose of having a non-blocking async enumeration, + and what might lead to dead-locks in ASP.NET or WPF applications. + + + + + Converts to . + This method is marked as [Obsolete] to discourage you from doing such conversion, + which defeats the whole purpose of having a non-blocking async enumeration, + and what might lead to dead-locks in ASP.NET or WPF applications. + + + + + Creates an enumerator that iterates through a collection synchronously. + This method is marked as [Obsolete] to discourage you from using this synchronous version of + the method instead of , + what might lead to dead-locks in ASP.NET or WPF applications. + + + + + Advances the enumerator to the next element of the collection synchronously. + This method is marked as [Obsolete] to discourage you from using this synchronous version of + the method instead of , + what might lead to dead-locks in ASP.NET or WPF applications. + + + + + Converts to . + This method is marked as [Obsolete] to discourage you from doing such conversion, + which defeats the whole purpose of having a non-blocking async enumeration, + and what might lead to dead-locks in ASP.NET or WPF applications. + + + + + Converts to . + This method is marked as [Obsolete] to discourage you from doing such conversion, + which defeats the whole purpose of having a non-blocking async enumeration, + and what might lead to dead-locks in ASP.NET or WPF applications. + + + + + Creates an enumerator that iterates through a collection synchronously. + This method is marked as [Obsolete] to discourage you from using this synchronous version of + the method instead of , + what might lead to dead-locks in ASP.NET or WPF applications. + + + + + Enables asynchronous 'foreach' enumeration over an IAsyncEnumerable + + + + + Enumerates over all elements in the collection asynchronously + + The collection of elements which can be enumerated asynchronously + A synchronous action to perform for every single item in the collection + A cancellation token to stop enumerating + Returns a Task which does enumeration over elements in the collection + + + + Enumerates over all elements in the collection asynchronously + + The collection of elements which can be enumerated asynchronously + A synchronous action to perform for every single item in the collection + Returns a Task which does enumeration over elements in the collection + + + + Enumerates over all elements in the collection asynchronously + + The collection of elements which can be enumerated asynchronously + A synchronous action to perform for every single item in the collection, where the second argument is the index of an item + A cancellation token to stop enumerating + Returns a Task which does enumeration over elements in the collection + + + + Enumerates over all elements in the collection asynchronously + + The collection of elements which can be enumerated asynchronously + A synchronous action to perform for every single item in the collection, where the second argument is the index of an item + Returns a Task which does enumeration over elements in the collection + + + + Enumerates over all elements in the collection asynchronously + + The collection of elements which can be enumerated asynchronously + An asynchronous action to perform for every single item in the collection + A cancellation token to stop enumerating + Returns a Task which does enumeration over elements in the collection + + + + Enumerates over all elements in the collection asynchronously + + The collection of elements which can be enumerated asynchronously + An asynchronous action to perform for every single item in the collection + Returns a Task which does enumeration over elements in the collection + + + + Enumerates over all elements in the collection asynchronously + + The collection of elements which can be enumerated asynchronously + An asynchronous action to perform for every single item in the collection, where the second argument is the index of an item + A cancellation token to stop enumerating + Returns a Task which does enumeration over elements in the collection + + + + Enumerates over all elements in the collection asynchronously + + The collection of elements which can be enumerated asynchronously + An asynchronous action to perform for every single item in the collection, where the second argument is the index of an item + Returns a Task which does enumeration over elements in the collection + + + + Enumerates over all elements in the collection asynchronously + + The type of elements in the collection + The collection of elements which can be enumerated asynchronously + A synchronous action to perform for every single item in the collection + A cancellation token to stop enumerating + Returns a Task which does enumeration over elements in the collection + + + + Enumerates over all elements in the collection asynchronously + + The type of elements in the collection + The collection of elements which can be enumerated asynchronously + A synchronous action to perform for every single item in the collection + Returns a Task which does enumeration over elements in the collection + + + + Enumerates over all elements in the collection asynchronously + + The type of elements in the collection + The collection of elements which can be enumerated asynchronously + A synchronous action to perform for every single item in the collection, where the second argument is the index of an item + A cancellation token to stop enumerating + Returns a Task which does enumeration over elements in the collection + + + + Enumerates over all elements in the collection asynchronously + + The type of elements in the collection + The collection of elements which can be enumerated asynchronously + A synchronous action to perform for every single item in the collection, where the second argument is the index of an item + Returns a Task which does enumeration over elements in the collection + + + + Enumerates over all elements in the collection asynchronously + + The type of elements in the collection + The collection of elements which can be enumerated asynchronously + An asynchronous action to perform for every single item in the collection + A cancellation token to stop enumerating + Returns a Task which does enumeration over elements in the collection + + + + Enumerates over all elements in the collection asynchronously + + The type of elements in the collection + The collection of elements which can be enumerated asynchronously + An asynchronous action to perform for every single item in the collection + Returns a Task which does enumeration over elements in the collection + + + + Enumerates over all elements in the collection asynchronously + + The type of elements in the collection + The collection of elements which can be enumerated asynchronously + An asynchronous action to perform for every single item in the collection, where the second argument is the index of an item + A cancellation token to stop enumerating + Returns a Task which does enumeration over elements in the collection + + + + Enumerates over all elements in the collection asynchronously + + The type of elements in the collection + The collection of elements which can be enumerated asynchronously + An asynchronous action to perform for every single item in the collection, where the second argument is the index of an item + Returns a Task which does enumeration over elements in the collection + + + + Class to provide access to static method. + + + + + Stops ForEachAsync iteration (similar to 'break' statement) + + Always throws this exception to stop the ForEachAsync iteration + + + + This exception is thrown when you call . + + + + + Extension methods for interface + + + + + Returns the only element of a sequence, and throws an exception if there is not exactly one element in the sequence. + + The type of the elements of . + An to return the single element of. + A that can halt enumeration of . + + + + Returns the only element of a sequence, and throws an exception if there is not exactly one element in the sequence. + + The type of the elements of . + An to return the single element of. + The message of an exception which is thrown when the source collection is empty. + The message of an exception which is thrown when the source collection has more than one element. + A that can halt enumeration of . + + + + Returns the only element of a sequence, and throws an exception if there is not exactly one element in the sequence that matches the criteria. + + The type of the elements of . + An to return the single element of. + Criteria predicate to select the only element. + A that can halt enumeration of . + + + + Returns the only element of a sequence, and throws an exception if there is not exactly one element in the sequence that matches the criteria. + + The type of the elements of . + An to return the single element of. + Criteria predicate to select the only element. + The message of an exception which is thrown when the source collection is has no element matching the criteria. + The message of an exception which is thrown when the source collection has more than one element matching the criteria. + A that can halt enumeration of . + + + + Returns the only element of a sequence, and returns a default value if there is not exactly one element in the sequence. + + The type of the elements of . + An to return the single element of. + A that can halt enumeration of . + + + + Returns the only element of a sequence, and returns a default value if there is not exactly one element in the sequence that matches the criteria. + + The type of the elements of . + An to return the single element of. + Criteria predicate to select the only element. + A that can halt enumeration of . + + + + Returns the first element in the . + + The type of the elements of + An to return an element from. + A that can halt enumeration of + + + + Returns the first element in the . + + The type of the elements of + An to return an element from. + An optional custom exception message for the case when the is empty + A that can halt enumeration of + + + + Returns the first element in a sequence that satisfies a specified condition. + + The type of the elements of + An to return an element from. + A function to test each element for a condition. + A that can halt enumeration of + + + + Returns the first element in a sequence that satisfies a specified condition. + + The type of the elements of + An to return an element from. + A function to test each element for a condition. + An optional custom exception message for the case when the is empty + A that can halt enumeration of + + + + Returns the first element in the , or a default value if no element is found. + + The type of the elements of + An to return an element from. + A that can halt enumeration of + + + + Returns the first element in a sequence that satisfies a specified condition, or a default value if no element is found. + + The type of the elements of + An to return an element from. + A function to test each element for a condition. + A that can halt enumeration of + + + + Projects each element of a sequence into a new form. + + The type of the elements of + The type of the value returned by . + A sequence of values to invoke a transform function on. + A transform function to apply to each element. + + + + Projects each element of a sequence into a new form. + + The type of the elements of + The type of the value returned by . + 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. + + + + Projects each element of a sequence to an IAsyncEnumerable<T> and flattens the resulting sequences into one sequence. + + The type of the elements of . + The type of the value in the IAsyncEnumerable returned by . + A sequence of values to invoke a transform function on. + A transform function to apply to each source element. + + + + Projects each element of a sequence to an IAsyncEnumerable<T> and flattens the resulting sequences into one sequence. + + The type of the elements of . + The type of the intermediate elements collected by . + The type of the elements of the resulting sequence by . + A sequence of values to invoke a transform function on. + A transform function to apply to each element of the input sequence. + A transform function to apply to each element of the intermediate sequence. + + + + Projects each element of a sequence to an IAsyncEnumerable<T> and flattens the resulting sequences into one sequence. + + The type of the elements of . + The type of the value in the IAsyncEnumerable returned by . + A sequence of values to invoke a transform function on. + A transform function to apply to each source element. + + + + Projects each element of a sequence to an IAsyncEnumerable<T> and flattens the resulting sequences into one sequence. + + The type of the elements of . + The type of the intermediate elements collected by . + The type of the elements of the resulting sequence by . + A sequence of values to invoke a transform function on. + A transform function to apply to each element of the input sequence. + A transform function to apply to each element of the intermediate sequence. + + + + Returns a specified number of contiguous elements from the start of a sequence. + + The type of the elements of + A sequence to return elements from. + The number of elements to return. + + + + Returns elements from a sequence as long as a specified condition is true. + + The type of the elements of + A sequence to return elements from. + A function to test each element for a condition. + + + + Creates a list of elements asynchronously from the enumerable source + + The type of the elements of source + The collection of elements + A cancellation token to cancel the async operation + + + + Creates an array of elements asynchronously from the enumerable source + + The type of the elements of source + The collection of elements + A cancellation token to cancel the async operation + + + + Creates a from an according to a specified key selector function, a comparer, and an element selector function. + + The type of the elements of . + The type of the key returned by . + An to create a from. + A function to extract a key from each element. + A cancellation token to cancel the async operation. + + + + + Creates a from an according to a specified key selector function, a comparer, and an element selector function. + + The type of the elements of . + The type of the key returned by . + An to create a from. + A function to extract a key from each element. + An to compare keys. + A cancellation token to cancel the async operation. + + + + + Creates a from an according to a specified key selector function, a comparer, and an element selector function. + + The type of the elements of . + The type of the key returned by . + The type of the value returned by . + An to create a from. + A function to extract a key from each element. + A transform function to produce a result element value from each element. + A cancellation token to cancel the async operation. + + + + + Creates a from an according to a specified key selector function, a comparer, and an element selector function. + + The type of the elements of . + The type of the key returned by . + The type of the value returned by . + An to create a from. + A function to extract a key from each element. + A transform function to produce a result element value from each element. + An to compare keys. + A cancellation token to cancel the async operation. + + + + + Creates a from an according to a specified key selector function. + + The type of the elements of . + The type of the key returned by . + The to create a from. + A function to extract a key from each element. + A cancellation token to cancel the async operation. + + + + Creates a from an according to a specified key selector function and key comparer. + + The type of the elements of . + The type of the key returned by . + The to create a from. + A function to extract a key from each element. + An to compare keys. + A cancellation token to cancel the async operation. + + + + Creates a from an according to a specified key selector function and an element selector function. + + The type of the elements of . + The type of the key returned by . + The type of the value returned by . + The to create a from. + A function to extract a key from each element. + A transform function to produce a result element value from each element. + A cancellation token to cancel the async operation. + + + + Creates a from an according to a specified key selector function, a comparer and an element selector function. + + The type of the elements of . + The type of the key returned by . + The type of the value returned by . + The to create a from. + A function to extract a key from each element. + A transform function to produce a result element value from each element. + An to compare keys. + A cancellation token to cancel the async operation. + + + + An to return elements from. + + The type of the elements of + An to return elements from. + The number of elements to skip before returning the remaining elements. + + + + Bypasses elements in a sequence as long as a specified condition is true and then returns the remaining elements. + + The type of the elements of + An to return elements from. + A function to test each element for a condition. + + + + Filters a sequence of values based on a predicate. + + The type of the elements of + An to filter. + A function to test each element for a condition. + + + + Projects each element of a sequence into a new form. + + The type of the elements of + An to filter. + A function to test each element for a condition; the second parameter of the function represents the index of the source element. + + + + Casts the elements of an to the specified type. + + The type to cast the elements of to. + An that contains the elements to be cast to type . + + + + Filters the elements of an based on a specified type. + + The type to filter the elements of the sequence on. + The whose elements to filter. + + + + Returns the elements of the specified sequence or the specified value in a singleton collection if the sequence is empty. + + The type of the elements of . + The sequence to return the specified value for if it is empty. + + + + Returns the elements of the specified sequence or the specified value in a singleton collection if the sequence is empty. + + The type of the elements of . + The sequence to return the specified value for if it is empty. + The value to return if the sequence is empty. + + + + Splits the input collection into series of batches. + + The type of the elements of + An to batch. + The maximum number of elements to put in a batch. + + + + Splits the input collection into series of batches. + + The type of the elements of + + The type of a .NET's standard collection that forms a batch. Supported types are: + , , , , + , , , + , , . + + An to batch. + The maximum number of elements to put in a batch. + + + + Splits the input collection into series of batches. + + The type of the elements of + An to batch. + The maximum logical weight of elements that a single batch can accomodate. + A function that computes a weight of a particular element, which is used to make a decision if it can fit into a batch. + + + + Splits the input collection into series of batches. + + The type of the elements of + + The type of a .NET's standard collection that forms a batch. Supported types are: + , , , , + , , , + , , . + + An to batch. + The maximum logical weight of elements that a single batch can accomodate. + A function that computes a weight of a particular element, which is used to make a decision if it can fit into a batch. + + + + Splits the input collection into series of batches. + + The type of the elements of + An to batch. + The maximum number of elements to put in a batch regardless their total weight. + The maximum logical weight of elements that a single batch can accomodate. + A function that computes a weight of a particular element, which is used to make a decision if it can fit into a batch. + + + + Splits the input collection into series of batches. + + The type of the elements of + + The type of a .NET's standard collection that forms a batch. Supported types are: + , , , , + , , , + , , . + + An to batch. + The maximum number of elements to put in a batch regardless their total weight. + The maximum logical weight of elements that a single batch can accomodate. + A function that computes a weight of a particular element, which is used to make a decision if it can fit into a batch. + + + + Splits the input collection into series of batches. + + The type of the elements of + The type of a batch of elements. + An to batch. + The maximum number of elements to put in a batch regardless their total weight. + The maximum logical weight of elements that a single batch can accomodate. + A function that computes a weight of a particular element, which is used to make a decision if it can fit into a batch. + A function that creates a new batch with optional suggested capacity. + An action that adds an element to a batch. + + + + Produces the set union of two sequences, which includes duplicate elements. + + The type of the elements of the input sequences. + An whose elements form the first set for the union. + An whose elements form the second set for the union. + + + + Produces the set union of multiple sequences, which includes duplicate elements. + + The type of the elements of the input sequences. + A set of whose elements form the union. + + + + Creates a new sequence based on input one plus an extra element at the end. + + The type of the elements of . + An to return the single element of. + An extra element to be returned on enumeration. + + + + Creates a new sequence based on input one plus an extra element in the beginning. + + The type of the elements of . + An to return the single element of. + An extra element to be returned on enumeration. + + + + Concatenates two sequences. + + The type of the elements of the input sequences. + The first sequence to concatenate. + The sequence to concatenate to the first sequence. + + + + Returns distinct elements from a sequence by using the default equality comparer to compare values. + + The type of the elements of . + The sequence to remove duplicate elements from. + + + + Returns distinct elements from a sequence by using a specified to compare values. + + The type of the elements of . + The sequence to remove duplicate elements from. + An to compare values. + + + + Applies an accumulator function over a sequence. + + The type of the elements of . + An to aggregate over. + An accumulator function to be invoked on each element. + A cancellation token to cancel the async operation. + + + + Applies an accumulator function over a sequence. The specified seed value is used as the initial accumulator value. + + The type of the elements of . + The type of the accumulator value. + An to aggregate over. + The initial accumulator value. + An accumulator function to be invoked on each element. + A cancellation token to cancel the async operation. + + + + 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. + + The type of the elements of . + The type of the accumulator value. + The type of the resulting value. + An 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. + A cancellation token to cancel the async operation. + + + + Determines whether all elements of a sequence satisfy a condition. + + An that contains the elements to apply the predicate to. + A function to test each element for a condition. + A cancellation token to cancel the async operation. + The type of the elements of . + true if every element of the source sequence passes the test in the specified predicate, or if the sequence is empty; otherwise, false. + or is null. + + + + Determines whether any element of a sequence exists or satisfies a condition. + + An that contains the elements to apply the predicate to. + A function to test each element for a condition. + A cancellation token to cancel the async operation. + The type of the elements of . + true if any elements in the source sequence pass the test in the specified predicate; otherwise, false. + or is null. + + + + Extension methods for interface + + + + + Returns the only element of a sequence, and throws an exception if there is not exactly one element in the sequence. + + The type of the elements of . + An to return the single element of. + Flag to call the on input when this operation is complete + + + + Returns the only element of a sequence, and throws an exception if there is not exactly one element in the sequence. + + The type of the elements of . + An to return the single element of. + The message of an exception which is thrown when the source collection is empty. + The message of an exception which is thrown when the source collection has more than one element. + Flag to call the on input when this operation is complete + + + + Returns the only element of a sequence, and throws an exception if there is not exactly one element in the sequence that matches the criteria. + + The type of the elements of . + An to return the single element of. + Criteria predicate to select the only element. + Flag to call the on input when this operation is complete + + + + Returns the only element of a sequence, and throws an exception if there is not exactly one element in the sequence that matches the criteria. + + The type of the elements of . + An to return the single element of. + Criteria predicate to select the only element. + The message of an exception which is thrown when the source collection is has no element matching the criteria. + The message of an exception which is thrown when the source collection has more than one element matching the criteria. + Flag to call the on input when this operation is complete + + + + Returns the only element of a sequence, and returns a default value if there is not exactly one element in the sequence. + + The type of the elements of . + An to return the single element of. + Flag to call the on input when this operation is complete + + + + Returns the only element of a sequence, and returns a default value if there is not exactly one element in the sequence that matches the criteria. + + The type of the elements of . + An to return the single element of. + Criteria predicate to select the only element. + Flag to call the on input when this operation is complete + + + + Returns the first element in the . + + The type of the elements of + An to return an element from. + Flag to call the on input when this operation is complete + + + + Returns the first element in the . + + The type of the elements of + An to return an element from. + An optional custom exception message for the case when the is empty + Flag to call the on input when this operation is complete + + + + Returns the first element in a sequence that satisfies a specified condition. + + The type of the elements of + An to return an element from. + A function to test each element for a condition. + Flag to call the on input when this operation is complete + + + + Returns the first element in a sequence that satisfies a specified condition. + + The type of the elements of + An to return an element from. + A function to test each element for a condition. + An optional custom exception message for the case when the is empty + Flag to call the on input when this operation is complete + + + + Returns the first element in the , or a default value if no element is found. + + The type of the elements of + An to return an element from. + Flag to call the on input when this operation is complete + + + + Returns the first element in a sequence that satisfies a specified condition, or a default value if no element is found. + + The type of the elements of + An to return an element from. + A function to test each element for a condition. + Flag to call the on input when this operation is complete + + + + Projects each element of a sequence into a new form. + + The type of the elements of + The type of the value returned by . + A sequence of values to invoke a transform function on. + A transform function to apply to each element. + Flag to call the on input when enumeration is complete + + + + Projects each element of a sequence into a new form. + + The type of the elements of + The type of the value returned by . + 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. + Flag to call the on input when enumeration is complete + + + + Returns a specified number of contiguous elements from the start of a sequence. + + The type of the elements of + A sequence to return elements from. + The number of elements to return. + Flag to call the on input when enumeration is complete + + + + Returns elements from a sequence as long as a specified condition is true. + + The type of the elements of + A sequence to return elements from. + A function to test each element for a condition. + Flag to call the on input when enumeration is complete + + + + Creates a list of elements asynchronously from the enumerable source + + The type of the elements of source + The collection of elements + Flag to call the on input when this operation is complete + + + + Creates an array of elements asynchronously from the enumerable source + + The type of the elements of source + The collection of elements + Flag to call the on input when this operation is complete + + + + An to return elements from. + + The type of the elements of + An to return elements from. + The number of elements to skip before returning the remaining elements. + Flag to call the on input when enumeration is complete + + + + Bypasses elements in a sequence as long as a specified condition is true and then returns the remaining elements. + + The type of the elements of + An to return elements from. + A function to test each element for a condition. + Flag to call the on input when enumeration is complete + + + + Filters a sequence of values based on a predicate. + + The type of the elements of + An to filter. + A function to test each element for a condition. + Flag to call the on input when enumeration is complete + + + + Projects each element of a sequence into a new form. + + The type of the elements of + An to filter. + A function to test each element for a condition; the second parameter of the function represents the index of the source element. + Flag to call the on input when enumeration is complete + + + + Casts the elements of an to the specified type. + + The type to cast the elements of to. + An that contains the elements to be cast to type . + Flag to call the on input when enumeration is complete + + + + Returns the elements of the specified sequence or the specified value in a singleton collection if the sequence is empty. + + The type of the elements of . + The sequence to return the specified value for if it is empty. + Flag to call the on input when enumeration is complete + + + + Returns the elements of the specified sequence or the specified value in a singleton collection if the sequence is empty. + + The type of the elements of . + The sequence to return the specified value for if it is empty. + The value to return if the sequence is empty. + Flag to call the on input when enumeration is complete + + + + Splits the input collection into series of batches. + + The type of the elements of + An to batch. + The maximum number of elements to put in a batch. + Flag to call the on input when enumeration is complete + + + + Splits the input collection into series of batches. + + The type of the elements of + + The type of a .NET's standard collection that forms a batch. Supported types are: + , , , , + , , , + , , . + + An to batch. + The maximum number of elements to put in a batch. + Flag to call the on input when enumeration is complete + + + + Splits the input collection into series of batches. + + The type of the elements of + An to batch. + The maximum logical weight of elements that a single batch can accomodate. + A function that computes a weight of a particular element, which is used to make a decision if it can fit into a batch. + Flag to call the on input when enumeration is complete + + + + Splits the input collection into series of batches. + + The type of the elements of + + The type of a .NET's standard collection that forms a batch. Supported types are: + , , , , + , , , + , , . + + An to batch. + The maximum logical weight of elements that a single batch can accomodate. + A function that computes a weight of a particular element, which is used to make a decision if it can fit into a batch. + Flag to call the on input when enumeration is complete + + + + Splits the input collection into series of batches. + + The type of the elements of + An to batch. + The maximum number of elements to put in a batch regardless their total weight. + The maximum logical weight of elements that a single batch can accomodate. + A function that computes a weight of a particular element, which is used to make a decision if it can fit into a batch. + Flag to call the on input when enumeration is complete + + + + Splits the input collection into series of batches. + + The type of the elements of + + The type of a .NET's standard collection that forms a batch. Supported types are: + , , , , + , , , + , , . + + An to batch. + The maximum number of elements to put in a batch regardless their total weight. + The maximum logical weight of elements that a single batch can accomodate. + A function that computes a weight of a particular element, which is used to make a decision if it can fit into a batch. + Flag to call the on input when enumeration is complete + + + + Splits the input collection into series of batches. + + The type of the elements of + The type of a batch of elements. + An to batch. + The maximum number of elements to put in a batch regardless their total weight. + The maximum logical weight of elements that a single batch can accomodate. + A function that computes a weight of a particular element, which is used to make a decision if it can fit into a batch. + A function that creates a new batch with optional suggested capacity. + An action that adds an element to a batch. + Flag to call the on input when enumeration is complete + + + + Produces the set union of two sequences, which includes duplicate elements. + + The type of the elements of the input sequences. + An whose elements form the first set for the union. + An whose elements form the second set for the union. + Flag to call the on input and when enumeration is complete. + + + + Produces the set union of multiple sequences, which includes duplicate elements. + + The type of the elements of the input sequences. + A set of whose elements form the union. + Flag to call the on all input when enumeration is complete. + + + + Used in ParallelForEachAsync<T> extension method + + + + + Constructor + + + + + Extensions methods for IEnumerable and IAsyncEnumerable to do parallel for-each loop in async-await manner + + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item, where first argument is the item and second argument is item's index in the collection + Maximum items to schedule processing in parallel. The actual concurrency level depends on TPL settings. Set to 0 to choose a default value based on processor count. + Set to True to stop processing items when first exception occurs. The result might contain several exceptions though when faulty tasks finish at the same time. + If True (the default behavior), waits on completion for all started tasks when the loop breaks due to cancellation or an exception + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item, where first argument is the item and second argument is item's index in the collection + Maximum items to schedule processing in parallel. The actual concurrency level depends on TPL settings. Set to 0 to choose a default value based on processor count. + Set to True to stop processing items when first exception occurs. The result might contain several exceptions though when faulty tasks finish at the same time. + If True (the default behavior), waits on completion for all started tasks when the loop breaks due to cancellation or an exception + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item, where first argument is the item and second argument is item's index in the collection + Maximum items to schedule processing in parallel. The actual concurrency level depends on TPL settings. Set to 0 to choose a default value based on processor count. + Set to True to stop processing items when first exception occurs. The result might contain several exceptions though when faulty tasks finish at the same time. + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item, where first argument is the item and second argument is item's index in the collection + Maximum items to schedule processing in parallel. The actual concurrency level depends on TPL settings. Set to 0 to choose a default value based on processor count. + Set to True to stop processing items when first exception occurs. The result might contain several exceptions though when faulty tasks finish at the same time. + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item, where first argument is the item and second argument is item's index in the collection + Maximum items to schedule processing in parallel. The actual concurrency level depends on TPL settings. Set to 0 to choose a default value based on processor count. + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item, where first argument is the item and second argument is item's index in the collection + Maximum items to schedule processing in parallel. The actual concurrency level depends on TPL settings. Set to 0 to choose a default value based on processor count. + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item, where first argument is the item and second argument is item's index in the collection + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item, where first argument is the item and second argument is item's index in the collection + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item + Maximum items to schedule processing in parallel. The actual concurrency level depends on TPL settings. Set to 0 to choose a default value based on processor count. + Set to True to stop processing items when first exception occurs. The result might contain several exceptions though when faulty tasks finish at the same time. + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item + Maximum items to schedule processing in parallel. The actual concurrency level depends on TPL settings. Set to 0 to choose a default value based on processor count. + Set to True to stop processing items when first exception occurs. The result might contain several exceptions though when faulty tasks finish at the same time. + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item + Maximum items to schedule processing in parallel. The actual concurrency level depends on TPL settings. Set to 0 to choose a default value based on processor count. + Set to True to stop processing items when first exception occurs. The result might contain several exceptions though when faulty tasks finish at the same time. + If True (the default behavior), waits on completion for all started tasks when the loop breaks due to cancellation or an exception + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item + Maximum items to schedule processing in parallel. The actual concurrency level depends on TPL settings. Set to 0 to choose a default value based on processor count. + Set to True to stop processing items when first exception occurs. The result might contain several exceptions though when faulty tasks finish at the same time. + If True (the default behavior), waits on completion for all started tasks when the loop breaks due to cancellation or an exception + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item + Maximum items to schedule processing in parallel. The actual concurrency level depends on TPL settings. Set to 0 to choose a default value based on processor count. + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item + Maximum items to schedule processing in parallel. The actual concurrency level depends on TPL settings. Set to 0 to choose a default value based on processor count. + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item, where first argument is the item and second argument is item's index in the collection + Maximum items to schedule processing in parallel. The actual concurrency level depends on TPL settings. Set to 0 to choose a default value based on processor count. + Set to True to stop processing items when first exception occurs. The result might contain several exceptions though when faulty tasks finish at the same time. + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item, where first argument is the item and second argument is item's index in the collection + Maximum items to schedule processing in parallel. The actual concurrency level depends on TPL settings. Set to 0 to choose a default value based on processor count. + Set to True to stop processing items when first exception occurs. The result might contain several exceptions though when faulty tasks finish at the same time. + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item, where first argument is the item and second argument is item's index in the collection + Maximum items to schedule processing in parallel. The actual concurrency level depends on TPL settings. Set to 0 to choose a default value based on processor count. + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item, where first argument is the item and second argument is item's index in the collection + Maximum items to schedule processing in parallel. The actual concurrency level depends on TPL settings. Set to 0 to choose a default value based on processor count. + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item, where first argument is the item and second argument is item's index in the collection + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item, where first argument is the item and second argument is item's index in the collection + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item + Maximum items to schedule processing in parallel. The actual concurrency level depends on TPL settings. Set to 0 to choose a default value based on processor count. + Set to True to stop processing items when first exception occurs. The result might contain several exceptions though when faulty tasks finish at the same time. + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item + Maximum items to schedule processing in parallel. The actual concurrency level depends on TPL settings. Set to 0 to choose a default value based on processor count. + Set to True to stop processing items when first exception occurs. The result might contain several exceptions though when faulty tasks finish at the same time. + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item + Maximum items to schedule processing in parallel. The actual concurrency level depends on TPL settings. Set to 0 to choose a default value based on processor count. + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item + Maximum items to schedule processing in parallel. The actual concurrency level depends on TPL settings. Set to 0 to choose a default value based on processor count. + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Exposes an asynchronous enumerator, which supports a simple iteration over a non-generic collection + + + + + Creates an enumerator that iterates through a collection asynchronously + + A cancellation token to cancel creation of the enumerator in case if it takes a lot of time + Returns a task with the created enumerator as result on completion + + + + Exposes the asynchronous enumerator, which supports a simple iteration over a collection of typed items + + The type of items in the collection + + + + Creates an enumerator that iterates through a collection asynchronously + + A cancellation token to cancel creation of the enumerator in case if it takes a lot of time + Returns a task with the created enumerator as result on completion + + + + Supports a simple asynchronous iteration over a non-generic collection + + + + + Gets the current element in the collection. + + + + + Advances the enumerator to the next element of the collection asynchronously + + Returns a Task that does transition to the next element. The result of the task is True if the enumerator was successfully advanced to the next element, or False if the enumerator has passed the end of the collection. + + + + Supports a simple asynchronous iteration over a collection of typed items + + The type of items in the collection + + + + Gets the element in the collection at the current position of the enumerator. + + + + + Internal base type for and + + + + + Utility methods for + + + + + Forcibly disables re-use of instances in the method. + This is just a safety switch in case when something goes wrong with re-using instances of . + + + + + Resets a to initial incomplete state. + This method by default re-uses the same instance of the by re-setting internal state of its using reflection. + If such feature is not available or explicitly disable with the method, it just returns a new instance of a . + + Type of the result value + Target to be reset or recreated. It's safe to pass null. + Optional state object that you pass into constructor. + + + diff --git a/packages/AsyncEnumerator.4.0.2/lib/net461/AsyncEnumerable.dll b/packages/AsyncEnumerator.4.0.2/lib/net461/AsyncEnumerable.dll new file mode 100755 index 0000000..8902bed Binary files /dev/null and b/packages/AsyncEnumerator.4.0.2/lib/net461/AsyncEnumerable.dll differ diff --git a/packages/AsyncEnumerator.4.0.2/lib/net461/AsyncEnumerable.xml b/packages/AsyncEnumerator.4.0.2/lib/net461/AsyncEnumerable.xml new file mode 100755 index 0000000..d6838e4 --- /dev/null +++ b/packages/AsyncEnumerator.4.0.2/lib/net461/AsyncEnumerable.xml @@ -0,0 +1,1675 @@ + + + + AsyncEnumerable + + + + + Base abstract class that implements . + Use concrete implementation or . + + + + + Returns pre-cached empty collection + + + + + Helps to enumerate items in a collection asynchronously + + + + IAsyncEnumerable<int> ProduceNumbers(int start, int end) + { + return new AsyncEnumerable<int>(async yield => { + for (int number = start; number <= end; number++) + await yield.ReturnAsync(number); + }); + } + + async Task ConsumeAsync() + { + var asyncEnumerableCollection = ProduceNumbers(start: 1, end: 10); + await asyncEnumerableCollection.ForEachAsync(async number => { + await Console.Out.WriteLineAsync(number); + }); + } + + + + + + A pre-cached empty collection + + + + + Constructor + + A function that enumerates items in a collection asynchronously + + + + Creates an enumerator that iterates through a collection asynchronously + + A cancellation token to cancel creation of the enumerator in case if it takes a lot of time + Returns a task with the created enumerator as result on completion + + + + Similar to , but allows you to pass a state object into the enumeration function, what can be + used for performance optimization, so don't have to create a delegate on the fly every single time you create the enumerator. + + Type of items returned by + Type of the state object + + + + Constructor + + A function that enumerates items in a collection asynchronously + A state object that is passed to the + + + + A user state that gets passed into the enumeration function. + + + + + Creates an enumerator that iterates through a collection asynchronously + + Returns a task with the created enumerator as result on completion + + + + Creates an enumerator that iterates through a collection asynchronously + + Returns a task with the created enumerator as result on completion + + + + This exception is thrown when you call + or when the enumerator is disposed before reaching the end of enumeration. + + + + + Base type for and + + + + + Returns an empty . Safe to use by multiple threads. + + + + + Helps to enumerate items in a collection asynchronously. + Provides exactly the same functionality as , + but allows to pass a user state object in the enumeration function, + what can be used for performance optimization. + + + + + Constructor + + A function that enumerates items in a collection asynchronously + Any state object that is passed to the + Optional action that gets invoked on Dispose() + + + + Finalizer + + + + + A user state that gets passed into the enumeration function. + + + + + Gets the element in the collection at the current position of the enumerator + + + + + Tells if enumeration is complete. Returns True only after MoveNextAsync returns False. + + + + + Advances the enumerator to the next element of the collection asynchronously + + Returns a Task that does transition to the next element. The result of the task is True if the enumerator was successfully advanced to the next element, or False if the enumerator has passed the end of the collection. + + + + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources + + + + + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources + + + + + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources + + True if called from Dispose() method, otherwise False - called by GC + + + + Helps to enumerate items in a collection asynchronously + + + + + An empty . Safe to use by multiple threads. + + + + + The asynchronous version of the 'yield' construction + + + + + Gets the cancellation token that was passed to the method + + + + + Yields an item asynchronously (similar to 'yield return' statement) + + The item of the collection to yield + Returns a Task which tells if when you can continue to yield the next item + + + + Stops iterating items in the collection (similar to 'yield break' statement) + + Always throws this exception to stop the enumeration task + + + + Constructor + + A function that enumerates items in a collection asynchronously + Optional action that gets invoked on Dispose() + + + + Internal implementation details + + + + + Converts generic IEnumerable to IAsyncEnumerable + + + + + Creates adapter for + + The element type + The instance of to convert + If True the enumeration will be performed on the same thread, otherwise the MoveNext will be executed on a separate thread with Task.Run method + Returns an instance of implementation + + + + Creates adapter for the enumerator of + + The element type + The instance of to convert + If True the enumeration will be performed on the same thread, otherwise the MoveNext will be executed on a separate thread with Task.Run method + Returns an instance of implementation + + + + Creates adapter for + + The element type + The instance of to convert + If True the enumeration will be performed on the same thread, otherwise the MoveNext will be executed on a separate thread with Task.Run method + Returns an instance of implementation + + + + Extension methods for for backward compatibility with version 1 of this libraray. + Not recommended to use. + + + + + Converts to . + This method is marked as [Obsolete] to discourage you from doing such conversion, + which defeats the whole purpose of having a non-blocking async enumeration, + and what might lead to dead-locks in ASP.NET or WPF applications. + + + + + Converts to . + This method is marked as [Obsolete] to discourage you from doing such conversion, + which defeats the whole purpose of having a non-blocking async enumeration, + and what might lead to dead-locks in ASP.NET or WPF applications. + + + + + Creates an enumerator that iterates through a collection synchronously. + This method is marked as [Obsolete] to discourage you from using this synchronous version of + the method instead of , + what might lead to dead-locks in ASP.NET or WPF applications. + + + + + Class to provide access to static method. + + + + + Stops ForEachAsync iteration (similar to 'break' statement) + + Always throws this exception to stop the ForEachAsync iteration + + + + This exception is thrown when you call . + + + + + Enables asynchronous 'foreach' enumeration over an IAsyncEnumerable + + + + + Enumerates over all elements in the collection asynchronously + + The type of elements in the collection + The collection of elements which can be enumerated asynchronously + A synchronous action to perform for every single item in the collection + A cancellation token to stop enumerating + Returns a Task which does enumeration over elements in the collection + + + + Enumerates over all elements in the collection asynchronously + + The type of elements in the collection + The collection of elements which can be enumerated asynchronously + A synchronous action to perform for every single item in the collection + Returns a Task which does enumeration over elements in the collection + + + + Enumerates over all elements in the collection asynchronously + + The type of elements in the collection + The collection of elements which can be enumerated asynchronously + A synchronous action to perform for every single item in the collection, where the second argument is the index of an item + A cancellation token to stop enumerating + Returns a Task which does enumeration over elements in the collection + + + + Enumerates over all elements in the collection asynchronously + + The type of elements in the collection + The collection of elements which can be enumerated asynchronously + A synchronous action to perform for every single item in the collection, where the second argument is the index of an item + Returns a Task which does enumeration over elements in the collection + + + + Enumerates over all elements in the collection asynchronously + + The type of elements in the collection + The collection of elements which can be enumerated asynchronously + An asynchronous action to perform for every single item in the collection + A cancellation token to stop enumerating + Returns a Task which does enumeration over elements in the collection + + + + Enumerates over all elements in the collection asynchronously + + The type of elements in the collection + The collection of elements which can be enumerated asynchronously + An asynchronous action to perform for every single item in the collection + Returns a Task which does enumeration over elements in the collection + + + + Enumerates over all elements in the collection asynchronously + + The type of elements in the collection + The collection of elements which can be enumerated asynchronously + An asynchronous action to perform for every single item in the collection, where the second argument is the index of an item + A cancellation token to stop enumerating + Returns a Task which does enumeration over elements in the collection + + + + Enumerates over all elements in the collection asynchronously + + The type of elements in the collection + The collection of elements which can be enumerated asynchronously + An asynchronous action to perform for every single item in the collection, where the second argument is the index of an item + Returns a Task which does enumeration over elements in the collection + + + + Extension methods for interface + + + + + Returns the only element of a sequence, and throws an exception if there is not exactly one element in the sequence. + + The type of the elements of . + An to return the single element of. + A that can halt enumeration of . + + + + Returns the only element of a sequence, and throws an exception if there is not exactly one element in the sequence. + + The type of the elements of . + An to return the single element of. + The message of an exception which is thrown when the source collection is empty. + The message of an exception which is thrown when the source collection has more than one element. + A that can halt enumeration of . + + + + Returns the only element of a sequence, and throws an exception if there is not exactly one element in the sequence that matches the criteria. + + The type of the elements of . + An to return the single element of. + Criteria predicate to select the only element. + A that can halt enumeration of . + + + + Returns the only element of a sequence, and throws an exception if there is not exactly one element in the sequence that matches the criteria. + + The type of the elements of . + An to return the single element of. + Criteria predicate to select the only element. + The message of an exception which is thrown when the source collection is has no element matching the criteria. + The message of an exception which is thrown when the source collection has more than one element matching the criteria. + A that can halt enumeration of . + + + + Returns the only element of a sequence, and returns a default value if there is not exactly one element in the sequence. + + The type of the elements of . + An to return the single element of. + A that can halt enumeration of . + + + + Returns the only element of a sequence, and returns a default value if there is not exactly one element in the sequence that matches the criteria. + + The type of the elements of . + An to return the single element of. + Criteria predicate to select the only element. + A that can halt enumeration of . + + + + Returns the first element in the . + + The type of the elements of + An to return an element from. + A that can halt enumeration of + + + + Returns the first element in the . + + The type of the elements of + An to return an element from. + An optional custom exception message for the case when the is empty + A that can halt enumeration of + + + + Returns the first element in a sequence that satisfies a specified condition. + + The type of the elements of + An to return an element from. + A function to test each element for a condition. + A that can halt enumeration of + + + + Returns the first element in a sequence that satisfies a specified condition. + + The type of the elements of + An to return an element from. + A function to test each element for a condition. + An optional custom exception message for the case when the is empty + A that can halt enumeration of + + + + Returns the first element in the , or a default value if no element is found. + + The type of the elements of + An to return an element from. + A that can halt enumeration of + + + + Returns the first element in a sequence that satisfies a specified condition, or a default value if no element is found. + + The type of the elements of + An to return an element from. + A function to test each element for a condition. + A that can halt enumeration of + + + + Projects each element of a sequence into a new form. + + The type of the elements of + The type of the value returned by . + A sequence of values to invoke a transform function on. + A transform function to apply to each element. + + + + Projects each element of a sequence into a new form. + + The type of the elements of + The type of the value returned by . + 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. + + + + Projects each element of a sequence to an IAsyncEnumerable<T> and flattens the resulting sequences into one sequence. + + The type of the elements of . + The type of the value in the IAsyncEnumerable returned by . + A sequence of values to invoke a transform function on. + A transform function to apply to each source element. + + + + Projects each element of a sequence to an IAsyncEnumerable<T> and flattens the resulting sequences into one sequence. + + The type of the elements of . + The type of the intermediate elements collected by . + The type of the elements of the resulting sequence by . + A sequence of values to invoke a transform function on. + A transform function to apply to each element of the input sequence. + A transform function to apply to each element of the intermediate sequence. + + + + Projects each element of a sequence to an IAsyncEnumerable<T> and flattens the resulting sequences into one sequence. + + The type of the elements of . + The type of the value in the IAsyncEnumerable returned by . + A sequence of values to invoke a transform function on. + A transform function to apply to each source element. + + + + Projects each element of a sequence to an IAsyncEnumerable<T> and flattens the resulting sequences into one sequence. + + The type of the elements of . + The type of the intermediate elements collected by . + The type of the elements of the resulting sequence by . + A sequence of values to invoke a transform function on. + A transform function to apply to each element of the input sequence. + A transform function to apply to each element of the intermediate sequence. + + + + Returns a specified number of contiguous elements from the start of a sequence. + + The type of the elements of + A sequence to return elements from. + The number of elements to return. + + + + Returns elements from a sequence as long as a specified condition is true. + + The type of the elements of + A sequence to return elements from. + A function to test each element for a condition. + + + + Creates a list of elements asynchronously from the enumerable source + + The type of the elements of source + The collection of elements + A cancellation token to cancel the async operation + + + + Creates an array of elements asynchronously from the enumerable source + + The type of the elements of source + The collection of elements + A cancellation token to cancel the async operation + + + + Creates a from an according to a specified key selector function, a comparer, and an element selector function. + + The type of the elements of . + The type of the key returned by . + An to create a from. + A function to extract a key from each element. + A cancellation token to cancel the async operation. + + + + + Creates a from an according to a specified key selector function, a comparer, and an element selector function. + + The type of the elements of . + The type of the key returned by . + An to create a from. + A function to extract a key from each element. + An to compare keys. + A cancellation token to cancel the async operation. + + + + + Creates a from an according to a specified key selector function, a comparer, and an element selector function. + + The type of the elements of . + The type of the key returned by . + The type of the value returned by . + An to create a from. + A function to extract a key from each element. + A transform function to produce a result element value from each element. + A cancellation token to cancel the async operation. + + + + + Creates a from an according to a specified key selector function, a comparer, and an element selector function. + + The type of the elements of . + The type of the key returned by . + The type of the value returned by . + An to create a from. + A function to extract a key from each element. + A transform function to produce a result element value from each element. + An to compare keys. + A cancellation token to cancel the async operation. + + + + + Creates a from an according to a specified key selector function. + + The type of the elements of . + The type of the key returned by . + The to create a from. + A function to extract a key from each element. + A cancellation token to cancel the async operation. + + + + Creates a from an according to a specified key selector function and key comparer. + + The type of the elements of . + The type of the key returned by . + The to create a from. + A function to extract a key from each element. + An to compare keys. + A cancellation token to cancel the async operation. + + + + Creates a from an according to a specified key selector function and an element selector function. + + The type of the elements of . + The type of the key returned by . + The type of the value returned by . + The to create a from. + A function to extract a key from each element. + A transform function to produce a result element value from each element. + A cancellation token to cancel the async operation. + + + + Creates a from an according to a specified key selector function, a comparer and an element selector function. + + The type of the elements of . + The type of the key returned by . + The type of the value returned by . + The to create a from. + A function to extract a key from each element. + A transform function to produce a result element value from each element. + An to compare keys. + A cancellation token to cancel the async operation. + + + + An to return elements from. + + The type of the elements of + An to return elements from. + The number of elements to skip before returning the remaining elements. + + + + Bypasses elements in a sequence as long as a specified condition is true and then returns the remaining elements. + + The type of the elements of + An to return elements from. + A function to test each element for a condition. + + + + Filters a sequence of values based on a predicate. + + The type of the elements of + An to filter. + A function to test each element for a condition. + + + + Projects each element of a sequence into a new form. + + The type of the elements of + An to filter. + A function to test each element for a condition; the second parameter of the function represents the index of the source element. + + + + Casts the elements of an to the specified type. + + The type to cast the elements of to. + An that contains the elements to be cast to type . + + + + Filters the elements of an based on a specified type. + + The type to filter the elements of the sequence on. + The whose elements to filter. + + + + Returns the elements of the specified sequence or the specified value in a singleton collection if the sequence is empty. + + The type of the elements of . + The sequence to return the specified value for if it is empty. + + + + Returns the elements of the specified sequence or the specified value in a singleton collection if the sequence is empty. + + The type of the elements of . + The sequence to return the specified value for if it is empty. + The value to return if the sequence is empty. + + + + Splits the input collection into series of batches. + + The type of the elements of + An to batch. + The maximum number of elements to put in a batch. + + + + Splits the input collection into series of batches. + + The type of the elements of + + The type of a .NET's standard collection that forms a batch. Supported types are: + , , , , + , , , + , , . + + An to batch. + The maximum number of elements to put in a batch. + + + + Splits the input collection into series of batches. + + The type of the elements of + An to batch. + The maximum logical weight of elements that a single batch can accomodate. + A function that computes a weight of a particular element, which is used to make a decision if it can fit into a batch. + + + + Splits the input collection into series of batches. + + The type of the elements of + + The type of a .NET's standard collection that forms a batch. Supported types are: + , , , , + , , , + , , . + + An to batch. + The maximum logical weight of elements that a single batch can accomodate. + A function that computes a weight of a particular element, which is used to make a decision if it can fit into a batch. + + + + Splits the input collection into series of batches. + + The type of the elements of + An to batch. + The maximum number of elements to put in a batch regardless their total weight. + The maximum logical weight of elements that a single batch can accomodate. + A function that computes a weight of a particular element, which is used to make a decision if it can fit into a batch. + + + + Splits the input collection into series of batches. + + The type of the elements of + + The type of a .NET's standard collection that forms a batch. Supported types are: + , , , , + , , , + , , . + + An to batch. + The maximum number of elements to put in a batch regardless their total weight. + The maximum logical weight of elements that a single batch can accomodate. + A function that computes a weight of a particular element, which is used to make a decision if it can fit into a batch. + + + + Splits the input collection into series of batches. + + The type of the elements of + The type of a batch of elements. + An to batch. + The maximum number of elements to put in a batch regardless their total weight. + The maximum logical weight of elements that a single batch can accomodate. + A function that computes a weight of a particular element, which is used to make a decision if it can fit into a batch. + A function that creates a new batch with optional suggested capacity. + An action that adds an element to a batch. + + + + Produces the set union of two sequences, which includes duplicate elements. + + The type of the elements of the input sequences. + An whose elements form the first set for the union. + An whose elements form the second set for the union. + + + + Produces the set union of multiple sequences, which includes duplicate elements. + + The type of the elements of the input sequences. + A set of whose elements form the union. + + + + Creates a new sequence based on input one plus an extra element at the end. + + The type of the elements of . + An to return the single element of. + An extra element to be returned on enumeration. + + + + Creates a new sequence based on input one plus an extra element in the beginning. + + The type of the elements of . + An to return the single element of. + An extra element to be returned on enumeration. + + + + Concatenates two sequences. + + The type of the elements of the input sequences. + The first sequence to concatenate. + The sequence to concatenate to the first sequence. + + + + Returns distinct elements from a sequence by using the default equality comparer to compare values. + + The type of the elements of . + The sequence to remove duplicate elements from. + + + + Returns distinct elements from a sequence by using a specified to compare values. + + The type of the elements of . + The sequence to remove duplicate elements from. + An to compare values. + + + + Applies an accumulator function over a sequence. + + The type of the elements of . + An to aggregate over. + An accumulator function to be invoked on each element. + A cancellation token to cancel the async operation. + + + + Applies an accumulator function over a sequence. The specified seed value is used as the initial accumulator value. + + The type of the elements of . + The type of the accumulator value. + An to aggregate over. + The initial accumulator value. + An accumulator function to be invoked on each element. + A cancellation token to cancel the async operation. + + + + 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. + + The type of the elements of . + The type of the accumulator value. + The type of the resulting value. + An 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. + A cancellation token to cancel the async operation. + + + + Determines whether all elements of a sequence satisfy a condition. + + An that contains the elements to apply the predicate to. + A function to test each element for a condition. + A cancellation token to cancel the async operation. + The type of the elements of . + true if every element of the source sequence passes the test in the specified predicate, or if the sequence is empty; otherwise, false. + or is null. + + + + Determines whether any element of a sequence exists or satisfies a condition. + + An that contains the elements to apply the predicate to. + A function to test each element for a condition. + A cancellation token to cancel the async operation. + The type of the elements of . + true if any elements in the source sequence pass the test in the specified predicate; otherwise, false. + or is null. + + + + Extension methods for interface + + + + + Returns the only element of a sequence, and throws an exception if there is not exactly one element in the sequence. + + The type of the elements of . + An to return the single element of. + Flag to call the on input when this operation is complete + + + + Returns the only element of a sequence, and throws an exception if there is not exactly one element in the sequence. + + The type of the elements of . + An to return the single element of. + The message of an exception which is thrown when the source collection is empty. + The message of an exception which is thrown when the source collection has more than one element. + Flag to call the on input when this operation is complete + + + + Returns the only element of a sequence, and throws an exception if there is not exactly one element in the sequence that matches the criteria. + + The type of the elements of . + An to return the single element of. + Criteria predicate to select the only element. + Flag to call the on input when this operation is complete + + + + Returns the only element of a sequence, and throws an exception if there is not exactly one element in the sequence that matches the criteria. + + The type of the elements of . + An to return the single element of. + Criteria predicate to select the only element. + The message of an exception which is thrown when the source collection is has no element matching the criteria. + The message of an exception which is thrown when the source collection has more than one element matching the criteria. + Flag to call the on input when this operation is complete + + + + Returns the only element of a sequence, and returns a default value if there is not exactly one element in the sequence. + + The type of the elements of . + An to return the single element of. + Flag to call the on input when this operation is complete + + + + Returns the only element of a sequence, and returns a default value if there is not exactly one element in the sequence that matches the criteria. + + The type of the elements of . + An to return the single element of. + Criteria predicate to select the only element. + Flag to call the on input when this operation is complete + + + + Returns the first element in the . + + The type of the elements of + An to return an element from. + Flag to call the on input when this operation is complete + + + + Returns the first element in the . + + The type of the elements of + An to return an element from. + An optional custom exception message for the case when the is empty + Flag to call the on input when this operation is complete + + + + Returns the first element in a sequence that satisfies a specified condition. + + The type of the elements of + An to return an element from. + A function to test each element for a condition. + Flag to call the on input when this operation is complete + + + + Returns the first element in a sequence that satisfies a specified condition. + + The type of the elements of + An to return an element from. + A function to test each element for a condition. + An optional custom exception message for the case when the is empty + Flag to call the on input when this operation is complete + + + + Returns the first element in the , or a default value if no element is found. + + The type of the elements of + An to return an element from. + Flag to call the on input when this operation is complete + + + + Returns the first element in a sequence that satisfies a specified condition, or a default value if no element is found. + + The type of the elements of + An to return an element from. + A function to test each element for a condition. + Flag to call the on input when this operation is complete + + + + Projects each element of a sequence into a new form. + + The type of the elements of + The type of the value returned by . + A sequence of values to invoke a transform function on. + A transform function to apply to each element. + Flag to call the on input when enumeration is complete + + + + Projects each element of a sequence into a new form. + + The type of the elements of + The type of the value returned by . + 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. + Flag to call the on input when enumeration is complete + + + + Returns a specified number of contiguous elements from the start of a sequence. + + The type of the elements of + A sequence to return elements from. + The number of elements to return. + Flag to call the on input when enumeration is complete + + + + Returns elements from a sequence as long as a specified condition is true. + + The type of the elements of + A sequence to return elements from. + A function to test each element for a condition. + Flag to call the on input when enumeration is complete + + + + Creates a list of elements asynchronously from the enumerable source + + The type of the elements of source + The collection of elements + Flag to call the on input when this operation is complete + + + + Creates an array of elements asynchronously from the enumerable source + + The type of the elements of source + The collection of elements + Flag to call the on input when this operation is complete + + + + An to return elements from. + + The type of the elements of + An to return elements from. + The number of elements to skip before returning the remaining elements. + Flag to call the on input when enumeration is complete + + + + Bypasses elements in a sequence as long as a specified condition is true and then returns the remaining elements. + + The type of the elements of + An to return elements from. + A function to test each element for a condition. + Flag to call the on input when enumeration is complete + + + + Filters a sequence of values based on a predicate. + + The type of the elements of + An to filter. + A function to test each element for a condition. + Flag to call the on input when enumeration is complete + + + + Projects each element of a sequence into a new form. + + The type of the elements of + An to filter. + A function to test each element for a condition; the second parameter of the function represents the index of the source element. + Flag to call the on input when enumeration is complete + + + + Casts the elements of an to the specified type. + + The type to cast the elements of to. + An that contains the elements to be cast to type . + Flag to call the on input when enumeration is complete + + + + Returns the elements of the specified sequence or the specified value in a singleton collection if the sequence is empty. + + The type of the elements of . + The sequence to return the specified value for if it is empty. + Flag to call the on input when enumeration is complete + + + + Returns the elements of the specified sequence or the specified value in a singleton collection if the sequence is empty. + + The type of the elements of . + The sequence to return the specified value for if it is empty. + The value to return if the sequence is empty. + Flag to call the on input when enumeration is complete + + + + Splits the input collection into series of batches. + + The type of the elements of + An to batch. + The maximum number of elements to put in a batch. + Flag to call the on input when enumeration is complete + + + + Splits the input collection into series of batches. + + The type of the elements of + + The type of a .NET's standard collection that forms a batch. Supported types are: + , , , , + , , , + , , . + + An to batch. + The maximum number of elements to put in a batch. + Flag to call the on input when enumeration is complete + + + + Splits the input collection into series of batches. + + The type of the elements of + An to batch. + The maximum logical weight of elements that a single batch can accomodate. + A function that computes a weight of a particular element, which is used to make a decision if it can fit into a batch. + Flag to call the on input when enumeration is complete + + + + Splits the input collection into series of batches. + + The type of the elements of + + The type of a .NET's standard collection that forms a batch. Supported types are: + , , , , + , , , + , , . + + An to batch. + The maximum logical weight of elements that a single batch can accomodate. + A function that computes a weight of a particular element, which is used to make a decision if it can fit into a batch. + Flag to call the on input when enumeration is complete + + + + Splits the input collection into series of batches. + + The type of the elements of + An to batch. + The maximum number of elements to put in a batch regardless their total weight. + The maximum logical weight of elements that a single batch can accomodate. + A function that computes a weight of a particular element, which is used to make a decision if it can fit into a batch. + Flag to call the on input when enumeration is complete + + + + Splits the input collection into series of batches. + + The type of the elements of + + The type of a .NET's standard collection that forms a batch. Supported types are: + , , , , + , , , + , , . + + An to batch. + The maximum number of elements to put in a batch regardless their total weight. + The maximum logical weight of elements that a single batch can accomodate. + A function that computes a weight of a particular element, which is used to make a decision if it can fit into a batch. + Flag to call the on input when enumeration is complete + + + + Splits the input collection into series of batches. + + The type of the elements of + The type of a batch of elements. + An to batch. + The maximum number of elements to put in a batch regardless their total weight. + The maximum logical weight of elements that a single batch can accomodate. + A function that computes a weight of a particular element, which is used to make a decision if it can fit into a batch. + A function that creates a new batch with optional suggested capacity. + An action that adds an element to a batch. + Flag to call the on input when enumeration is complete + + + + Produces the set union of two sequences, which includes duplicate elements. + + The type of the elements of the input sequences. + An whose elements form the first set for the union. + An whose elements form the second set for the union. + Flag to call the on input and when enumeration is complete. + + + + Produces the set union of multiple sequences, which includes duplicate elements. + + The type of the elements of the input sequences. + A set of whose elements form the union. + Flag to call the on all input when enumeration is complete. + + + + Used in ParallelForEachAsync<T> extension method + + + + + Constructor + + + + + Extensions methods for IEnumerable and IAsyncEnumerable to do parallel for-each loop in async-await manner + + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item, where first argument is the item and second argument is item's index in the collection + Maximum items to schedule processing in parallel. The actual concurrency level depends on TPL settings. Set to 0 to choose a default value based on processor count. + Set to True to stop processing items when first exception occurs. The result might contain several exceptions though when faulty tasks finish at the same time. + If True (the default behavior), waits on completion for all started tasks when the loop breaks due to cancellation or an exception + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item, where first argument is the item and second argument is item's index in the collection + Maximum items to schedule processing in parallel. The actual concurrency level depends on TPL settings. Set to 0 to choose a default value based on processor count. + Set to True to stop processing items when first exception occurs. The result might contain several exceptions though when faulty tasks finish at the same time. + If True (the default behavior), waits on completion for all started tasks when the loop breaks due to cancellation or an exception + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item, where first argument is the item and second argument is item's index in the collection + Maximum items to schedule processing in parallel. The actual concurrency level depends on TPL settings. Set to 0 to choose a default value based on processor count. + Set to True to stop processing items when first exception occurs. The result might contain several exceptions though when faulty tasks finish at the same time. + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item, where first argument is the item and second argument is item's index in the collection + Maximum items to schedule processing in parallel. The actual concurrency level depends on TPL settings. Set to 0 to choose a default value based on processor count. + Set to True to stop processing items when first exception occurs. The result might contain several exceptions though when faulty tasks finish at the same time. + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item, where first argument is the item and second argument is item's index in the collection + Maximum items to schedule processing in parallel. The actual concurrency level depends on TPL settings. Set to 0 to choose a default value based on processor count. + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item, where first argument is the item and second argument is item's index in the collection + Maximum items to schedule processing in parallel. The actual concurrency level depends on TPL settings. Set to 0 to choose a default value based on processor count. + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item, where first argument is the item and second argument is item's index in the collection + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item, where first argument is the item and second argument is item's index in the collection + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item + Maximum items to schedule processing in parallel. The actual concurrency level depends on TPL settings. Set to 0 to choose a default value based on processor count. + Set to True to stop processing items when first exception occurs. The result might contain several exceptions though when faulty tasks finish at the same time. + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item + Maximum items to schedule processing in parallel. The actual concurrency level depends on TPL settings. Set to 0 to choose a default value based on processor count. + Set to True to stop processing items when first exception occurs. The result might contain several exceptions though when faulty tasks finish at the same time. + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item + Maximum items to schedule processing in parallel. The actual concurrency level depends on TPL settings. Set to 0 to choose a default value based on processor count. + Set to True to stop processing items when first exception occurs. The result might contain several exceptions though when faulty tasks finish at the same time. + If True (the default behavior), waits on completion for all started tasks when the loop breaks due to cancellation or an exception + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item + Maximum items to schedule processing in parallel. The actual concurrency level depends on TPL settings. Set to 0 to choose a default value based on processor count. + Set to True to stop processing items when first exception occurs. The result might contain several exceptions though when faulty tasks finish at the same time. + If True (the default behavior), waits on completion for all started tasks when the loop breaks due to cancellation or an exception + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item + Maximum items to schedule processing in parallel. The actual concurrency level depends on TPL settings. Set to 0 to choose a default value based on processor count. + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item + Maximum items to schedule processing in parallel. The actual concurrency level depends on TPL settings. Set to 0 to choose a default value based on processor count. + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item, where first argument is the item and second argument is item's index in the collection + Maximum items to schedule processing in parallel. The actual concurrency level depends on TPL settings. Set to 0 to choose a default value based on processor count. + Set to True to stop processing items when first exception occurs. The result might contain several exceptions though when faulty tasks finish at the same time. + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item, where first argument is the item and second argument is item's index in the collection + Maximum items to schedule processing in parallel. The actual concurrency level depends on TPL settings. Set to 0 to choose a default value based on processor count. + Set to True to stop processing items when first exception occurs. The result might contain several exceptions though when faulty tasks finish at the same time. + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item, where first argument is the item and second argument is item's index in the collection + Maximum items to schedule processing in parallel. The actual concurrency level depends on TPL settings. Set to 0 to choose a default value based on processor count. + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item, where first argument is the item and second argument is item's index in the collection + Maximum items to schedule processing in parallel. The actual concurrency level depends on TPL settings. Set to 0 to choose a default value based on processor count. + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item, where first argument is the item and second argument is item's index in the collection + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item, where first argument is the item and second argument is item's index in the collection + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item + Maximum items to schedule processing in parallel. The actual concurrency level depends on TPL settings. Set to 0 to choose a default value based on processor count. + Set to True to stop processing items when first exception occurs. The result might contain several exceptions though when faulty tasks finish at the same time. + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item + Maximum items to schedule processing in parallel. The actual concurrency level depends on TPL settings. Set to 0 to choose a default value based on processor count. + Set to True to stop processing items when first exception occurs. The result might contain several exceptions though when faulty tasks finish at the same time. + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item + Maximum items to schedule processing in parallel. The actual concurrency level depends on TPL settings. Set to 0 to choose a default value based on processor count. + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item + Maximum items to schedule processing in parallel. The actual concurrency level depends on TPL settings. Set to 0 to choose a default value based on processor count. + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Exposes an asynchronous enumerator, which supports a simple iteration over a non-generic collection + + + + + Creates an enumerator that iterates through a collection asynchronously + + A cancellation token to cancel creation of the enumerator in case if it takes a lot of time + Returns a task with the created enumerator as result on completion + + + + Supports a simple asynchronous iteration over a non-generic collection + + + + + Gets the current element in the collection. + + + + + Advances the enumerator to the next element of the collection asynchronously + + Returns a Task that does transition to the next element. The result of the task is True if the enumerator was successfully advanced to the next element, or False if the enumerator has passed the end of the collection. + + + + Internal base type for and + + + + + Utility methods for + + + + + Forcibly disables re-use of instances in the method. + This is just a safety switch in case when something goes wrong with re-using instances of . + + + + + Resets a to initial incomplete state. + This method by default re-uses the same instance of the by re-setting internal state of its using reflection. + If such feature is not available or explicitly disable with the method, it just returns a new instance of a . + + Type of the result value + Target to be reset or recreated. It's safe to pass null. + Optional state object that you pass into constructor. + + + diff --git a/packages/AsyncEnumerator.4.0.2/lib/netstandard1.4/AsyncEnumerable.dll b/packages/AsyncEnumerator.4.0.2/lib/netstandard1.4/AsyncEnumerable.dll new file mode 100755 index 0000000..67a49fa Binary files /dev/null and b/packages/AsyncEnumerator.4.0.2/lib/netstandard1.4/AsyncEnumerable.dll differ diff --git a/packages/AsyncEnumerator.4.0.2/lib/netstandard1.4/AsyncEnumerable.xml b/packages/AsyncEnumerator.4.0.2/lib/netstandard1.4/AsyncEnumerable.xml new file mode 100755 index 0000000..949167e --- /dev/null +++ b/packages/AsyncEnumerator.4.0.2/lib/netstandard1.4/AsyncEnumerable.xml @@ -0,0 +1,1812 @@ + + + + AsyncEnumerable + + + + + Base abstract class that implements . + Use concrete implementation or . + + + + + Returns pre-cached empty collection + + + + + Helps to enumerate items in a collection asynchronously + + + + IAsyncEnumerable<int> ProduceNumbers(int start, int end) + { + return new AsyncEnumerable<int>(async yield => { + for (int number = start; number <= end; number++) + await yield.ReturnAsync(number); + }); + } + + async Task ConsumeAsync() + { + var asyncEnumerableCollection = ProduceNumbers(start: 1, end: 10); + await asyncEnumerableCollection.ForEachAsync(async number => { + await Console.Out.WriteLineAsync(number); + }); + } + + + + + + A pre-cached empty collection + + + + + Constructor + + A function that enumerates items in a collection asynchronously + + + + Creates an enumerator that iterates through a collection asynchronously + + A cancellation token to cancel creation of the enumerator in case if it takes a lot of time + Returns a task with the created enumerator as result on completion + + + + Similar to , but allows you to pass a state object into the enumeration function, what can be + used for performance optimization, so don't have to create a delegate on the fly every single time you create the enumerator. + + Type of items returned by + Type of the state object + + + + Constructor + + A function that enumerates items in a collection asynchronously + A state object that is passed to the + + + + A user state that gets passed into the enumeration function. + + + + + Creates an enumerator that iterates through a collection asynchronously + + Returns a task with the created enumerator as result on completion + + + + Creates an enumerator that iterates through a collection asynchronously + + Returns a task with the created enumerator as result on completion + + + + This exception is thrown when you call + or when the enumerator is disposed before reaching the end of enumeration. + + + + + Base type for and + + + + + Returns an empty . Safe to use by multiple threads. + + + + + Helps to enumerate items in a collection asynchronously. + Provides exactly the same functionality as , + but allows to pass a user state object in the enumeration function, + what can be used for performance optimization. + + + + + Constructor + + A function that enumerates items in a collection asynchronously + Any state object that is passed to the + Optional action that gets invoked on Dispose() + + + + Finalizer + + + + + A user state that gets passed into the enumeration function. + + + + + Gets the element in the collection at the current position of the enumerator + + + + + Tells if enumeration is complete. Returns True only after MoveNextAsync returns False. + + + + + Advances the enumerator to the next element of the collection asynchronously + + Returns a Task that does transition to the next element. The result of the task is True if the enumerator was successfully advanced to the next element, or False if the enumerator has passed the end of the collection. + + + + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources + + + + + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources + + + + + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources + + True if called from Dispose() method, otherwise False - called by GC + + + + Helps to enumerate items in a collection asynchronously + + + + + An empty . Safe to use by multiple threads. + + + + + The asynchronous version of the 'yield' construction + + + + + Gets the cancellation token that was passed to the method + + + + + Yields an item asynchronously (similar to 'yield return' statement) + + The item of the collection to yield + Returns a Task which tells if when you can continue to yield the next item + + + + Stops iterating items in the collection (similar to 'yield break' statement) + + Always throws this exception to stop the enumeration task + + + + Constructor + + A function that enumerates items in a collection asynchronously + Optional action that gets invoked on Dispose() + + + + Internal implementation details + + + + + Converts generic IEnumerable to IAsyncEnumerable + + + + + Creates adapter for + + The instance of to convert + If True the enumeration will be performed on the same thread, otherwise the MoveNext will be executed on a separate thread with Task.Run method + Returns an instance of implementation + + + + Converts generic IEnumerable to IAsyncEnumerable + + + + + Creates adapter for + + The element type + The instance of to convert + If True the enumeration will be performed on the same thread, otherwise the MoveNext will be executed on a separate thread with Task.Run method + Returns an instance of implementation + + + + Creates adapter for the enumerator of + + The element type + The instance of to convert + If True the enumeration will be performed on the same thread, otherwise the MoveNext will be executed on a separate thread with Task.Run method + Returns an instance of implementation + + + + Creates adapter for + + The element type + The instance of to convert + If True the enumeration will be performed on the same thread, otherwise the MoveNext will be executed on a separate thread with Task.Run method + Returns an instance of implementation + + + + Extension methods for for backward compatibility with version 1 of this libraray. + Not recommended to use. + + + + + Converts to . + This method is marked as [Obsolete] to discourage you from doing such conversion, + which defeats the whole purpose of having a non-blocking async enumeration, + and what might lead to dead-locks in ASP.NET or WPF applications. + + + + + Converts to . + This method is marked as [Obsolete] to discourage you from doing such conversion, + which defeats the whole purpose of having a non-blocking async enumeration, + and what might lead to dead-locks in ASP.NET or WPF applications. + + + + + Creates an enumerator that iterates through a collection synchronously. + This method is marked as [Obsolete] to discourage you from using this synchronous version of + the method instead of , + what might lead to dead-locks in ASP.NET or WPF applications. + + + + + Advances the enumerator to the next element of the collection synchronously. + This method is marked as [Obsolete] to discourage you from using this synchronous version of + the method instead of , + what might lead to dead-locks in ASP.NET or WPF applications. + + + + + Converts to . + This method is marked as [Obsolete] to discourage you from doing such conversion, + which defeats the whole purpose of having a non-blocking async enumeration, + and what might lead to dead-locks in ASP.NET or WPF applications. + + + + + Converts to . + This method is marked as [Obsolete] to discourage you from doing such conversion, + which defeats the whole purpose of having a non-blocking async enumeration, + and what might lead to dead-locks in ASP.NET or WPF applications. + + + + + Creates an enumerator that iterates through a collection synchronously. + This method is marked as [Obsolete] to discourage you from using this synchronous version of + the method instead of , + what might lead to dead-locks in ASP.NET or WPF applications. + + + + + Class to provide access to static method. + + + + + Stops ForEachAsync iteration (similar to 'break' statement) + + Always throws this exception to stop the ForEachAsync iteration + + + + This exception is thrown when you call . + + + + + Enables asynchronous 'foreach' enumeration over an IAsyncEnumerable + + + + + Enumerates over all elements in the collection asynchronously + + The collection of elements which can be enumerated asynchronously + A synchronous action to perform for every single item in the collection + A cancellation token to stop enumerating + Returns a Task which does enumeration over elements in the collection + + + + Enumerates over all elements in the collection asynchronously + + The collection of elements which can be enumerated asynchronously + A synchronous action to perform for every single item in the collection + Returns a Task which does enumeration over elements in the collection + + + + Enumerates over all elements in the collection asynchronously + + The collection of elements which can be enumerated asynchronously + A synchronous action to perform for every single item in the collection, where the second argument is the index of an item + A cancellation token to stop enumerating + Returns a Task which does enumeration over elements in the collection + + + + Enumerates over all elements in the collection asynchronously + + The collection of elements which can be enumerated asynchronously + A synchronous action to perform for every single item in the collection, where the second argument is the index of an item + Returns a Task which does enumeration over elements in the collection + + + + Enumerates over all elements in the collection asynchronously + + The collection of elements which can be enumerated asynchronously + An asynchronous action to perform for every single item in the collection + A cancellation token to stop enumerating + Returns a Task which does enumeration over elements in the collection + + + + Enumerates over all elements in the collection asynchronously + + The collection of elements which can be enumerated asynchronously + An asynchronous action to perform for every single item in the collection + Returns a Task which does enumeration over elements in the collection + + + + Enumerates over all elements in the collection asynchronously + + The collection of elements which can be enumerated asynchronously + An asynchronous action to perform for every single item in the collection, where the second argument is the index of an item + A cancellation token to stop enumerating + Returns a Task which does enumeration over elements in the collection + + + + Enumerates over all elements in the collection asynchronously + + The collection of elements which can be enumerated asynchronously + An asynchronous action to perform for every single item in the collection, where the second argument is the index of an item + Returns a Task which does enumeration over elements in the collection + + + + Enumerates over all elements in the collection asynchronously + + The type of elements in the collection + The collection of elements which can be enumerated asynchronously + A synchronous action to perform for every single item in the collection + A cancellation token to stop enumerating + Returns a Task which does enumeration over elements in the collection + + + + Enumerates over all elements in the collection asynchronously + + The type of elements in the collection + The collection of elements which can be enumerated asynchronously + A synchronous action to perform for every single item in the collection + Returns a Task which does enumeration over elements in the collection + + + + Enumerates over all elements in the collection asynchronously + + The type of elements in the collection + The collection of elements which can be enumerated asynchronously + A synchronous action to perform for every single item in the collection, where the second argument is the index of an item + A cancellation token to stop enumerating + Returns a Task which does enumeration over elements in the collection + + + + Enumerates over all elements in the collection asynchronously + + The type of elements in the collection + The collection of elements which can be enumerated asynchronously + A synchronous action to perform for every single item in the collection, where the second argument is the index of an item + Returns a Task which does enumeration over elements in the collection + + + + Enumerates over all elements in the collection asynchronously + + The type of elements in the collection + The collection of elements which can be enumerated asynchronously + An asynchronous action to perform for every single item in the collection + A cancellation token to stop enumerating + Returns a Task which does enumeration over elements in the collection + + + + Enumerates over all elements in the collection asynchronously + + The type of elements in the collection + The collection of elements which can be enumerated asynchronously + An asynchronous action to perform for every single item in the collection + Returns a Task which does enumeration over elements in the collection + + + + Enumerates over all elements in the collection asynchronously + + The type of elements in the collection + The collection of elements which can be enumerated asynchronously + An asynchronous action to perform for every single item in the collection, where the second argument is the index of an item + A cancellation token to stop enumerating + Returns a Task which does enumeration over elements in the collection + + + + Enumerates over all elements in the collection asynchronously + + The type of elements in the collection + The collection of elements which can be enumerated asynchronously + An asynchronous action to perform for every single item in the collection, where the second argument is the index of an item + Returns a Task which does enumeration over elements in the collection + + + + Extension methods for interface + + + + + Returns the only element of a sequence, and throws an exception if there is not exactly one element in the sequence. + + The type of the elements of . + An to return the single element of. + A that can halt enumeration of . + + + + Returns the only element of a sequence, and throws an exception if there is not exactly one element in the sequence. + + The type of the elements of . + An to return the single element of. + The message of an exception which is thrown when the source collection is empty. + The message of an exception which is thrown when the source collection has more than one element. + A that can halt enumeration of . + + + + Returns the only element of a sequence, and throws an exception if there is not exactly one element in the sequence that matches the criteria. + + The type of the elements of . + An to return the single element of. + Criteria predicate to select the only element. + A that can halt enumeration of . + + + + Returns the only element of a sequence, and throws an exception if there is not exactly one element in the sequence that matches the criteria. + + The type of the elements of . + An to return the single element of. + Criteria predicate to select the only element. + The message of an exception which is thrown when the source collection is has no element matching the criteria. + The message of an exception which is thrown when the source collection has more than one element matching the criteria. + A that can halt enumeration of . + + + + Returns the only element of a sequence, and returns a default value if there is not exactly one element in the sequence. + + The type of the elements of . + An to return the single element of. + A that can halt enumeration of . + + + + Returns the only element of a sequence, and returns a default value if there is not exactly one element in the sequence that matches the criteria. + + The type of the elements of . + An to return the single element of. + Criteria predicate to select the only element. + A that can halt enumeration of . + + + + Returns the first element in the . + + The type of the elements of + An to return an element from. + A that can halt enumeration of + + + + Returns the first element in the . + + The type of the elements of + An to return an element from. + An optional custom exception message for the case when the is empty + A that can halt enumeration of + + + + Returns the first element in a sequence that satisfies a specified condition. + + The type of the elements of + An to return an element from. + A function to test each element for a condition. + A that can halt enumeration of + + + + Returns the first element in a sequence that satisfies a specified condition. + + The type of the elements of + An to return an element from. + A function to test each element for a condition. + An optional custom exception message for the case when the is empty + A that can halt enumeration of + + + + Returns the first element in the , or a default value if no element is found. + + The type of the elements of + An to return an element from. + A that can halt enumeration of + + + + Returns the first element in a sequence that satisfies a specified condition, or a default value if no element is found. + + The type of the elements of + An to return an element from. + A function to test each element for a condition. + A that can halt enumeration of + + + + Projects each element of a sequence into a new form. + + The type of the elements of + The type of the value returned by . + A sequence of values to invoke a transform function on. + A transform function to apply to each element. + + + + Projects each element of a sequence into a new form. + + The type of the elements of + The type of the value returned by . + 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. + + + + Projects each element of a sequence to an IAsyncEnumerable<T> and flattens the resulting sequences into one sequence. + + The type of the elements of . + The type of the value in the IAsyncEnumerable returned by . + A sequence of values to invoke a transform function on. + A transform function to apply to each source element. + + + + Projects each element of a sequence to an IAsyncEnumerable<T> and flattens the resulting sequences into one sequence. + + The type of the elements of . + The type of the intermediate elements collected by . + The type of the elements of the resulting sequence by . + A sequence of values to invoke a transform function on. + A transform function to apply to each element of the input sequence. + A transform function to apply to each element of the intermediate sequence. + + + + Projects each element of a sequence to an IAsyncEnumerable<T> and flattens the resulting sequences into one sequence. + + The type of the elements of . + The type of the value in the IAsyncEnumerable returned by . + A sequence of values to invoke a transform function on. + A transform function to apply to each source element. + + + + Projects each element of a sequence to an IAsyncEnumerable<T> and flattens the resulting sequences into one sequence. + + The type of the elements of . + The type of the intermediate elements collected by . + The type of the elements of the resulting sequence by . + A sequence of values to invoke a transform function on. + A transform function to apply to each element of the input sequence. + A transform function to apply to each element of the intermediate sequence. + + + + Returns a specified number of contiguous elements from the start of a sequence. + + The type of the elements of + A sequence to return elements from. + The number of elements to return. + + + + Returns elements from a sequence as long as a specified condition is true. + + The type of the elements of + A sequence to return elements from. + A function to test each element for a condition. + + + + Creates a list of elements asynchronously from the enumerable source + + The type of the elements of source + The collection of elements + A cancellation token to cancel the async operation + + + + Creates an array of elements asynchronously from the enumerable source + + The type of the elements of source + The collection of elements + A cancellation token to cancel the async operation + + + + Creates a from an according to a specified key selector function, a comparer, and an element selector function. + + The type of the elements of . + The type of the key returned by . + An to create a from. + A function to extract a key from each element. + A cancellation token to cancel the async operation. + + + + + Creates a from an according to a specified key selector function, a comparer, and an element selector function. + + The type of the elements of . + The type of the key returned by . + An to create a from. + A function to extract a key from each element. + An to compare keys. + A cancellation token to cancel the async operation. + + + + + Creates a from an according to a specified key selector function, a comparer, and an element selector function. + + The type of the elements of . + The type of the key returned by . + The type of the value returned by . + An to create a from. + A function to extract a key from each element. + A transform function to produce a result element value from each element. + A cancellation token to cancel the async operation. + + + + + Creates a from an according to a specified key selector function, a comparer, and an element selector function. + + The type of the elements of . + The type of the key returned by . + The type of the value returned by . + An to create a from. + A function to extract a key from each element. + A transform function to produce a result element value from each element. + An to compare keys. + A cancellation token to cancel the async operation. + + + + + Creates a from an according to a specified key selector function. + + The type of the elements of . + The type of the key returned by . + The to create a from. + A function to extract a key from each element. + A cancellation token to cancel the async operation. + + + + Creates a from an according to a specified key selector function and key comparer. + + The type of the elements of . + The type of the key returned by . + The to create a from. + A function to extract a key from each element. + An to compare keys. + A cancellation token to cancel the async operation. + + + + Creates a from an according to a specified key selector function and an element selector function. + + The type of the elements of . + The type of the key returned by . + The type of the value returned by . + The to create a from. + A function to extract a key from each element. + A transform function to produce a result element value from each element. + A cancellation token to cancel the async operation. + + + + Creates a from an according to a specified key selector function, a comparer and an element selector function. + + The type of the elements of . + The type of the key returned by . + The type of the value returned by . + The to create a from. + A function to extract a key from each element. + A transform function to produce a result element value from each element. + An to compare keys. + A cancellation token to cancel the async operation. + + + + An to return elements from. + + The type of the elements of + An to return elements from. + The number of elements to skip before returning the remaining elements. + + + + Bypasses elements in a sequence as long as a specified condition is true and then returns the remaining elements. + + The type of the elements of + An to return elements from. + A function to test each element for a condition. + + + + Filters a sequence of values based on a predicate. + + The type of the elements of + An to filter. + A function to test each element for a condition. + + + + Projects each element of a sequence into a new form. + + The type of the elements of + An to filter. + A function to test each element for a condition; the second parameter of the function represents the index of the source element. + + + + Casts the elements of an to the specified type. + + The type to cast the elements of to. + An that contains the elements to be cast to type . + + + + Filters the elements of an based on a specified type. + + The type to filter the elements of the sequence on. + The whose elements to filter. + + + + Returns the elements of the specified sequence or the specified value in a singleton collection if the sequence is empty. + + The type of the elements of . + The sequence to return the specified value for if it is empty. + + + + Returns the elements of the specified sequence or the specified value in a singleton collection if the sequence is empty. + + The type of the elements of . + The sequence to return the specified value for if it is empty. + The value to return if the sequence is empty. + + + + Splits the input collection into series of batches. + + The type of the elements of + An to batch. + The maximum number of elements to put in a batch. + + + + Splits the input collection into series of batches. + + The type of the elements of + + The type of a .NET's standard collection that forms a batch. Supported types are: + , , , , + , , , + , , . + + An to batch. + The maximum number of elements to put in a batch. + + + + Splits the input collection into series of batches. + + The type of the elements of + An to batch. + The maximum logical weight of elements that a single batch can accomodate. + A function that computes a weight of a particular element, which is used to make a decision if it can fit into a batch. + + + + Splits the input collection into series of batches. + + The type of the elements of + + The type of a .NET's standard collection that forms a batch. Supported types are: + , , , , + , , , + , , . + + An to batch. + The maximum logical weight of elements that a single batch can accomodate. + A function that computes a weight of a particular element, which is used to make a decision if it can fit into a batch. + + + + Splits the input collection into series of batches. + + The type of the elements of + An to batch. + The maximum number of elements to put in a batch regardless their total weight. + The maximum logical weight of elements that a single batch can accomodate. + A function that computes a weight of a particular element, which is used to make a decision if it can fit into a batch. + + + + Splits the input collection into series of batches. + + The type of the elements of + + The type of a .NET's standard collection that forms a batch. Supported types are: + , , , , + , , , + , , . + + An to batch. + The maximum number of elements to put in a batch regardless their total weight. + The maximum logical weight of elements that a single batch can accomodate. + A function that computes a weight of a particular element, which is used to make a decision if it can fit into a batch. + + + + Splits the input collection into series of batches. + + The type of the elements of + The type of a batch of elements. + An to batch. + The maximum number of elements to put in a batch regardless their total weight. + The maximum logical weight of elements that a single batch can accomodate. + A function that computes a weight of a particular element, which is used to make a decision if it can fit into a batch. + A function that creates a new batch with optional suggested capacity. + An action that adds an element to a batch. + + + + Produces the set union of two sequences, which includes duplicate elements. + + The type of the elements of the input sequences. + An whose elements form the first set for the union. + An whose elements form the second set for the union. + + + + Produces the set union of multiple sequences, which includes duplicate elements. + + The type of the elements of the input sequences. + A set of whose elements form the union. + + + + Creates a new sequence based on input one plus an extra element at the end. + + The type of the elements of . + An to return the single element of. + An extra element to be returned on enumeration. + + + + Creates a new sequence based on input one plus an extra element in the beginning. + + The type of the elements of . + An to return the single element of. + An extra element to be returned on enumeration. + + + + Concatenates two sequences. + + The type of the elements of the input sequences. + The first sequence to concatenate. + The sequence to concatenate to the first sequence. + + + + Returns distinct elements from a sequence by using the default equality comparer to compare values. + + The type of the elements of . + The sequence to remove duplicate elements from. + + + + Returns distinct elements from a sequence by using a specified to compare values. + + The type of the elements of . + The sequence to remove duplicate elements from. + An to compare values. + + + + Applies an accumulator function over a sequence. + + The type of the elements of . + An to aggregate over. + An accumulator function to be invoked on each element. + A cancellation token to cancel the async operation. + + + + Applies an accumulator function over a sequence. The specified seed value is used as the initial accumulator value. + + The type of the elements of . + The type of the accumulator value. + An to aggregate over. + The initial accumulator value. + An accumulator function to be invoked on each element. + A cancellation token to cancel the async operation. + + + + 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. + + The type of the elements of . + The type of the accumulator value. + The type of the resulting value. + An 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. + A cancellation token to cancel the async operation. + + + + Determines whether all elements of a sequence satisfy a condition. + + An that contains the elements to apply the predicate to. + A function to test each element for a condition. + A cancellation token to cancel the async operation. + The type of the elements of . + true if every element of the source sequence passes the test in the specified predicate, or if the sequence is empty; otherwise, false. + or is null. + + + + Determines whether any element of a sequence exists or satisfies a condition. + + An that contains the elements to apply the predicate to. + A function to test each element for a condition. + A cancellation token to cancel the async operation. + The type of the elements of . + true if any elements in the source sequence pass the test in the specified predicate; otherwise, false. + or is null. + + + + Extension methods for interface + + + + + Returns the only element of a sequence, and throws an exception if there is not exactly one element in the sequence. + + The type of the elements of . + An to return the single element of. + Flag to call the on input when this operation is complete + + + + Returns the only element of a sequence, and throws an exception if there is not exactly one element in the sequence. + + The type of the elements of . + An to return the single element of. + The message of an exception which is thrown when the source collection is empty. + The message of an exception which is thrown when the source collection has more than one element. + Flag to call the on input when this operation is complete + + + + Returns the only element of a sequence, and throws an exception if there is not exactly one element in the sequence that matches the criteria. + + The type of the elements of . + An to return the single element of. + Criteria predicate to select the only element. + Flag to call the on input when this operation is complete + + + + Returns the only element of a sequence, and throws an exception if there is not exactly one element in the sequence that matches the criteria. + + The type of the elements of . + An to return the single element of. + Criteria predicate to select the only element. + The message of an exception which is thrown when the source collection is has no element matching the criteria. + The message of an exception which is thrown when the source collection has more than one element matching the criteria. + Flag to call the on input when this operation is complete + + + + Returns the only element of a sequence, and returns a default value if there is not exactly one element in the sequence. + + The type of the elements of . + An to return the single element of. + Flag to call the on input when this operation is complete + + + + Returns the only element of a sequence, and returns a default value if there is not exactly one element in the sequence that matches the criteria. + + The type of the elements of . + An to return the single element of. + Criteria predicate to select the only element. + Flag to call the on input when this operation is complete + + + + Returns the first element in the . + + The type of the elements of + An to return an element from. + Flag to call the on input when this operation is complete + + + + Returns the first element in the . + + The type of the elements of + An to return an element from. + An optional custom exception message for the case when the is empty + Flag to call the on input when this operation is complete + + + + Returns the first element in a sequence that satisfies a specified condition. + + The type of the elements of + An to return an element from. + A function to test each element for a condition. + Flag to call the on input when this operation is complete + + + + Returns the first element in a sequence that satisfies a specified condition. + + The type of the elements of + An to return an element from. + A function to test each element for a condition. + An optional custom exception message for the case when the is empty + Flag to call the on input when this operation is complete + + + + Returns the first element in the , or a default value if no element is found. + + The type of the elements of + An to return an element from. + Flag to call the on input when this operation is complete + + + + Returns the first element in a sequence that satisfies a specified condition, or a default value if no element is found. + + The type of the elements of + An to return an element from. + A function to test each element for a condition. + Flag to call the on input when this operation is complete + + + + Projects each element of a sequence into a new form. + + The type of the elements of + The type of the value returned by . + A sequence of values to invoke a transform function on. + A transform function to apply to each element. + Flag to call the on input when enumeration is complete + + + + Projects each element of a sequence into a new form. + + The type of the elements of + The type of the value returned by . + 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. + Flag to call the on input when enumeration is complete + + + + Returns a specified number of contiguous elements from the start of a sequence. + + The type of the elements of + A sequence to return elements from. + The number of elements to return. + Flag to call the on input when enumeration is complete + + + + Returns elements from a sequence as long as a specified condition is true. + + The type of the elements of + A sequence to return elements from. + A function to test each element for a condition. + Flag to call the on input when enumeration is complete + + + + Creates a list of elements asynchronously from the enumerable source + + The type of the elements of source + The collection of elements + Flag to call the on input when this operation is complete + + + + Creates an array of elements asynchronously from the enumerable source + + The type of the elements of source + The collection of elements + Flag to call the on input when this operation is complete + + + + An to return elements from. + + The type of the elements of + An to return elements from. + The number of elements to skip before returning the remaining elements. + Flag to call the on input when enumeration is complete + + + + Bypasses elements in a sequence as long as a specified condition is true and then returns the remaining elements. + + The type of the elements of + An to return elements from. + A function to test each element for a condition. + Flag to call the on input when enumeration is complete + + + + Filters a sequence of values based on a predicate. + + The type of the elements of + An to filter. + A function to test each element for a condition. + Flag to call the on input when enumeration is complete + + + + Projects each element of a sequence into a new form. + + The type of the elements of + An to filter. + A function to test each element for a condition; the second parameter of the function represents the index of the source element. + Flag to call the on input when enumeration is complete + + + + Casts the elements of an to the specified type. + + The type to cast the elements of to. + An that contains the elements to be cast to type . + Flag to call the on input when enumeration is complete + + + + Returns the elements of the specified sequence or the specified value in a singleton collection if the sequence is empty. + + The type of the elements of . + The sequence to return the specified value for if it is empty. + Flag to call the on input when enumeration is complete + + + + Returns the elements of the specified sequence or the specified value in a singleton collection if the sequence is empty. + + The type of the elements of . + The sequence to return the specified value for if it is empty. + The value to return if the sequence is empty. + Flag to call the on input when enumeration is complete + + + + Splits the input collection into series of batches. + + The type of the elements of + An to batch. + The maximum number of elements to put in a batch. + Flag to call the on input when enumeration is complete + + + + Splits the input collection into series of batches. + + The type of the elements of + + The type of a .NET's standard collection that forms a batch. Supported types are: + , , , , + , , , + , , . + + An to batch. + The maximum number of elements to put in a batch. + Flag to call the on input when enumeration is complete + + + + Splits the input collection into series of batches. + + The type of the elements of + An to batch. + The maximum logical weight of elements that a single batch can accomodate. + A function that computes a weight of a particular element, which is used to make a decision if it can fit into a batch. + Flag to call the on input when enumeration is complete + + + + Splits the input collection into series of batches. + + The type of the elements of + + The type of a .NET's standard collection that forms a batch. Supported types are: + , , , , + , , , + , , . + + An to batch. + The maximum logical weight of elements that a single batch can accomodate. + A function that computes a weight of a particular element, which is used to make a decision if it can fit into a batch. + Flag to call the on input when enumeration is complete + + + + Splits the input collection into series of batches. + + The type of the elements of + An to batch. + The maximum number of elements to put in a batch regardless their total weight. + The maximum logical weight of elements that a single batch can accomodate. + A function that computes a weight of a particular element, which is used to make a decision if it can fit into a batch. + Flag to call the on input when enumeration is complete + + + + Splits the input collection into series of batches. + + The type of the elements of + + The type of a .NET's standard collection that forms a batch. Supported types are: + , , , , + , , , + , , . + + An to batch. + The maximum number of elements to put in a batch regardless their total weight. + The maximum logical weight of elements that a single batch can accomodate. + A function that computes a weight of a particular element, which is used to make a decision if it can fit into a batch. + Flag to call the on input when enumeration is complete + + + + Splits the input collection into series of batches. + + The type of the elements of + The type of a batch of elements. + An to batch. + The maximum number of elements to put in a batch regardless their total weight. + The maximum logical weight of elements that a single batch can accomodate. + A function that computes a weight of a particular element, which is used to make a decision if it can fit into a batch. + A function that creates a new batch with optional suggested capacity. + An action that adds an element to a batch. + Flag to call the on input when enumeration is complete + + + + Produces the set union of two sequences, which includes duplicate elements. + + The type of the elements of the input sequences. + An whose elements form the first set for the union. + An whose elements form the second set for the union. + Flag to call the on input and when enumeration is complete. + + + + Produces the set union of multiple sequences, which includes duplicate elements. + + The type of the elements of the input sequences. + A set of whose elements form the union. + Flag to call the on all input when enumeration is complete. + + + + Used in ParallelForEachAsync<T> extension method + + + + + Constructor + + + + + Extensions methods for IEnumerable and IAsyncEnumerable to do parallel for-each loop in async-await manner + + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item, where first argument is the item and second argument is item's index in the collection + Maximum items to schedule processing in parallel. The actual concurrency level depends on TPL settings. Set to 0 to choose a default value based on processor count. + Set to True to stop processing items when first exception occurs. The result might contain several exceptions though when faulty tasks finish at the same time. + If True (the default behavior), waits on completion for all started tasks when the loop breaks due to cancellation or an exception + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item, where first argument is the item and second argument is item's index in the collection + Maximum items to schedule processing in parallel. The actual concurrency level depends on TPL settings. Set to 0 to choose a default value based on processor count. + Set to True to stop processing items when first exception occurs. The result might contain several exceptions though when faulty tasks finish at the same time. + If True (the default behavior), waits on completion for all started tasks when the loop breaks due to cancellation or an exception + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item, where first argument is the item and second argument is item's index in the collection + Maximum items to schedule processing in parallel. The actual concurrency level depends on TPL settings. Set to 0 to choose a default value based on processor count. + Set to True to stop processing items when first exception occurs. The result might contain several exceptions though when faulty tasks finish at the same time. + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item, where first argument is the item and second argument is item's index in the collection + Maximum items to schedule processing in parallel. The actual concurrency level depends on TPL settings. Set to 0 to choose a default value based on processor count. + Set to True to stop processing items when first exception occurs. The result might contain several exceptions though when faulty tasks finish at the same time. + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item, where first argument is the item and second argument is item's index in the collection + Maximum items to schedule processing in parallel. The actual concurrency level depends on TPL settings. Set to 0 to choose a default value based on processor count. + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item, where first argument is the item and second argument is item's index in the collection + Maximum items to schedule processing in parallel. The actual concurrency level depends on TPL settings. Set to 0 to choose a default value based on processor count. + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item, where first argument is the item and second argument is item's index in the collection + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item, where first argument is the item and second argument is item's index in the collection + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item + Maximum items to schedule processing in parallel. The actual concurrency level depends on TPL settings. Set to 0 to choose a default value based on processor count. + Set to True to stop processing items when first exception occurs. The result might contain several exceptions though when faulty tasks finish at the same time. + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item + Maximum items to schedule processing in parallel. The actual concurrency level depends on TPL settings. Set to 0 to choose a default value based on processor count. + Set to True to stop processing items when first exception occurs. The result might contain several exceptions though when faulty tasks finish at the same time. + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item + Maximum items to schedule processing in parallel. The actual concurrency level depends on TPL settings. Set to 0 to choose a default value based on processor count. + Set to True to stop processing items when first exception occurs. The result might contain several exceptions though when faulty tasks finish at the same time. + If True (the default behavior), waits on completion for all started tasks when the loop breaks due to cancellation or an exception + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item + Maximum items to schedule processing in parallel. The actual concurrency level depends on TPL settings. Set to 0 to choose a default value based on processor count. + Set to True to stop processing items when first exception occurs. The result might contain several exceptions though when faulty tasks finish at the same time. + If True (the default behavior), waits on completion for all started tasks when the loop breaks due to cancellation or an exception + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item + Maximum items to schedule processing in parallel. The actual concurrency level depends on TPL settings. Set to 0 to choose a default value based on processor count. + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item + Maximum items to schedule processing in parallel. The actual concurrency level depends on TPL settings. Set to 0 to choose a default value based on processor count. + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item, where first argument is the item and second argument is item's index in the collection + Maximum items to schedule processing in parallel. The actual concurrency level depends on TPL settings. Set to 0 to choose a default value based on processor count. + Set to True to stop processing items when first exception occurs. The result might contain several exceptions though when faulty tasks finish at the same time. + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item, where first argument is the item and second argument is item's index in the collection + Maximum items to schedule processing in parallel. The actual concurrency level depends on TPL settings. Set to 0 to choose a default value based on processor count. + Set to True to stop processing items when first exception occurs. The result might contain several exceptions though when faulty tasks finish at the same time. + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item, where first argument is the item and second argument is item's index in the collection + Maximum items to schedule processing in parallel. The actual concurrency level depends on TPL settings. Set to 0 to choose a default value based on processor count. + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item, where first argument is the item and second argument is item's index in the collection + Maximum items to schedule processing in parallel. The actual concurrency level depends on TPL settings. Set to 0 to choose a default value based on processor count. + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item, where first argument is the item and second argument is item's index in the collection + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item, where first argument is the item and second argument is item's index in the collection + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item + Maximum items to schedule processing in parallel. The actual concurrency level depends on TPL settings. Set to 0 to choose a default value based on processor count. + Set to True to stop processing items when first exception occurs. The result might contain several exceptions though when faulty tasks finish at the same time. + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item + Maximum items to schedule processing in parallel. The actual concurrency level depends on TPL settings. Set to 0 to choose a default value based on processor count. + Set to True to stop processing items when first exception occurs. The result might contain several exceptions though when faulty tasks finish at the same time. + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item + Maximum items to schedule processing in parallel. The actual concurrency level depends on TPL settings. Set to 0 to choose a default value based on processor count. + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item + Maximum items to schedule processing in parallel. The actual concurrency level depends on TPL settings. Set to 0 to choose a default value based on processor count. + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Exposes an asynchronous enumerator, which supports a simple iteration over a non-generic collection + + + + + Creates an enumerator that iterates through a collection asynchronously + + A cancellation token to cancel creation of the enumerator in case if it takes a lot of time + Returns a task with the created enumerator as result on completion + + + + Exposes the asynchronous enumerator, which supports a simple iteration over a collection of typed items + + The type of items in the collection + + + + Creates an enumerator that iterates through a collection asynchronously + + A cancellation token to cancel creation of the enumerator in case if it takes a lot of time + Returns a task with the created enumerator as result on completion + + + + Supports a simple asynchronous iteration over a non-generic collection + + + + + Gets the current element in the collection. + + + + + Advances the enumerator to the next element of the collection asynchronously + + Returns a Task that does transition to the next element. The result of the task is True if the enumerator was successfully advanced to the next element, or False if the enumerator has passed the end of the collection. + + + + Supports a simple asynchronous iteration over a collection of typed items + + The type of items in the collection + + + + Gets the element in the collection at the current position of the enumerator. + + + + + Internal base type for and + + + + + Utility methods for + + + + + Forcibly disables re-use of instances in the method. + This is just a safety switch in case when something goes wrong with re-using instances of . + + + + + Resets a to initial incomplete state. + This method by default re-uses the same instance of the by re-setting internal state of its using reflection. + If such feature is not available or explicitly disable with the method, it just returns a new instance of a . + + Type of the result value + Target to be reset or recreated. It's safe to pass null. + Optional state object that you pass into constructor. + + + diff --git a/packages/AsyncEnumerator.4.0.2/lib/netstandard2.0/AsyncEnumerable.dll b/packages/AsyncEnumerator.4.0.2/lib/netstandard2.0/AsyncEnumerable.dll new file mode 100755 index 0000000..5ef4fca Binary files /dev/null and b/packages/AsyncEnumerator.4.0.2/lib/netstandard2.0/AsyncEnumerable.dll differ diff --git a/packages/AsyncEnumerator.4.0.2/lib/netstandard2.0/AsyncEnumerable.xml b/packages/AsyncEnumerator.4.0.2/lib/netstandard2.0/AsyncEnumerable.xml new file mode 100755 index 0000000..d6838e4 --- /dev/null +++ b/packages/AsyncEnumerator.4.0.2/lib/netstandard2.0/AsyncEnumerable.xml @@ -0,0 +1,1675 @@ + + + + AsyncEnumerable + + + + + Base abstract class that implements . + Use concrete implementation or . + + + + + Returns pre-cached empty collection + + + + + Helps to enumerate items in a collection asynchronously + + + + IAsyncEnumerable<int> ProduceNumbers(int start, int end) + { + return new AsyncEnumerable<int>(async yield => { + for (int number = start; number <= end; number++) + await yield.ReturnAsync(number); + }); + } + + async Task ConsumeAsync() + { + var asyncEnumerableCollection = ProduceNumbers(start: 1, end: 10); + await asyncEnumerableCollection.ForEachAsync(async number => { + await Console.Out.WriteLineAsync(number); + }); + } + + + + + + A pre-cached empty collection + + + + + Constructor + + A function that enumerates items in a collection asynchronously + + + + Creates an enumerator that iterates through a collection asynchronously + + A cancellation token to cancel creation of the enumerator in case if it takes a lot of time + Returns a task with the created enumerator as result on completion + + + + Similar to , but allows you to pass a state object into the enumeration function, what can be + used for performance optimization, so don't have to create a delegate on the fly every single time you create the enumerator. + + Type of items returned by + Type of the state object + + + + Constructor + + A function that enumerates items in a collection asynchronously + A state object that is passed to the + + + + A user state that gets passed into the enumeration function. + + + + + Creates an enumerator that iterates through a collection asynchronously + + Returns a task with the created enumerator as result on completion + + + + Creates an enumerator that iterates through a collection asynchronously + + Returns a task with the created enumerator as result on completion + + + + This exception is thrown when you call + or when the enumerator is disposed before reaching the end of enumeration. + + + + + Base type for and + + + + + Returns an empty . Safe to use by multiple threads. + + + + + Helps to enumerate items in a collection asynchronously. + Provides exactly the same functionality as , + but allows to pass a user state object in the enumeration function, + what can be used for performance optimization. + + + + + Constructor + + A function that enumerates items in a collection asynchronously + Any state object that is passed to the + Optional action that gets invoked on Dispose() + + + + Finalizer + + + + + A user state that gets passed into the enumeration function. + + + + + Gets the element in the collection at the current position of the enumerator + + + + + Tells if enumeration is complete. Returns True only after MoveNextAsync returns False. + + + + + Advances the enumerator to the next element of the collection asynchronously + + Returns a Task that does transition to the next element. The result of the task is True if the enumerator was successfully advanced to the next element, or False if the enumerator has passed the end of the collection. + + + + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources + + + + + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources + + + + + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources + + True if called from Dispose() method, otherwise False - called by GC + + + + Helps to enumerate items in a collection asynchronously + + + + + An empty . Safe to use by multiple threads. + + + + + The asynchronous version of the 'yield' construction + + + + + Gets the cancellation token that was passed to the method + + + + + Yields an item asynchronously (similar to 'yield return' statement) + + The item of the collection to yield + Returns a Task which tells if when you can continue to yield the next item + + + + Stops iterating items in the collection (similar to 'yield break' statement) + + Always throws this exception to stop the enumeration task + + + + Constructor + + A function that enumerates items in a collection asynchronously + Optional action that gets invoked on Dispose() + + + + Internal implementation details + + + + + Converts generic IEnumerable to IAsyncEnumerable + + + + + Creates adapter for + + The element type + The instance of to convert + If True the enumeration will be performed on the same thread, otherwise the MoveNext will be executed on a separate thread with Task.Run method + Returns an instance of implementation + + + + Creates adapter for the enumerator of + + The element type + The instance of to convert + If True the enumeration will be performed on the same thread, otherwise the MoveNext will be executed on a separate thread with Task.Run method + Returns an instance of implementation + + + + Creates adapter for + + The element type + The instance of to convert + If True the enumeration will be performed on the same thread, otherwise the MoveNext will be executed on a separate thread with Task.Run method + Returns an instance of implementation + + + + Extension methods for for backward compatibility with version 1 of this libraray. + Not recommended to use. + + + + + Converts to . + This method is marked as [Obsolete] to discourage you from doing such conversion, + which defeats the whole purpose of having a non-blocking async enumeration, + and what might lead to dead-locks in ASP.NET or WPF applications. + + + + + Converts to . + This method is marked as [Obsolete] to discourage you from doing such conversion, + which defeats the whole purpose of having a non-blocking async enumeration, + and what might lead to dead-locks in ASP.NET or WPF applications. + + + + + Creates an enumerator that iterates through a collection synchronously. + This method is marked as [Obsolete] to discourage you from using this synchronous version of + the method instead of , + what might lead to dead-locks in ASP.NET or WPF applications. + + + + + Class to provide access to static method. + + + + + Stops ForEachAsync iteration (similar to 'break' statement) + + Always throws this exception to stop the ForEachAsync iteration + + + + This exception is thrown when you call . + + + + + Enables asynchronous 'foreach' enumeration over an IAsyncEnumerable + + + + + Enumerates over all elements in the collection asynchronously + + The type of elements in the collection + The collection of elements which can be enumerated asynchronously + A synchronous action to perform for every single item in the collection + A cancellation token to stop enumerating + Returns a Task which does enumeration over elements in the collection + + + + Enumerates over all elements in the collection asynchronously + + The type of elements in the collection + The collection of elements which can be enumerated asynchronously + A synchronous action to perform for every single item in the collection + Returns a Task which does enumeration over elements in the collection + + + + Enumerates over all elements in the collection asynchronously + + The type of elements in the collection + The collection of elements which can be enumerated asynchronously + A synchronous action to perform for every single item in the collection, where the second argument is the index of an item + A cancellation token to stop enumerating + Returns a Task which does enumeration over elements in the collection + + + + Enumerates over all elements in the collection asynchronously + + The type of elements in the collection + The collection of elements which can be enumerated asynchronously + A synchronous action to perform for every single item in the collection, where the second argument is the index of an item + Returns a Task which does enumeration over elements in the collection + + + + Enumerates over all elements in the collection asynchronously + + The type of elements in the collection + The collection of elements which can be enumerated asynchronously + An asynchronous action to perform for every single item in the collection + A cancellation token to stop enumerating + Returns a Task which does enumeration over elements in the collection + + + + Enumerates over all elements in the collection asynchronously + + The type of elements in the collection + The collection of elements which can be enumerated asynchronously + An asynchronous action to perform for every single item in the collection + Returns a Task which does enumeration over elements in the collection + + + + Enumerates over all elements in the collection asynchronously + + The type of elements in the collection + The collection of elements which can be enumerated asynchronously + An asynchronous action to perform for every single item in the collection, where the second argument is the index of an item + A cancellation token to stop enumerating + Returns a Task which does enumeration over elements in the collection + + + + Enumerates over all elements in the collection asynchronously + + The type of elements in the collection + The collection of elements which can be enumerated asynchronously + An asynchronous action to perform for every single item in the collection, where the second argument is the index of an item + Returns a Task which does enumeration over elements in the collection + + + + Extension methods for interface + + + + + Returns the only element of a sequence, and throws an exception if there is not exactly one element in the sequence. + + The type of the elements of . + An to return the single element of. + A that can halt enumeration of . + + + + Returns the only element of a sequence, and throws an exception if there is not exactly one element in the sequence. + + The type of the elements of . + An to return the single element of. + The message of an exception which is thrown when the source collection is empty. + The message of an exception which is thrown when the source collection has more than one element. + A that can halt enumeration of . + + + + Returns the only element of a sequence, and throws an exception if there is not exactly one element in the sequence that matches the criteria. + + The type of the elements of . + An to return the single element of. + Criteria predicate to select the only element. + A that can halt enumeration of . + + + + Returns the only element of a sequence, and throws an exception if there is not exactly one element in the sequence that matches the criteria. + + The type of the elements of . + An to return the single element of. + Criteria predicate to select the only element. + The message of an exception which is thrown when the source collection is has no element matching the criteria. + The message of an exception which is thrown when the source collection has more than one element matching the criteria. + A that can halt enumeration of . + + + + Returns the only element of a sequence, and returns a default value if there is not exactly one element in the sequence. + + The type of the elements of . + An to return the single element of. + A that can halt enumeration of . + + + + Returns the only element of a sequence, and returns a default value if there is not exactly one element in the sequence that matches the criteria. + + The type of the elements of . + An to return the single element of. + Criteria predicate to select the only element. + A that can halt enumeration of . + + + + Returns the first element in the . + + The type of the elements of + An to return an element from. + A that can halt enumeration of + + + + Returns the first element in the . + + The type of the elements of + An to return an element from. + An optional custom exception message for the case when the is empty + A that can halt enumeration of + + + + Returns the first element in a sequence that satisfies a specified condition. + + The type of the elements of + An to return an element from. + A function to test each element for a condition. + A that can halt enumeration of + + + + Returns the first element in a sequence that satisfies a specified condition. + + The type of the elements of + An to return an element from. + A function to test each element for a condition. + An optional custom exception message for the case when the is empty + A that can halt enumeration of + + + + Returns the first element in the , or a default value if no element is found. + + The type of the elements of + An to return an element from. + A that can halt enumeration of + + + + Returns the first element in a sequence that satisfies a specified condition, or a default value if no element is found. + + The type of the elements of + An to return an element from. + A function to test each element for a condition. + A that can halt enumeration of + + + + Projects each element of a sequence into a new form. + + The type of the elements of + The type of the value returned by . + A sequence of values to invoke a transform function on. + A transform function to apply to each element. + + + + Projects each element of a sequence into a new form. + + The type of the elements of + The type of the value returned by . + 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. + + + + Projects each element of a sequence to an IAsyncEnumerable<T> and flattens the resulting sequences into one sequence. + + The type of the elements of . + The type of the value in the IAsyncEnumerable returned by . + A sequence of values to invoke a transform function on. + A transform function to apply to each source element. + + + + Projects each element of a sequence to an IAsyncEnumerable<T> and flattens the resulting sequences into one sequence. + + The type of the elements of . + The type of the intermediate elements collected by . + The type of the elements of the resulting sequence by . + A sequence of values to invoke a transform function on. + A transform function to apply to each element of the input sequence. + A transform function to apply to each element of the intermediate sequence. + + + + Projects each element of a sequence to an IAsyncEnumerable<T> and flattens the resulting sequences into one sequence. + + The type of the elements of . + The type of the value in the IAsyncEnumerable returned by . + A sequence of values to invoke a transform function on. + A transform function to apply to each source element. + + + + Projects each element of a sequence to an IAsyncEnumerable<T> and flattens the resulting sequences into one sequence. + + The type of the elements of . + The type of the intermediate elements collected by . + The type of the elements of the resulting sequence by . + A sequence of values to invoke a transform function on. + A transform function to apply to each element of the input sequence. + A transform function to apply to each element of the intermediate sequence. + + + + Returns a specified number of contiguous elements from the start of a sequence. + + The type of the elements of + A sequence to return elements from. + The number of elements to return. + + + + Returns elements from a sequence as long as a specified condition is true. + + The type of the elements of + A sequence to return elements from. + A function to test each element for a condition. + + + + Creates a list of elements asynchronously from the enumerable source + + The type of the elements of source + The collection of elements + A cancellation token to cancel the async operation + + + + Creates an array of elements asynchronously from the enumerable source + + The type of the elements of source + The collection of elements + A cancellation token to cancel the async operation + + + + Creates a from an according to a specified key selector function, a comparer, and an element selector function. + + The type of the elements of . + The type of the key returned by . + An to create a from. + A function to extract a key from each element. + A cancellation token to cancel the async operation. + + + + + Creates a from an according to a specified key selector function, a comparer, and an element selector function. + + The type of the elements of . + The type of the key returned by . + An to create a from. + A function to extract a key from each element. + An to compare keys. + A cancellation token to cancel the async operation. + + + + + Creates a from an according to a specified key selector function, a comparer, and an element selector function. + + The type of the elements of . + The type of the key returned by . + The type of the value returned by . + An to create a from. + A function to extract a key from each element. + A transform function to produce a result element value from each element. + A cancellation token to cancel the async operation. + + + + + Creates a from an according to a specified key selector function, a comparer, and an element selector function. + + The type of the elements of . + The type of the key returned by . + The type of the value returned by . + An to create a from. + A function to extract a key from each element. + A transform function to produce a result element value from each element. + An to compare keys. + A cancellation token to cancel the async operation. + + + + + Creates a from an according to a specified key selector function. + + The type of the elements of . + The type of the key returned by . + The to create a from. + A function to extract a key from each element. + A cancellation token to cancel the async operation. + + + + Creates a from an according to a specified key selector function and key comparer. + + The type of the elements of . + The type of the key returned by . + The to create a from. + A function to extract a key from each element. + An to compare keys. + A cancellation token to cancel the async operation. + + + + Creates a from an according to a specified key selector function and an element selector function. + + The type of the elements of . + The type of the key returned by . + The type of the value returned by . + The to create a from. + A function to extract a key from each element. + A transform function to produce a result element value from each element. + A cancellation token to cancel the async operation. + + + + Creates a from an according to a specified key selector function, a comparer and an element selector function. + + The type of the elements of . + The type of the key returned by . + The type of the value returned by . + The to create a from. + A function to extract a key from each element. + A transform function to produce a result element value from each element. + An to compare keys. + A cancellation token to cancel the async operation. + + + + An to return elements from. + + The type of the elements of + An to return elements from. + The number of elements to skip before returning the remaining elements. + + + + Bypasses elements in a sequence as long as a specified condition is true and then returns the remaining elements. + + The type of the elements of + An to return elements from. + A function to test each element for a condition. + + + + Filters a sequence of values based on a predicate. + + The type of the elements of + An to filter. + A function to test each element for a condition. + + + + Projects each element of a sequence into a new form. + + The type of the elements of + An to filter. + A function to test each element for a condition; the second parameter of the function represents the index of the source element. + + + + Casts the elements of an to the specified type. + + The type to cast the elements of to. + An that contains the elements to be cast to type . + + + + Filters the elements of an based on a specified type. + + The type to filter the elements of the sequence on. + The whose elements to filter. + + + + Returns the elements of the specified sequence or the specified value in a singleton collection if the sequence is empty. + + The type of the elements of . + The sequence to return the specified value for if it is empty. + + + + Returns the elements of the specified sequence or the specified value in a singleton collection if the sequence is empty. + + The type of the elements of . + The sequence to return the specified value for if it is empty. + The value to return if the sequence is empty. + + + + Splits the input collection into series of batches. + + The type of the elements of + An to batch. + The maximum number of elements to put in a batch. + + + + Splits the input collection into series of batches. + + The type of the elements of + + The type of a .NET's standard collection that forms a batch. Supported types are: + , , , , + , , , + , , . + + An to batch. + The maximum number of elements to put in a batch. + + + + Splits the input collection into series of batches. + + The type of the elements of + An to batch. + The maximum logical weight of elements that a single batch can accomodate. + A function that computes a weight of a particular element, which is used to make a decision if it can fit into a batch. + + + + Splits the input collection into series of batches. + + The type of the elements of + + The type of a .NET's standard collection that forms a batch. Supported types are: + , , , , + , , , + , , . + + An to batch. + The maximum logical weight of elements that a single batch can accomodate. + A function that computes a weight of a particular element, which is used to make a decision if it can fit into a batch. + + + + Splits the input collection into series of batches. + + The type of the elements of + An to batch. + The maximum number of elements to put in a batch regardless their total weight. + The maximum logical weight of elements that a single batch can accomodate. + A function that computes a weight of a particular element, which is used to make a decision if it can fit into a batch. + + + + Splits the input collection into series of batches. + + The type of the elements of + + The type of a .NET's standard collection that forms a batch. Supported types are: + , , , , + , , , + , , . + + An to batch. + The maximum number of elements to put in a batch regardless their total weight. + The maximum logical weight of elements that a single batch can accomodate. + A function that computes a weight of a particular element, which is used to make a decision if it can fit into a batch. + + + + Splits the input collection into series of batches. + + The type of the elements of + The type of a batch of elements. + An to batch. + The maximum number of elements to put in a batch regardless their total weight. + The maximum logical weight of elements that a single batch can accomodate. + A function that computes a weight of a particular element, which is used to make a decision if it can fit into a batch. + A function that creates a new batch with optional suggested capacity. + An action that adds an element to a batch. + + + + Produces the set union of two sequences, which includes duplicate elements. + + The type of the elements of the input sequences. + An whose elements form the first set for the union. + An whose elements form the second set for the union. + + + + Produces the set union of multiple sequences, which includes duplicate elements. + + The type of the elements of the input sequences. + A set of whose elements form the union. + + + + Creates a new sequence based on input one plus an extra element at the end. + + The type of the elements of . + An to return the single element of. + An extra element to be returned on enumeration. + + + + Creates a new sequence based on input one plus an extra element in the beginning. + + The type of the elements of . + An to return the single element of. + An extra element to be returned on enumeration. + + + + Concatenates two sequences. + + The type of the elements of the input sequences. + The first sequence to concatenate. + The sequence to concatenate to the first sequence. + + + + Returns distinct elements from a sequence by using the default equality comparer to compare values. + + The type of the elements of . + The sequence to remove duplicate elements from. + + + + Returns distinct elements from a sequence by using a specified to compare values. + + The type of the elements of . + The sequence to remove duplicate elements from. + An to compare values. + + + + Applies an accumulator function over a sequence. + + The type of the elements of . + An to aggregate over. + An accumulator function to be invoked on each element. + A cancellation token to cancel the async operation. + + + + Applies an accumulator function over a sequence. The specified seed value is used as the initial accumulator value. + + The type of the elements of . + The type of the accumulator value. + An to aggregate over. + The initial accumulator value. + An accumulator function to be invoked on each element. + A cancellation token to cancel the async operation. + + + + 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. + + The type of the elements of . + The type of the accumulator value. + The type of the resulting value. + An 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. + A cancellation token to cancel the async operation. + + + + Determines whether all elements of a sequence satisfy a condition. + + An that contains the elements to apply the predicate to. + A function to test each element for a condition. + A cancellation token to cancel the async operation. + The type of the elements of . + true if every element of the source sequence passes the test in the specified predicate, or if the sequence is empty; otherwise, false. + or is null. + + + + Determines whether any element of a sequence exists or satisfies a condition. + + An that contains the elements to apply the predicate to. + A function to test each element for a condition. + A cancellation token to cancel the async operation. + The type of the elements of . + true if any elements in the source sequence pass the test in the specified predicate; otherwise, false. + or is null. + + + + Extension methods for interface + + + + + Returns the only element of a sequence, and throws an exception if there is not exactly one element in the sequence. + + The type of the elements of . + An to return the single element of. + Flag to call the on input when this operation is complete + + + + Returns the only element of a sequence, and throws an exception if there is not exactly one element in the sequence. + + The type of the elements of . + An to return the single element of. + The message of an exception which is thrown when the source collection is empty. + The message of an exception which is thrown when the source collection has more than one element. + Flag to call the on input when this operation is complete + + + + Returns the only element of a sequence, and throws an exception if there is not exactly one element in the sequence that matches the criteria. + + The type of the elements of . + An to return the single element of. + Criteria predicate to select the only element. + Flag to call the on input when this operation is complete + + + + Returns the only element of a sequence, and throws an exception if there is not exactly one element in the sequence that matches the criteria. + + The type of the elements of . + An to return the single element of. + Criteria predicate to select the only element. + The message of an exception which is thrown when the source collection is has no element matching the criteria. + The message of an exception which is thrown when the source collection has more than one element matching the criteria. + Flag to call the on input when this operation is complete + + + + Returns the only element of a sequence, and returns a default value if there is not exactly one element in the sequence. + + The type of the elements of . + An to return the single element of. + Flag to call the on input when this operation is complete + + + + Returns the only element of a sequence, and returns a default value if there is not exactly one element in the sequence that matches the criteria. + + The type of the elements of . + An to return the single element of. + Criteria predicate to select the only element. + Flag to call the on input when this operation is complete + + + + Returns the first element in the . + + The type of the elements of + An to return an element from. + Flag to call the on input when this operation is complete + + + + Returns the first element in the . + + The type of the elements of + An to return an element from. + An optional custom exception message for the case when the is empty + Flag to call the on input when this operation is complete + + + + Returns the first element in a sequence that satisfies a specified condition. + + The type of the elements of + An to return an element from. + A function to test each element for a condition. + Flag to call the on input when this operation is complete + + + + Returns the first element in a sequence that satisfies a specified condition. + + The type of the elements of + An to return an element from. + A function to test each element for a condition. + An optional custom exception message for the case when the is empty + Flag to call the on input when this operation is complete + + + + Returns the first element in the , or a default value if no element is found. + + The type of the elements of + An to return an element from. + Flag to call the on input when this operation is complete + + + + Returns the first element in a sequence that satisfies a specified condition, or a default value if no element is found. + + The type of the elements of + An to return an element from. + A function to test each element for a condition. + Flag to call the on input when this operation is complete + + + + Projects each element of a sequence into a new form. + + The type of the elements of + The type of the value returned by . + A sequence of values to invoke a transform function on. + A transform function to apply to each element. + Flag to call the on input when enumeration is complete + + + + Projects each element of a sequence into a new form. + + The type of the elements of + The type of the value returned by . + 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. + Flag to call the on input when enumeration is complete + + + + Returns a specified number of contiguous elements from the start of a sequence. + + The type of the elements of + A sequence to return elements from. + The number of elements to return. + Flag to call the on input when enumeration is complete + + + + Returns elements from a sequence as long as a specified condition is true. + + The type of the elements of + A sequence to return elements from. + A function to test each element for a condition. + Flag to call the on input when enumeration is complete + + + + Creates a list of elements asynchronously from the enumerable source + + The type of the elements of source + The collection of elements + Flag to call the on input when this operation is complete + + + + Creates an array of elements asynchronously from the enumerable source + + The type of the elements of source + The collection of elements + Flag to call the on input when this operation is complete + + + + An to return elements from. + + The type of the elements of + An to return elements from. + The number of elements to skip before returning the remaining elements. + Flag to call the on input when enumeration is complete + + + + Bypasses elements in a sequence as long as a specified condition is true and then returns the remaining elements. + + The type of the elements of + An to return elements from. + A function to test each element for a condition. + Flag to call the on input when enumeration is complete + + + + Filters a sequence of values based on a predicate. + + The type of the elements of + An to filter. + A function to test each element for a condition. + Flag to call the on input when enumeration is complete + + + + Projects each element of a sequence into a new form. + + The type of the elements of + An to filter. + A function to test each element for a condition; the second parameter of the function represents the index of the source element. + Flag to call the on input when enumeration is complete + + + + Casts the elements of an to the specified type. + + The type to cast the elements of to. + An that contains the elements to be cast to type . + Flag to call the on input when enumeration is complete + + + + Returns the elements of the specified sequence or the specified value in a singleton collection if the sequence is empty. + + The type of the elements of . + The sequence to return the specified value for if it is empty. + Flag to call the on input when enumeration is complete + + + + Returns the elements of the specified sequence or the specified value in a singleton collection if the sequence is empty. + + The type of the elements of . + The sequence to return the specified value for if it is empty. + The value to return if the sequence is empty. + Flag to call the on input when enumeration is complete + + + + Splits the input collection into series of batches. + + The type of the elements of + An to batch. + The maximum number of elements to put in a batch. + Flag to call the on input when enumeration is complete + + + + Splits the input collection into series of batches. + + The type of the elements of + + The type of a .NET's standard collection that forms a batch. Supported types are: + , , , , + , , , + , , . + + An to batch. + The maximum number of elements to put in a batch. + Flag to call the on input when enumeration is complete + + + + Splits the input collection into series of batches. + + The type of the elements of + An to batch. + The maximum logical weight of elements that a single batch can accomodate. + A function that computes a weight of a particular element, which is used to make a decision if it can fit into a batch. + Flag to call the on input when enumeration is complete + + + + Splits the input collection into series of batches. + + The type of the elements of + + The type of a .NET's standard collection that forms a batch. Supported types are: + , , , , + , , , + , , . + + An to batch. + The maximum logical weight of elements that a single batch can accomodate. + A function that computes a weight of a particular element, which is used to make a decision if it can fit into a batch. + Flag to call the on input when enumeration is complete + + + + Splits the input collection into series of batches. + + The type of the elements of + An to batch. + The maximum number of elements to put in a batch regardless their total weight. + The maximum logical weight of elements that a single batch can accomodate. + A function that computes a weight of a particular element, which is used to make a decision if it can fit into a batch. + Flag to call the on input when enumeration is complete + + + + Splits the input collection into series of batches. + + The type of the elements of + + The type of a .NET's standard collection that forms a batch. Supported types are: + , , , , + , , , + , , . + + An to batch. + The maximum number of elements to put in a batch regardless their total weight. + The maximum logical weight of elements that a single batch can accomodate. + A function that computes a weight of a particular element, which is used to make a decision if it can fit into a batch. + Flag to call the on input when enumeration is complete + + + + Splits the input collection into series of batches. + + The type of the elements of + The type of a batch of elements. + An to batch. + The maximum number of elements to put in a batch regardless their total weight. + The maximum logical weight of elements that a single batch can accomodate. + A function that computes a weight of a particular element, which is used to make a decision if it can fit into a batch. + A function that creates a new batch with optional suggested capacity. + An action that adds an element to a batch. + Flag to call the on input when enumeration is complete + + + + Produces the set union of two sequences, which includes duplicate elements. + + The type of the elements of the input sequences. + An whose elements form the first set for the union. + An whose elements form the second set for the union. + Flag to call the on input and when enumeration is complete. + + + + Produces the set union of multiple sequences, which includes duplicate elements. + + The type of the elements of the input sequences. + A set of whose elements form the union. + Flag to call the on all input when enumeration is complete. + + + + Used in ParallelForEachAsync<T> extension method + + + + + Constructor + + + + + Extensions methods for IEnumerable and IAsyncEnumerable to do parallel for-each loop in async-await manner + + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item, where first argument is the item and second argument is item's index in the collection + Maximum items to schedule processing in parallel. The actual concurrency level depends on TPL settings. Set to 0 to choose a default value based on processor count. + Set to True to stop processing items when first exception occurs. The result might contain several exceptions though when faulty tasks finish at the same time. + If True (the default behavior), waits on completion for all started tasks when the loop breaks due to cancellation or an exception + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item, where first argument is the item and second argument is item's index in the collection + Maximum items to schedule processing in parallel. The actual concurrency level depends on TPL settings. Set to 0 to choose a default value based on processor count. + Set to True to stop processing items when first exception occurs. The result might contain several exceptions though when faulty tasks finish at the same time. + If True (the default behavior), waits on completion for all started tasks when the loop breaks due to cancellation or an exception + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item, where first argument is the item and second argument is item's index in the collection + Maximum items to schedule processing in parallel. The actual concurrency level depends on TPL settings. Set to 0 to choose a default value based on processor count. + Set to True to stop processing items when first exception occurs. The result might contain several exceptions though when faulty tasks finish at the same time. + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item, where first argument is the item and second argument is item's index in the collection + Maximum items to schedule processing in parallel. The actual concurrency level depends on TPL settings. Set to 0 to choose a default value based on processor count. + Set to True to stop processing items when first exception occurs. The result might contain several exceptions though when faulty tasks finish at the same time. + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item, where first argument is the item and second argument is item's index in the collection + Maximum items to schedule processing in parallel. The actual concurrency level depends on TPL settings. Set to 0 to choose a default value based on processor count. + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item, where first argument is the item and second argument is item's index in the collection + Maximum items to schedule processing in parallel. The actual concurrency level depends on TPL settings. Set to 0 to choose a default value based on processor count. + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item, where first argument is the item and second argument is item's index in the collection + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item, where first argument is the item and second argument is item's index in the collection + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item + Maximum items to schedule processing in parallel. The actual concurrency level depends on TPL settings. Set to 0 to choose a default value based on processor count. + Set to True to stop processing items when first exception occurs. The result might contain several exceptions though when faulty tasks finish at the same time. + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item + Maximum items to schedule processing in parallel. The actual concurrency level depends on TPL settings. Set to 0 to choose a default value based on processor count. + Set to True to stop processing items when first exception occurs. The result might contain several exceptions though when faulty tasks finish at the same time. + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item + Maximum items to schedule processing in parallel. The actual concurrency level depends on TPL settings. Set to 0 to choose a default value based on processor count. + Set to True to stop processing items when first exception occurs. The result might contain several exceptions though when faulty tasks finish at the same time. + If True (the default behavior), waits on completion for all started tasks when the loop breaks due to cancellation or an exception + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item + Maximum items to schedule processing in parallel. The actual concurrency level depends on TPL settings. Set to 0 to choose a default value based on processor count. + Set to True to stop processing items when first exception occurs. The result might contain several exceptions though when faulty tasks finish at the same time. + If True (the default behavior), waits on completion for all started tasks when the loop breaks due to cancellation or an exception + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item + Maximum items to schedule processing in parallel. The actual concurrency level depends on TPL settings. Set to 0 to choose a default value based on processor count. + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item + Maximum items to schedule processing in parallel. The actual concurrency level depends on TPL settings. Set to 0 to choose a default value based on processor count. + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item, where first argument is the item and second argument is item's index in the collection + Maximum items to schedule processing in parallel. The actual concurrency level depends on TPL settings. Set to 0 to choose a default value based on processor count. + Set to True to stop processing items when first exception occurs. The result might contain several exceptions though when faulty tasks finish at the same time. + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item, where first argument is the item and second argument is item's index in the collection + Maximum items to schedule processing in parallel. The actual concurrency level depends on TPL settings. Set to 0 to choose a default value based on processor count. + Set to True to stop processing items when first exception occurs. The result might contain several exceptions though when faulty tasks finish at the same time. + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item, where first argument is the item and second argument is item's index in the collection + Maximum items to schedule processing in parallel. The actual concurrency level depends on TPL settings. Set to 0 to choose a default value based on processor count. + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item, where first argument is the item and second argument is item's index in the collection + Maximum items to schedule processing in parallel. The actual concurrency level depends on TPL settings. Set to 0 to choose a default value based on processor count. + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item, where first argument is the item and second argument is item's index in the collection + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item, where first argument is the item and second argument is item's index in the collection + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item + Maximum items to schedule processing in parallel. The actual concurrency level depends on TPL settings. Set to 0 to choose a default value based on processor count. + Set to True to stop processing items when first exception occurs. The result might contain several exceptions though when faulty tasks finish at the same time. + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item + Maximum items to schedule processing in parallel. The actual concurrency level depends on TPL settings. Set to 0 to choose a default value based on processor count. + Set to True to stop processing items when first exception occurs. The result might contain several exceptions though when faulty tasks finish at the same time. + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item + Maximum items to schedule processing in parallel. The actual concurrency level depends on TPL settings. Set to 0 to choose a default value based on processor count. + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item + Maximum items to schedule processing in parallel. The actual concurrency level depends on TPL settings. Set to 0 to choose a default value based on processor count. + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Exposes an asynchronous enumerator, which supports a simple iteration over a non-generic collection + + + + + Creates an enumerator that iterates through a collection asynchronously + + A cancellation token to cancel creation of the enumerator in case if it takes a lot of time + Returns a task with the created enumerator as result on completion + + + + Supports a simple asynchronous iteration over a non-generic collection + + + + + Gets the current element in the collection. + + + + + Advances the enumerator to the next element of the collection asynchronously + + Returns a Task that does transition to the next element. The result of the task is True if the enumerator was successfully advanced to the next element, or False if the enumerator has passed the end of the collection. + + + + Internal base type for and + + + + + Utility methods for + + + + + Forcibly disables re-use of instances in the method. + This is just a safety switch in case when something goes wrong with re-using instances of . + + + + + Resets a to initial incomplete state. + This method by default re-uses the same instance of the by re-setting internal state of its using reflection. + If such feature is not available or explicitly disable with the method, it just returns a new instance of a . + + Type of the result value + Target to be reset or recreated. It's safe to pass null. + Optional state object that you pass into constructor. + + + diff --git a/packages/AsyncEnumerator.4.0.2/lib/netstandard2.1/AsyncEnumerable.dll b/packages/AsyncEnumerator.4.0.2/lib/netstandard2.1/AsyncEnumerable.dll new file mode 100755 index 0000000..7fff012 Binary files /dev/null and b/packages/AsyncEnumerator.4.0.2/lib/netstandard2.1/AsyncEnumerable.dll differ diff --git a/packages/AsyncEnumerator.4.0.2/lib/netstandard2.1/AsyncEnumerable.xml b/packages/AsyncEnumerator.4.0.2/lib/netstandard2.1/AsyncEnumerable.xml new file mode 100755 index 0000000..d6838e4 --- /dev/null +++ b/packages/AsyncEnumerator.4.0.2/lib/netstandard2.1/AsyncEnumerable.xml @@ -0,0 +1,1675 @@ + + + + AsyncEnumerable + + + + + Base abstract class that implements . + Use concrete implementation or . + + + + + Returns pre-cached empty collection + + + + + Helps to enumerate items in a collection asynchronously + + + + IAsyncEnumerable<int> ProduceNumbers(int start, int end) + { + return new AsyncEnumerable<int>(async yield => { + for (int number = start; number <= end; number++) + await yield.ReturnAsync(number); + }); + } + + async Task ConsumeAsync() + { + var asyncEnumerableCollection = ProduceNumbers(start: 1, end: 10); + await asyncEnumerableCollection.ForEachAsync(async number => { + await Console.Out.WriteLineAsync(number); + }); + } + + + + + + A pre-cached empty collection + + + + + Constructor + + A function that enumerates items in a collection asynchronously + + + + Creates an enumerator that iterates through a collection asynchronously + + A cancellation token to cancel creation of the enumerator in case if it takes a lot of time + Returns a task with the created enumerator as result on completion + + + + Similar to , but allows you to pass a state object into the enumeration function, what can be + used for performance optimization, so don't have to create a delegate on the fly every single time you create the enumerator. + + Type of items returned by + Type of the state object + + + + Constructor + + A function that enumerates items in a collection asynchronously + A state object that is passed to the + + + + A user state that gets passed into the enumeration function. + + + + + Creates an enumerator that iterates through a collection asynchronously + + Returns a task with the created enumerator as result on completion + + + + Creates an enumerator that iterates through a collection asynchronously + + Returns a task with the created enumerator as result on completion + + + + This exception is thrown when you call + or when the enumerator is disposed before reaching the end of enumeration. + + + + + Base type for and + + + + + Returns an empty . Safe to use by multiple threads. + + + + + Helps to enumerate items in a collection asynchronously. + Provides exactly the same functionality as , + but allows to pass a user state object in the enumeration function, + what can be used for performance optimization. + + + + + Constructor + + A function that enumerates items in a collection asynchronously + Any state object that is passed to the + Optional action that gets invoked on Dispose() + + + + Finalizer + + + + + A user state that gets passed into the enumeration function. + + + + + Gets the element in the collection at the current position of the enumerator + + + + + Tells if enumeration is complete. Returns True only after MoveNextAsync returns False. + + + + + Advances the enumerator to the next element of the collection asynchronously + + Returns a Task that does transition to the next element. The result of the task is True if the enumerator was successfully advanced to the next element, or False if the enumerator has passed the end of the collection. + + + + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources + + + + + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources + + + + + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources + + True if called from Dispose() method, otherwise False - called by GC + + + + Helps to enumerate items in a collection asynchronously + + + + + An empty . Safe to use by multiple threads. + + + + + The asynchronous version of the 'yield' construction + + + + + Gets the cancellation token that was passed to the method + + + + + Yields an item asynchronously (similar to 'yield return' statement) + + The item of the collection to yield + Returns a Task which tells if when you can continue to yield the next item + + + + Stops iterating items in the collection (similar to 'yield break' statement) + + Always throws this exception to stop the enumeration task + + + + Constructor + + A function that enumerates items in a collection asynchronously + Optional action that gets invoked on Dispose() + + + + Internal implementation details + + + + + Converts generic IEnumerable to IAsyncEnumerable + + + + + Creates adapter for + + The element type + The instance of to convert + If True the enumeration will be performed on the same thread, otherwise the MoveNext will be executed on a separate thread with Task.Run method + Returns an instance of implementation + + + + Creates adapter for the enumerator of + + The element type + The instance of to convert + If True the enumeration will be performed on the same thread, otherwise the MoveNext will be executed on a separate thread with Task.Run method + Returns an instance of implementation + + + + Creates adapter for + + The element type + The instance of to convert + If True the enumeration will be performed on the same thread, otherwise the MoveNext will be executed on a separate thread with Task.Run method + Returns an instance of implementation + + + + Extension methods for for backward compatibility with version 1 of this libraray. + Not recommended to use. + + + + + Converts to . + This method is marked as [Obsolete] to discourage you from doing such conversion, + which defeats the whole purpose of having a non-blocking async enumeration, + and what might lead to dead-locks in ASP.NET or WPF applications. + + + + + Converts to . + This method is marked as [Obsolete] to discourage you from doing such conversion, + which defeats the whole purpose of having a non-blocking async enumeration, + and what might lead to dead-locks in ASP.NET or WPF applications. + + + + + Creates an enumerator that iterates through a collection synchronously. + This method is marked as [Obsolete] to discourage you from using this synchronous version of + the method instead of , + what might lead to dead-locks in ASP.NET or WPF applications. + + + + + Class to provide access to static method. + + + + + Stops ForEachAsync iteration (similar to 'break' statement) + + Always throws this exception to stop the ForEachAsync iteration + + + + This exception is thrown when you call . + + + + + Enables asynchronous 'foreach' enumeration over an IAsyncEnumerable + + + + + Enumerates over all elements in the collection asynchronously + + The type of elements in the collection + The collection of elements which can be enumerated asynchronously + A synchronous action to perform for every single item in the collection + A cancellation token to stop enumerating + Returns a Task which does enumeration over elements in the collection + + + + Enumerates over all elements in the collection asynchronously + + The type of elements in the collection + The collection of elements which can be enumerated asynchronously + A synchronous action to perform for every single item in the collection + Returns a Task which does enumeration over elements in the collection + + + + Enumerates over all elements in the collection asynchronously + + The type of elements in the collection + The collection of elements which can be enumerated asynchronously + A synchronous action to perform for every single item in the collection, where the second argument is the index of an item + A cancellation token to stop enumerating + Returns a Task which does enumeration over elements in the collection + + + + Enumerates over all elements in the collection asynchronously + + The type of elements in the collection + The collection of elements which can be enumerated asynchronously + A synchronous action to perform for every single item in the collection, where the second argument is the index of an item + Returns a Task which does enumeration over elements in the collection + + + + Enumerates over all elements in the collection asynchronously + + The type of elements in the collection + The collection of elements which can be enumerated asynchronously + An asynchronous action to perform for every single item in the collection + A cancellation token to stop enumerating + Returns a Task which does enumeration over elements in the collection + + + + Enumerates over all elements in the collection asynchronously + + The type of elements in the collection + The collection of elements which can be enumerated asynchronously + An asynchronous action to perform for every single item in the collection + Returns a Task which does enumeration over elements in the collection + + + + Enumerates over all elements in the collection asynchronously + + The type of elements in the collection + The collection of elements which can be enumerated asynchronously + An asynchronous action to perform for every single item in the collection, where the second argument is the index of an item + A cancellation token to stop enumerating + Returns a Task which does enumeration over elements in the collection + + + + Enumerates over all elements in the collection asynchronously + + The type of elements in the collection + The collection of elements which can be enumerated asynchronously + An asynchronous action to perform for every single item in the collection, where the second argument is the index of an item + Returns a Task which does enumeration over elements in the collection + + + + Extension methods for interface + + + + + Returns the only element of a sequence, and throws an exception if there is not exactly one element in the sequence. + + The type of the elements of . + An to return the single element of. + A that can halt enumeration of . + + + + Returns the only element of a sequence, and throws an exception if there is not exactly one element in the sequence. + + The type of the elements of . + An to return the single element of. + The message of an exception which is thrown when the source collection is empty. + The message of an exception which is thrown when the source collection has more than one element. + A that can halt enumeration of . + + + + Returns the only element of a sequence, and throws an exception if there is not exactly one element in the sequence that matches the criteria. + + The type of the elements of . + An to return the single element of. + Criteria predicate to select the only element. + A that can halt enumeration of . + + + + Returns the only element of a sequence, and throws an exception if there is not exactly one element in the sequence that matches the criteria. + + The type of the elements of . + An to return the single element of. + Criteria predicate to select the only element. + The message of an exception which is thrown when the source collection is has no element matching the criteria. + The message of an exception which is thrown when the source collection has more than one element matching the criteria. + A that can halt enumeration of . + + + + Returns the only element of a sequence, and returns a default value if there is not exactly one element in the sequence. + + The type of the elements of . + An to return the single element of. + A that can halt enumeration of . + + + + Returns the only element of a sequence, and returns a default value if there is not exactly one element in the sequence that matches the criteria. + + The type of the elements of . + An to return the single element of. + Criteria predicate to select the only element. + A that can halt enumeration of . + + + + Returns the first element in the . + + The type of the elements of + An to return an element from. + A that can halt enumeration of + + + + Returns the first element in the . + + The type of the elements of + An to return an element from. + An optional custom exception message for the case when the is empty + A that can halt enumeration of + + + + Returns the first element in a sequence that satisfies a specified condition. + + The type of the elements of + An to return an element from. + A function to test each element for a condition. + A that can halt enumeration of + + + + Returns the first element in a sequence that satisfies a specified condition. + + The type of the elements of + An to return an element from. + A function to test each element for a condition. + An optional custom exception message for the case when the is empty + A that can halt enumeration of + + + + Returns the first element in the , or a default value if no element is found. + + The type of the elements of + An to return an element from. + A that can halt enumeration of + + + + Returns the first element in a sequence that satisfies a specified condition, or a default value if no element is found. + + The type of the elements of + An to return an element from. + A function to test each element for a condition. + A that can halt enumeration of + + + + Projects each element of a sequence into a new form. + + The type of the elements of + The type of the value returned by . + A sequence of values to invoke a transform function on. + A transform function to apply to each element. + + + + Projects each element of a sequence into a new form. + + The type of the elements of + The type of the value returned by . + 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. + + + + Projects each element of a sequence to an IAsyncEnumerable<T> and flattens the resulting sequences into one sequence. + + The type of the elements of . + The type of the value in the IAsyncEnumerable returned by . + A sequence of values to invoke a transform function on. + A transform function to apply to each source element. + + + + Projects each element of a sequence to an IAsyncEnumerable<T> and flattens the resulting sequences into one sequence. + + The type of the elements of . + The type of the intermediate elements collected by . + The type of the elements of the resulting sequence by . + A sequence of values to invoke a transform function on. + A transform function to apply to each element of the input sequence. + A transform function to apply to each element of the intermediate sequence. + + + + Projects each element of a sequence to an IAsyncEnumerable<T> and flattens the resulting sequences into one sequence. + + The type of the elements of . + The type of the value in the IAsyncEnumerable returned by . + A sequence of values to invoke a transform function on. + A transform function to apply to each source element. + + + + Projects each element of a sequence to an IAsyncEnumerable<T> and flattens the resulting sequences into one sequence. + + The type of the elements of . + The type of the intermediate elements collected by . + The type of the elements of the resulting sequence by . + A sequence of values to invoke a transform function on. + A transform function to apply to each element of the input sequence. + A transform function to apply to each element of the intermediate sequence. + + + + Returns a specified number of contiguous elements from the start of a sequence. + + The type of the elements of + A sequence to return elements from. + The number of elements to return. + + + + Returns elements from a sequence as long as a specified condition is true. + + The type of the elements of + A sequence to return elements from. + A function to test each element for a condition. + + + + Creates a list of elements asynchronously from the enumerable source + + The type of the elements of source + The collection of elements + A cancellation token to cancel the async operation + + + + Creates an array of elements asynchronously from the enumerable source + + The type of the elements of source + The collection of elements + A cancellation token to cancel the async operation + + + + Creates a from an according to a specified key selector function, a comparer, and an element selector function. + + The type of the elements of . + The type of the key returned by . + An to create a from. + A function to extract a key from each element. + A cancellation token to cancel the async operation. + + + + + Creates a from an according to a specified key selector function, a comparer, and an element selector function. + + The type of the elements of . + The type of the key returned by . + An to create a from. + A function to extract a key from each element. + An to compare keys. + A cancellation token to cancel the async operation. + + + + + Creates a from an according to a specified key selector function, a comparer, and an element selector function. + + The type of the elements of . + The type of the key returned by . + The type of the value returned by . + An to create a from. + A function to extract a key from each element. + A transform function to produce a result element value from each element. + A cancellation token to cancel the async operation. + + + + + Creates a from an according to a specified key selector function, a comparer, and an element selector function. + + The type of the elements of . + The type of the key returned by . + The type of the value returned by . + An to create a from. + A function to extract a key from each element. + A transform function to produce a result element value from each element. + An to compare keys. + A cancellation token to cancel the async operation. + + + + + Creates a from an according to a specified key selector function. + + The type of the elements of . + The type of the key returned by . + The to create a from. + A function to extract a key from each element. + A cancellation token to cancel the async operation. + + + + Creates a from an according to a specified key selector function and key comparer. + + The type of the elements of . + The type of the key returned by . + The to create a from. + A function to extract a key from each element. + An to compare keys. + A cancellation token to cancel the async operation. + + + + Creates a from an according to a specified key selector function and an element selector function. + + The type of the elements of . + The type of the key returned by . + The type of the value returned by . + The to create a from. + A function to extract a key from each element. + A transform function to produce a result element value from each element. + A cancellation token to cancel the async operation. + + + + Creates a from an according to a specified key selector function, a comparer and an element selector function. + + The type of the elements of . + The type of the key returned by . + The type of the value returned by . + The to create a from. + A function to extract a key from each element. + A transform function to produce a result element value from each element. + An to compare keys. + A cancellation token to cancel the async operation. + + + + An to return elements from. + + The type of the elements of + An to return elements from. + The number of elements to skip before returning the remaining elements. + + + + Bypasses elements in a sequence as long as a specified condition is true and then returns the remaining elements. + + The type of the elements of + An to return elements from. + A function to test each element for a condition. + + + + Filters a sequence of values based on a predicate. + + The type of the elements of + An to filter. + A function to test each element for a condition. + + + + Projects each element of a sequence into a new form. + + The type of the elements of + An to filter. + A function to test each element for a condition; the second parameter of the function represents the index of the source element. + + + + Casts the elements of an to the specified type. + + The type to cast the elements of to. + An that contains the elements to be cast to type . + + + + Filters the elements of an based on a specified type. + + The type to filter the elements of the sequence on. + The whose elements to filter. + + + + Returns the elements of the specified sequence or the specified value in a singleton collection if the sequence is empty. + + The type of the elements of . + The sequence to return the specified value for if it is empty. + + + + Returns the elements of the specified sequence or the specified value in a singleton collection if the sequence is empty. + + The type of the elements of . + The sequence to return the specified value for if it is empty. + The value to return if the sequence is empty. + + + + Splits the input collection into series of batches. + + The type of the elements of + An to batch. + The maximum number of elements to put in a batch. + + + + Splits the input collection into series of batches. + + The type of the elements of + + The type of a .NET's standard collection that forms a batch. Supported types are: + , , , , + , , , + , , . + + An to batch. + The maximum number of elements to put in a batch. + + + + Splits the input collection into series of batches. + + The type of the elements of + An to batch. + The maximum logical weight of elements that a single batch can accomodate. + A function that computes a weight of a particular element, which is used to make a decision if it can fit into a batch. + + + + Splits the input collection into series of batches. + + The type of the elements of + + The type of a .NET's standard collection that forms a batch. Supported types are: + , , , , + , , , + , , . + + An to batch. + The maximum logical weight of elements that a single batch can accomodate. + A function that computes a weight of a particular element, which is used to make a decision if it can fit into a batch. + + + + Splits the input collection into series of batches. + + The type of the elements of + An to batch. + The maximum number of elements to put in a batch regardless their total weight. + The maximum logical weight of elements that a single batch can accomodate. + A function that computes a weight of a particular element, which is used to make a decision if it can fit into a batch. + + + + Splits the input collection into series of batches. + + The type of the elements of + + The type of a .NET's standard collection that forms a batch. Supported types are: + , , , , + , , , + , , . + + An to batch. + The maximum number of elements to put in a batch regardless their total weight. + The maximum logical weight of elements that a single batch can accomodate. + A function that computes a weight of a particular element, which is used to make a decision if it can fit into a batch. + + + + Splits the input collection into series of batches. + + The type of the elements of + The type of a batch of elements. + An to batch. + The maximum number of elements to put in a batch regardless their total weight. + The maximum logical weight of elements that a single batch can accomodate. + A function that computes a weight of a particular element, which is used to make a decision if it can fit into a batch. + A function that creates a new batch with optional suggested capacity. + An action that adds an element to a batch. + + + + Produces the set union of two sequences, which includes duplicate elements. + + The type of the elements of the input sequences. + An whose elements form the first set for the union. + An whose elements form the second set for the union. + + + + Produces the set union of multiple sequences, which includes duplicate elements. + + The type of the elements of the input sequences. + A set of whose elements form the union. + + + + Creates a new sequence based on input one plus an extra element at the end. + + The type of the elements of . + An to return the single element of. + An extra element to be returned on enumeration. + + + + Creates a new sequence based on input one plus an extra element in the beginning. + + The type of the elements of . + An to return the single element of. + An extra element to be returned on enumeration. + + + + Concatenates two sequences. + + The type of the elements of the input sequences. + The first sequence to concatenate. + The sequence to concatenate to the first sequence. + + + + Returns distinct elements from a sequence by using the default equality comparer to compare values. + + The type of the elements of . + The sequence to remove duplicate elements from. + + + + Returns distinct elements from a sequence by using a specified to compare values. + + The type of the elements of . + The sequence to remove duplicate elements from. + An to compare values. + + + + Applies an accumulator function over a sequence. + + The type of the elements of . + An to aggregate over. + An accumulator function to be invoked on each element. + A cancellation token to cancel the async operation. + + + + Applies an accumulator function over a sequence. The specified seed value is used as the initial accumulator value. + + The type of the elements of . + The type of the accumulator value. + An to aggregate over. + The initial accumulator value. + An accumulator function to be invoked on each element. + A cancellation token to cancel the async operation. + + + + 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. + + The type of the elements of . + The type of the accumulator value. + The type of the resulting value. + An 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. + A cancellation token to cancel the async operation. + + + + Determines whether all elements of a sequence satisfy a condition. + + An that contains the elements to apply the predicate to. + A function to test each element for a condition. + A cancellation token to cancel the async operation. + The type of the elements of . + true if every element of the source sequence passes the test in the specified predicate, or if the sequence is empty; otherwise, false. + or is null. + + + + Determines whether any element of a sequence exists or satisfies a condition. + + An that contains the elements to apply the predicate to. + A function to test each element for a condition. + A cancellation token to cancel the async operation. + The type of the elements of . + true if any elements in the source sequence pass the test in the specified predicate; otherwise, false. + or is null. + + + + Extension methods for interface + + + + + Returns the only element of a sequence, and throws an exception if there is not exactly one element in the sequence. + + The type of the elements of . + An to return the single element of. + Flag to call the on input when this operation is complete + + + + Returns the only element of a sequence, and throws an exception if there is not exactly one element in the sequence. + + The type of the elements of . + An to return the single element of. + The message of an exception which is thrown when the source collection is empty. + The message of an exception which is thrown when the source collection has more than one element. + Flag to call the on input when this operation is complete + + + + Returns the only element of a sequence, and throws an exception if there is not exactly one element in the sequence that matches the criteria. + + The type of the elements of . + An to return the single element of. + Criteria predicate to select the only element. + Flag to call the on input when this operation is complete + + + + Returns the only element of a sequence, and throws an exception if there is not exactly one element in the sequence that matches the criteria. + + The type of the elements of . + An to return the single element of. + Criteria predicate to select the only element. + The message of an exception which is thrown when the source collection is has no element matching the criteria. + The message of an exception which is thrown when the source collection has more than one element matching the criteria. + Flag to call the on input when this operation is complete + + + + Returns the only element of a sequence, and returns a default value if there is not exactly one element in the sequence. + + The type of the elements of . + An to return the single element of. + Flag to call the on input when this operation is complete + + + + Returns the only element of a sequence, and returns a default value if there is not exactly one element in the sequence that matches the criteria. + + The type of the elements of . + An to return the single element of. + Criteria predicate to select the only element. + Flag to call the on input when this operation is complete + + + + Returns the first element in the . + + The type of the elements of + An to return an element from. + Flag to call the on input when this operation is complete + + + + Returns the first element in the . + + The type of the elements of + An to return an element from. + An optional custom exception message for the case when the is empty + Flag to call the on input when this operation is complete + + + + Returns the first element in a sequence that satisfies a specified condition. + + The type of the elements of + An to return an element from. + A function to test each element for a condition. + Flag to call the on input when this operation is complete + + + + Returns the first element in a sequence that satisfies a specified condition. + + The type of the elements of + An to return an element from. + A function to test each element for a condition. + An optional custom exception message for the case when the is empty + Flag to call the on input when this operation is complete + + + + Returns the first element in the , or a default value if no element is found. + + The type of the elements of + An to return an element from. + Flag to call the on input when this operation is complete + + + + Returns the first element in a sequence that satisfies a specified condition, or a default value if no element is found. + + The type of the elements of + An to return an element from. + A function to test each element for a condition. + Flag to call the on input when this operation is complete + + + + Projects each element of a sequence into a new form. + + The type of the elements of + The type of the value returned by . + A sequence of values to invoke a transform function on. + A transform function to apply to each element. + Flag to call the on input when enumeration is complete + + + + Projects each element of a sequence into a new form. + + The type of the elements of + The type of the value returned by . + 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. + Flag to call the on input when enumeration is complete + + + + Returns a specified number of contiguous elements from the start of a sequence. + + The type of the elements of + A sequence to return elements from. + The number of elements to return. + Flag to call the on input when enumeration is complete + + + + Returns elements from a sequence as long as a specified condition is true. + + The type of the elements of + A sequence to return elements from. + A function to test each element for a condition. + Flag to call the on input when enumeration is complete + + + + Creates a list of elements asynchronously from the enumerable source + + The type of the elements of source + The collection of elements + Flag to call the on input when this operation is complete + + + + Creates an array of elements asynchronously from the enumerable source + + The type of the elements of source + The collection of elements + Flag to call the on input when this operation is complete + + + + An to return elements from. + + The type of the elements of + An to return elements from. + The number of elements to skip before returning the remaining elements. + Flag to call the on input when enumeration is complete + + + + Bypasses elements in a sequence as long as a specified condition is true and then returns the remaining elements. + + The type of the elements of + An to return elements from. + A function to test each element for a condition. + Flag to call the on input when enumeration is complete + + + + Filters a sequence of values based on a predicate. + + The type of the elements of + An to filter. + A function to test each element for a condition. + Flag to call the on input when enumeration is complete + + + + Projects each element of a sequence into a new form. + + The type of the elements of + An to filter. + A function to test each element for a condition; the second parameter of the function represents the index of the source element. + Flag to call the on input when enumeration is complete + + + + Casts the elements of an to the specified type. + + The type to cast the elements of to. + An that contains the elements to be cast to type . + Flag to call the on input when enumeration is complete + + + + Returns the elements of the specified sequence or the specified value in a singleton collection if the sequence is empty. + + The type of the elements of . + The sequence to return the specified value for if it is empty. + Flag to call the on input when enumeration is complete + + + + Returns the elements of the specified sequence or the specified value in a singleton collection if the sequence is empty. + + The type of the elements of . + The sequence to return the specified value for if it is empty. + The value to return if the sequence is empty. + Flag to call the on input when enumeration is complete + + + + Splits the input collection into series of batches. + + The type of the elements of + An to batch. + The maximum number of elements to put in a batch. + Flag to call the on input when enumeration is complete + + + + Splits the input collection into series of batches. + + The type of the elements of + + The type of a .NET's standard collection that forms a batch. Supported types are: + , , , , + , , , + , , . + + An to batch. + The maximum number of elements to put in a batch. + Flag to call the on input when enumeration is complete + + + + Splits the input collection into series of batches. + + The type of the elements of + An to batch. + The maximum logical weight of elements that a single batch can accomodate. + A function that computes a weight of a particular element, which is used to make a decision if it can fit into a batch. + Flag to call the on input when enumeration is complete + + + + Splits the input collection into series of batches. + + The type of the elements of + + The type of a .NET's standard collection that forms a batch. Supported types are: + , , , , + , , , + , , . + + An to batch. + The maximum logical weight of elements that a single batch can accomodate. + A function that computes a weight of a particular element, which is used to make a decision if it can fit into a batch. + Flag to call the on input when enumeration is complete + + + + Splits the input collection into series of batches. + + The type of the elements of + An to batch. + The maximum number of elements to put in a batch regardless their total weight. + The maximum logical weight of elements that a single batch can accomodate. + A function that computes a weight of a particular element, which is used to make a decision if it can fit into a batch. + Flag to call the on input when enumeration is complete + + + + Splits the input collection into series of batches. + + The type of the elements of + + The type of a .NET's standard collection that forms a batch. Supported types are: + , , , , + , , , + , , . + + An to batch. + The maximum number of elements to put in a batch regardless their total weight. + The maximum logical weight of elements that a single batch can accomodate. + A function that computes a weight of a particular element, which is used to make a decision if it can fit into a batch. + Flag to call the on input when enumeration is complete + + + + Splits the input collection into series of batches. + + The type of the elements of + The type of a batch of elements. + An to batch. + The maximum number of elements to put in a batch regardless their total weight. + The maximum logical weight of elements that a single batch can accomodate. + A function that computes a weight of a particular element, which is used to make a decision if it can fit into a batch. + A function that creates a new batch with optional suggested capacity. + An action that adds an element to a batch. + Flag to call the on input when enumeration is complete + + + + Produces the set union of two sequences, which includes duplicate elements. + + The type of the elements of the input sequences. + An whose elements form the first set for the union. + An whose elements form the second set for the union. + Flag to call the on input and when enumeration is complete. + + + + Produces the set union of multiple sequences, which includes duplicate elements. + + The type of the elements of the input sequences. + A set of whose elements form the union. + Flag to call the on all input when enumeration is complete. + + + + Used in ParallelForEachAsync<T> extension method + + + + + Constructor + + + + + Extensions methods for IEnumerable and IAsyncEnumerable to do parallel for-each loop in async-await manner + + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item, where first argument is the item and second argument is item's index in the collection + Maximum items to schedule processing in parallel. The actual concurrency level depends on TPL settings. Set to 0 to choose a default value based on processor count. + Set to True to stop processing items when first exception occurs. The result might contain several exceptions though when faulty tasks finish at the same time. + If True (the default behavior), waits on completion for all started tasks when the loop breaks due to cancellation or an exception + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item, where first argument is the item and second argument is item's index in the collection + Maximum items to schedule processing in parallel. The actual concurrency level depends on TPL settings. Set to 0 to choose a default value based on processor count. + Set to True to stop processing items when first exception occurs. The result might contain several exceptions though when faulty tasks finish at the same time. + If True (the default behavior), waits on completion for all started tasks when the loop breaks due to cancellation or an exception + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item, where first argument is the item and second argument is item's index in the collection + Maximum items to schedule processing in parallel. The actual concurrency level depends on TPL settings. Set to 0 to choose a default value based on processor count. + Set to True to stop processing items when first exception occurs. The result might contain several exceptions though when faulty tasks finish at the same time. + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item, where first argument is the item and second argument is item's index in the collection + Maximum items to schedule processing in parallel. The actual concurrency level depends on TPL settings. Set to 0 to choose a default value based on processor count. + Set to True to stop processing items when first exception occurs. The result might contain several exceptions though when faulty tasks finish at the same time. + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item, where first argument is the item and second argument is item's index in the collection + Maximum items to schedule processing in parallel. The actual concurrency level depends on TPL settings. Set to 0 to choose a default value based on processor count. + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item, where first argument is the item and second argument is item's index in the collection + Maximum items to schedule processing in parallel. The actual concurrency level depends on TPL settings. Set to 0 to choose a default value based on processor count. + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item, where first argument is the item and second argument is item's index in the collection + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item, where first argument is the item and second argument is item's index in the collection + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item + Maximum items to schedule processing in parallel. The actual concurrency level depends on TPL settings. Set to 0 to choose a default value based on processor count. + Set to True to stop processing items when first exception occurs. The result might contain several exceptions though when faulty tasks finish at the same time. + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item + Maximum items to schedule processing in parallel. The actual concurrency level depends on TPL settings. Set to 0 to choose a default value based on processor count. + Set to True to stop processing items when first exception occurs. The result might contain several exceptions though when faulty tasks finish at the same time. + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item + Maximum items to schedule processing in parallel. The actual concurrency level depends on TPL settings. Set to 0 to choose a default value based on processor count. + Set to True to stop processing items when first exception occurs. The result might contain several exceptions though when faulty tasks finish at the same time. + If True (the default behavior), waits on completion for all started tasks when the loop breaks due to cancellation or an exception + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item + Maximum items to schedule processing in parallel. The actual concurrency level depends on TPL settings. Set to 0 to choose a default value based on processor count. + Set to True to stop processing items when first exception occurs. The result might contain several exceptions though when faulty tasks finish at the same time. + If True (the default behavior), waits on completion for all started tasks when the loop breaks due to cancellation or an exception + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item + Maximum items to schedule processing in parallel. The actual concurrency level depends on TPL settings. Set to 0 to choose a default value based on processor count. + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item + Maximum items to schedule processing in parallel. The actual concurrency level depends on TPL settings. Set to 0 to choose a default value based on processor count. + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item, where first argument is the item and second argument is item's index in the collection + Maximum items to schedule processing in parallel. The actual concurrency level depends on TPL settings. Set to 0 to choose a default value based on processor count. + Set to True to stop processing items when first exception occurs. The result might contain several exceptions though when faulty tasks finish at the same time. + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item, where first argument is the item and second argument is item's index in the collection + Maximum items to schedule processing in parallel. The actual concurrency level depends on TPL settings. Set to 0 to choose a default value based on processor count. + Set to True to stop processing items when first exception occurs. The result might contain several exceptions though when faulty tasks finish at the same time. + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item, where first argument is the item and second argument is item's index in the collection + Maximum items to schedule processing in parallel. The actual concurrency level depends on TPL settings. Set to 0 to choose a default value based on processor count. + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item, where first argument is the item and second argument is item's index in the collection + Maximum items to schedule processing in parallel. The actual concurrency level depends on TPL settings. Set to 0 to choose a default value based on processor count. + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item, where first argument is the item and second argument is item's index in the collection + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item, where first argument is the item and second argument is item's index in the collection + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item + Maximum items to schedule processing in parallel. The actual concurrency level depends on TPL settings. Set to 0 to choose a default value based on processor count. + Set to True to stop processing items when first exception occurs. The result might contain several exceptions though when faulty tasks finish at the same time. + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item + Maximum items to schedule processing in parallel. The actual concurrency level depends on TPL settings. Set to 0 to choose a default value based on processor count. + Set to True to stop processing items when first exception occurs. The result might contain several exceptions though when faulty tasks finish at the same time. + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item + Maximum items to schedule processing in parallel. The actual concurrency level depends on TPL settings. Set to 0 to choose a default value based on processor count. + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item + Maximum items to schedule processing in parallel. The actual concurrency level depends on TPL settings. Set to 0 to choose a default value based on processor count. + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Invokes an asynchronous action on each item in the collection in parallel + + The type of an item + The collection of items to perform actions on + An asynchronous action to perform on the item + Cancellation token + Wraps any exception(s) that occurred inside + Thrown when the loop is canceled with + + + + Exposes an asynchronous enumerator, which supports a simple iteration over a non-generic collection + + + + + Creates an enumerator that iterates through a collection asynchronously + + A cancellation token to cancel creation of the enumerator in case if it takes a lot of time + Returns a task with the created enumerator as result on completion + + + + Supports a simple asynchronous iteration over a non-generic collection + + + + + Gets the current element in the collection. + + + + + Advances the enumerator to the next element of the collection asynchronously + + Returns a Task that does transition to the next element. The result of the task is True if the enumerator was successfully advanced to the next element, or False if the enumerator has passed the end of the collection. + + + + Internal base type for and + + + + + Utility methods for + + + + + Forcibly disables re-use of instances in the method. + This is just a safety switch in case when something goes wrong with re-using instances of . + + + + + Resets a to initial incomplete state. + This method by default re-uses the same instance of the by re-setting internal state of its using reflection. + If such feature is not available or explicitly disable with the method, it just returns a new instance of a . + + Type of the result value + Target to be reset or recreated. It's safe to pass null. + Optional state object that you pass into constructor. + + + diff --git a/packages/Microsoft.Bcl.AsyncInterfaces.6.0.0-preview.7.21377.19/.signature.p7s b/packages/Microsoft.Bcl.AsyncInterfaces.6.0.0-preview.7.21377.19/.signature.p7s new file mode 100755 index 0000000..c73d594 Binary files /dev/null and b/packages/Microsoft.Bcl.AsyncInterfaces.6.0.0-preview.7.21377.19/.signature.p7s differ diff --git a/packages/Microsoft.Bcl.AsyncInterfaces.6.0.0-preview.7.21377.19/Icon.png b/packages/Microsoft.Bcl.AsyncInterfaces.6.0.0-preview.7.21377.19/Icon.png new file mode 100755 index 0000000..a0f1fdb Binary files /dev/null and b/packages/Microsoft.Bcl.AsyncInterfaces.6.0.0-preview.7.21377.19/Icon.png differ diff --git a/packages/Microsoft.Bcl.AsyncInterfaces.6.0.0-preview.7.21377.19/LICENSE.TXT b/packages/Microsoft.Bcl.AsyncInterfaces.6.0.0-preview.7.21377.19/LICENSE.TXT new file mode 100755 index 0000000..984713a --- /dev/null +++ b/packages/Microsoft.Bcl.AsyncInterfaces.6.0.0-preview.7.21377.19/LICENSE.TXT @@ -0,0 +1,23 @@ +The MIT License (MIT) + +Copyright (c) .NET Foundation and Contributors + +All rights reserved. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/packages/Microsoft.Bcl.AsyncInterfaces.6.0.0-preview.7.21377.19/THIRD-PARTY-NOTICES.TXT b/packages/Microsoft.Bcl.AsyncInterfaces.6.0.0-preview.7.21377.19/THIRD-PARTY-NOTICES.TXT new file mode 100755 index 0000000..14c806c --- /dev/null +++ b/packages/Microsoft.Bcl.AsyncInterfaces.6.0.0-preview.7.21377.19/THIRD-PARTY-NOTICES.TXT @@ -0,0 +1,980 @@ +.NET Runtime uses third-party libraries or other resources that may be +distributed under licenses different than the .NET Runtime software. + +In the event that we accidentally failed to list a required notice, please +bring it to our attention. Post an issue or email us: + + dotnet@microsoft.com + +The attached notices are provided for information only. + +License notice for ASP.NET +------------------------------- + +Copyright (c) .NET Foundation. All rights reserved. +Licensed under the Apache License, Version 2.0. + +Available at +https://github.com/dotnet/aspnetcore/blob/main/LICENSE.txt + +License notice for Slicing-by-8 +------------------------------- + +http://sourceforge.net/projects/slicing-by-8/ + +Copyright (c) 2004-2006 Intel Corporation - All Rights Reserved + + +This software program is licensed subject to the BSD License, available at +http://www.opensource.org/licenses/bsd-license.html. + + +License notice for Unicode data +------------------------------- + +https://www.unicode.org/license.html + +Copyright © 1991-2020 Unicode, Inc. All rights reserved. +Distributed under the Terms of Use in https://www.unicode.org/copyright.html. + +Permission is hereby granted, free of charge, to any person obtaining +a copy of the Unicode data files and any associated documentation +(the "Data Files") or Unicode software and any associated documentation +(the "Software") to deal in the Data Files or Software +without restriction, including without limitation the rights to use, +copy, modify, merge, publish, distribute, and/or sell copies of +the Data Files or Software, and to permit persons to whom the Data Files +or Software are furnished to do so, provided that either +(a) this copyright and permission notice appear with all copies +of the Data Files or Software, or +(b) this copyright and permission notice appear in associated +Documentation. + +THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF +ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE +WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT OF THIRD PARTY RIGHTS. +IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS +NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL +DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, +DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER +TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THE DATA FILES OR SOFTWARE. + +Except as contained in this notice, the name of a copyright holder +shall not be used in advertising or otherwise to promote the sale, +use or other dealings in these Data Files or Software without prior +written authorization of the copyright holder. + +License notice for Zlib +----------------------- + +https://github.com/madler/zlib +http://zlib.net/zlib_license.html + +/* zlib.h -- interface of the 'zlib' general purpose compression library + version 1.2.11, January 15th, 2017 + + Copyright (C) 1995-2017 Jean-loup Gailly and Mark Adler + + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. + + Jean-loup Gailly Mark Adler + jloup@gzip.org madler@alumni.caltech.edu + +*/ + +License notice for Mono +------------------------------- + +http://www.mono-project.com/docs/about-mono/ + +Copyright (c) .NET Foundation Contributors + +MIT License + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the Software), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +License notice for International Organization for Standardization +----------------------------------------------------------------- + +Portions (C) International Organization for Standardization 1986: + Permission to copy in any form is granted for use with + conforming SGML systems and applications as defined in + ISO 8879, provided this notice is included in all copies. + +License notice for Intel +------------------------ + +"Copyright (c) 2004-2006 Intel Corporation - All Rights Reserved + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this +list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, +this list of conditions and the following disclaimer in the documentation +and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +License notice for Xamarin and Novell +------------------------------------- + +Copyright (c) 2015 Xamarin, Inc (http://www.xamarin.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +Copyright (c) 2011 Novell, Inc (http://www.novell.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +Third party notice for W3C +-------------------------- + +"W3C SOFTWARE AND DOCUMENT NOTICE AND LICENSE +Status: This license takes effect 13 May, 2015. +This work is being provided by the copyright holders under the following license. +License +By obtaining and/or copying this work, you (the licensee) agree that you have read, understood, and will comply with the following terms and conditions. +Permission to copy, modify, and distribute this work, with or without modification, for any purpose and without fee or royalty is hereby granted, provided that you include the following on ALL copies of the work or portions thereof, including modifications: +The full text of this NOTICE in a location viewable to users of the redistributed or derivative work. +Any pre-existing intellectual property disclaimers, notices, or terms and conditions. If none exist, the W3C Software and Document Short Notice should be included. +Notice of any changes or modifications, through a copyright statement on the new code or document such as "This software or document includes material copied from or derived from [title and URI of the W3C document]. Copyright © [YEAR] W3C® (MIT, ERCIM, Keio, Beihang)." +Disclaimers +THIS WORK IS PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE OR DOCUMENT WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS. +COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE SOFTWARE OR DOCUMENT. +The name and trademarks of copyright holders may NOT be used in advertising or publicity pertaining to the work without specific, written prior permission. Title to copyright in this work will at all times remain with copyright holders." + +License notice for Bit Twiddling Hacks +-------------------------------------- + +Bit Twiddling Hacks + +By Sean Eron Anderson +seander@cs.stanford.edu + +Individually, the code snippets here are in the public domain (unless otherwise +noted) — feel free to use them however you please. The aggregate collection and +descriptions are © 1997-2005 Sean Eron Anderson. The code and descriptions are +distributed in the hope that they will be useful, but WITHOUT ANY WARRANTY and +without even the implied warranty of merchantability or fitness for a particular +purpose. + +License notice for Brotli +-------------------------------------- + +Copyright (c) 2009, 2010, 2013-2016 by the Brotli Authors. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +compress_fragment.c: +Copyright (c) 2011, Google Inc. +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above +copyright notice, this list of conditions and the following disclaimer +in the documentation and/or other materials provided with the +distribution. + * Neither the name of Google Inc. nor the names of its +contributors may be used to endorse or promote products derived from +this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +""AS IS"" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +decode_fuzzer.c: +Copyright (c) 2015 The Chromium Authors. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above +copyright notice, this list of conditions and the following disclaimer +in the documentation and/or other materials provided with the +distribution. + * Neither the name of Google Inc. nor the names of its +contributors may be used to endorse or promote products derived from +this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +""AS IS"" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + +License notice for Json.NET +------------------------------- + +https://github.com/JamesNK/Newtonsoft.Json/blob/master/LICENSE.md + +The MIT License (MIT) + +Copyright (c) 2007 James Newton-King + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +License notice for vectorized base64 encoding / decoding +-------------------------------------------------------- + +Copyright (c) 2005-2007, Nick Galbreath +Copyright (c) 2013-2017, Alfred Klomp +Copyright (c) 2015-2017, Wojciech Mula +Copyright (c) 2016-2017, Matthieu Darbois +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + +- Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + +- Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS +IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED +TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A +PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +License notice for RFC 3492 +--------------------------- + +The punycode implementation is based on the sample code in RFC 3492 + +Copyright (C) The Internet Society (2003). All Rights Reserved. + +This document and translations of it may be copied and furnished to +others, and derivative works that comment on or otherwise explain it +or assist in its implementation may be prepared, copied, published +and distributed, in whole or in part, without restriction of any +kind, provided that the above copyright notice and this paragraph are +included on all such copies and derivative works. However, this +document itself may not be modified in any way, such as by removing +the copyright notice or references to the Internet Society or other +Internet organizations, except as needed for the purpose of +developing Internet standards in which case the procedures for +copyrights defined in the Internet Standards process must be +followed, or as required to translate it into languages other than +English. + +The limited permissions granted above are perpetual and will not be +revoked by the Internet Society or its successors or assigns. + +This document and the information contained herein is provided on an +"AS IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING +TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING +BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION +HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF +MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. + +License notice for Algorithm from Internet Draft document "UUIDs and GUIDs" +--------------------------------------------------------------------------- + +Copyright (c) 1990- 1993, 1996 Open Software Foundation, Inc. +Copyright (c) 1989 by Hewlett-Packard Company, Palo Alto, Ca. & +Digital Equipment Corporation, Maynard, Mass. +To anyone who acknowledges that this file is provided "AS IS" +without any express or implied warranty: permission to use, copy, +modify, and distribute this file for any purpose is hereby +granted without fee, provided that the above copyright notices and +this notice appears in all source code copies, and that none of +the names of Open Software Foundation, Inc., Hewlett-Packard +Company, or Digital Equipment Corporation be used in advertising +or publicity pertaining to distribution of the software without +specific, written prior permission. Neither Open Software +Foundation, Inc., Hewlett-Packard Company, Microsoft, nor Digital Equipment +Corporation makes any representations about the suitability of +this software for any purpose. + +Copyright(C) The Internet Society 1997. All Rights Reserved. + +This document and translations of it may be copied and furnished to others, +and derivative works that comment on or otherwise explain it or assist in +its implementation may be prepared, copied, published and distributed, in +whole or in part, without restriction of any kind, provided that the above +copyright notice and this paragraph are included on all such copies and +derivative works.However, this document itself may not be modified in any +way, such as by removing the copyright notice or references to the Internet +Society or other Internet organizations, except as needed for the purpose of +developing Internet standards in which case the procedures for copyrights +defined in the Internet Standards process must be followed, or as required +to translate it into languages other than English. + +The limited permissions granted above are perpetual and will not be revoked +by the Internet Society or its successors or assigns. + +This document and the information contained herein is provided on an "AS IS" +basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING TASK FORCE +DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO +ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY +RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A +PARTICULAR PURPOSE. + +License notice for Algorithm from RFC 4122 - +A Universally Unique IDentifier (UUID) URN Namespace +---------------------------------------------------- + +Copyright (c) 1990- 1993, 1996 Open Software Foundation, Inc. +Copyright (c) 1989 by Hewlett-Packard Company, Palo Alto, Ca. & +Digital Equipment Corporation, Maynard, Mass. +Copyright (c) 1998 Microsoft. +To anyone who acknowledges that this file is provided "AS IS" +without any express or implied warranty: permission to use, copy, +modify, and distribute this file for any purpose is hereby +granted without fee, provided that the above copyright notices and +this notice appears in all source code copies, and that none of +the names of Open Software Foundation, Inc., Hewlett-Packard +Company, Microsoft, or Digital Equipment Corporation be used in +advertising or publicity pertaining to distribution of the software +without specific, written prior permission. Neither Open Software +Foundation, Inc., Hewlett-Packard Company, Microsoft, nor Digital +Equipment Corporation makes any representations about the +suitability of this software for any purpose." + +License notice for The LLVM Compiler Infrastructure +--------------------------------------------------- + +Developed by: + + LLVM Team + + University of Illinois at Urbana-Champaign + + http://llvm.org + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal with +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies +of the Software, and to permit persons to whom the Software is furnished to do +so, subject to the following conditions: + + * Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimers. + + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimers in the + documentation and/or other materials provided with the distribution. + + * Neither the names of the LLVM Team, University of Illinois at + Urbana-Champaign, nor the names of its contributors may be used to + endorse or promote products derived from this Software without specific + prior written permission. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE +SOFTWARE. + +License notice for Bob Jenkins +------------------------------ + +By Bob Jenkins, 1996. bob_jenkins@burtleburtle.net. You may use this +code any way you wish, private, educational, or commercial. It's free. + +License notice for Greg Parker +------------------------------ + +Greg Parker gparker@cs.stanford.edu December 2000 +This code is in the public domain and may be copied or modified without +permission. + +License notice for libunwind based code +---------------------------------------- + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +License notice for Printing Floating-Point Numbers (Dragon4) +------------------------------------------------------------ + +/****************************************************************************** + Copyright (c) 2014 Ryan Juckett + http://www.ryanjuckett.com/ + + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + + 3. This notice may not be removed or altered from any source + distribution. +******************************************************************************/ + +License notice for Printing Floating-point Numbers (Grisu3) +----------------------------------------------------------- + +Copyright 2012 the V8 project authors. All rights reserved. +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + * Neither the name of Google Inc. nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +License notice for xxHash +------------------------- + +xxHash Library +Copyright (c) 2012-2014, Yann Collet +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, this + list of conditions and the following disclaimer in the documentation and/or + other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +License notice for Berkeley SoftFloat Release 3e +------------------------------------------------ + +https://github.com/ucb-bar/berkeley-softfloat-3 +https://github.com/ucb-bar/berkeley-softfloat-3/blob/master/COPYING.txt + +License for Berkeley SoftFloat Release 3e + +John R. Hauser +2018 January 20 + +The following applies to the whole of SoftFloat Release 3e as well as to +each source file individually. + +Copyright 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018 The Regents of the +University of California. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright notice, + this list of conditions, and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions, and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + 3. Neither the name of the University nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS "AS IS", AND ANY +EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, ARE +DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY +DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND +ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF +THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +License notice for xoshiro RNGs +-------------------------------- + +Written in 2018 by David Blackman and Sebastiano Vigna (vigna@acm.org) + +To the extent possible under law, the author has dedicated all copyright +and related and neighboring rights to this software to the public domain +worldwide. This software is distributed without any warranty. + +See . + +License for fastmod (https://github.com/lemire/fastmod) and ibm-fpgen (https://github.com/nigeltao/parse-number-fxx-test-data) +-------------------------------------- + + Copyright 2018 Daniel Lemire + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +License notice for The C++ REST SDK +----------------------------------- + +C++ REST SDK + +The MIT License (MIT) + +Copyright (c) Microsoft Corporation + +All rights reserved. + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +License notice for MessagePack-CSharp +------------------------------------- + +MessagePack for C# + +MIT License + +Copyright (c) 2017 Yoshifumi Kawai + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +License notice for lz4net +------------------------------------- + +lz4net + +Copyright (c) 2013-2017, Milosz Krajewski + +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + +Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. + +Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +License notice for Nerdbank.Streams +----------------------------------- + +The MIT License (MIT) + +Copyright (c) Andrew Arnott + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +License notice for RapidJSON +---------------------------- + +Tencent is pleased to support the open source community by making RapidJSON available. + +Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved. + +Licensed under the MIT License (the "License"); you may not use this file except +in compliance with the License. You may obtain a copy of the License at + +http://opensource.org/licenses/MIT + +Unless required by applicable law or agreed to in writing, software distributed +under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR +CONDITIONS OF ANY KIND, either express or implied. See the License for the +specific language governing permissions and limitations under the License. + +License notice for DirectX Math Library +--------------------------------------- + +https://github.com/microsoft/DirectXMath/blob/master/LICENSE + + The MIT License (MIT) + +Copyright (c) 2011-2020 Microsoft Corp + +Permission is hereby granted, free of charge, to any person obtaining a copy of this +software and associated documentation files (the "Software"), to deal in the Software +without restriction, including without limitation the rights to use, copy, modify, +merge, publish, distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice shall be included in all copies +or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, +INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT +HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF +CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE +OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +License notice for ldap4net +--------------------------- + +The MIT License (MIT) + +Copyright (c) 2018 Alexander Chermyanin + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +License notice for vectorized sorting code +------------------------------------------ + +MIT License + +Copyright (c) 2020 Dan Shechter + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +License notice for musl +----------------------- + +musl as a whole is licensed under the following standard MIT license: + +Copyright © 2005-2020 Rich Felker, et al. + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +License notice for Sun Microsystems +----------------------------------- + + +Copyright (c) 2002 Sun Microsystems, Inc. All Rights Reserved. + +Redistribution and use in source and binary forms, with or +without modification, are permitted provided that the following +conditions are met: + + -Redistribution of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + -Redistribution in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials + provided with the distribution. + +Neither the name of Sun Microsystems, Inc. or the names of +contributors may be used to endorse or promote products derived +from this software without specific prior written permission. + +This software is provided "AS IS," without a warranty of any +kind. ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND +WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE +HEREBY EXCLUDED. SUN MICROSYSTEMS, INC. ("SUN") AND ITS +LICENSORS SHALL NOT BE LIABLE FOR ANY DAMAGES SUFFERED BY +LICENSEE AS A RESULT OF USING, MODIFYING OR DISTRIBUTING THIS +SOFTWARE OR ITS DERIVATIVES. IN NO EVENT WILL SUN OR ITS +LICENSORS BE LIABLE FOR ANY LOST REVENUE, PROFIT OR DATA, OR +FOR DIRECT, INDIRECT, SPECIAL, CONSEQUENTIAL, INCIDENTAL OR +PUNITIVE DAMAGES, HOWEVER CAUSED AND REGARDLESS OF THE THEORY +OF LIABILITY, ARISING OUT OF THE USE OF OR INABILITY TO USE +THIS SOFTWARE, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY +OF SUCH DAMAGES. + +You acknowledge that this software is not designed, licensed or +intended for use in the design, construction, operation or +maintenance of any nuclear facility. + + +License notice for "Faster Unsigned Division by Constants" +------------------------------ + +Reference implementations of computing and using the "magic number" approach to dividing +by constants, including codegen instructions. The unsigned division incorporates the +"round down" optimization per ridiculous_fish. + +This is free and unencumbered software. Any copyright is dedicated to the Public Domain. + + +License notice for mimalloc +----------------------------------- + +MIT License + +Copyright (c) 2019 Microsoft Corporation, Daan Leijen + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/packages/Microsoft.Bcl.AsyncInterfaces.6.0.0-preview.7.21377.19/lib/net461/Microsoft.Bcl.AsyncInterfaces.dll b/packages/Microsoft.Bcl.AsyncInterfaces.6.0.0-preview.7.21377.19/lib/net461/Microsoft.Bcl.AsyncInterfaces.dll new file mode 100755 index 0000000..433ed54 Binary files /dev/null and b/packages/Microsoft.Bcl.AsyncInterfaces.6.0.0-preview.7.21377.19/lib/net461/Microsoft.Bcl.AsyncInterfaces.dll differ diff --git a/packages/Microsoft.Bcl.AsyncInterfaces.6.0.0-preview.7.21377.19/lib/net461/Microsoft.Bcl.AsyncInterfaces.xml b/packages/Microsoft.Bcl.AsyncInterfaces.6.0.0-preview.7.21377.19/lib/net461/Microsoft.Bcl.AsyncInterfaces.xml new file mode 100755 index 0000000..cb1744f --- /dev/null +++ b/packages/Microsoft.Bcl.AsyncInterfaces.6.0.0-preview.7.21377.19/lib/net461/Microsoft.Bcl.AsyncInterfaces.xml @@ -0,0 +1,223 @@ + + + + Microsoft.Bcl.AsyncInterfaces + + + + Provides the core logic for implementing a manual-reset or . + + + + + The callback to invoke when the operation completes if was called before the operation completed, + or if the operation completed before a callback was supplied, + or null if a callback hasn't yet been provided and the operation hasn't yet completed. + + + + State to pass to . + + + to flow to the callback, or null if no flowing is required. + + + + A "captured" or with which to invoke the callback, + or null if no special context is required. + + + + Whether the current operation has completed. + + + The result with which the operation succeeded, or the default value if it hasn't yet completed or failed. + + + The exception with which the operation failed, or null if it hasn't yet completed or completed successfully. + + + The current version of this value, used to help prevent misuse. + + + Gets or sets whether to force continuations to run asynchronously. + Continuations may run asynchronously if this is false, but they'll never run synchronously if this is true. + + + Resets to prepare for the next operation. + + + Completes with a successful result. + The result. + + + Complets with an error. + + + + Gets the operation version. + + + Gets the status of the operation. + Opaque value that was provided to the 's constructor. + + + Gets the result of the operation. + Opaque value that was provided to the 's constructor. + + + Schedules the continuation action for this operation. + The continuation to invoke when the operation has completed. + The state object to pass to when it's invoked. + Opaque value that was provided to the 's constructor. + The flags describing the behavior of the continuation. + + + Ensures that the specified token matches the current version. + The token supplied by . + + + Signals that the operation has completed. Invoked after the result or error has been set. + + + + Invokes the continuation with the appropriate captured context / scheduler. + This assumes that if is not null we're already + running within that . + + + + Provides a set of static methods for configuring -related behaviors on asynchronous enumerables and disposables. + + + Configures how awaits on the tasks returned from an async disposable will be performed. + The source async disposable. + Whether to capture and marshal back to the current context. + The configured async disposable. + + + Configures how awaits on the tasks returned from an async iteration will be performed. + The type of the objects being iterated. + The source enumerable being iterated. + Whether to capture and marshal back to the current context. + The configured enumerable. + + + Sets the to be passed to when iterating. + The type of the objects being iterated. + The source enumerable being iterated. + The to use. + The configured enumerable. + + + Represents a builder for asynchronous iterators. + + + Creates an instance of the struct. + The initialized instance. + + + Invokes on the state machine while guarding the . + The type of the state machine. + The state machine instance, passed by reference. + + + Schedules the state machine to proceed to the next action when the specified awaiter completes. + The type of the awaiter. + The type of the state machine. + The awaiter. + The state machine. + + + Schedules the state machine to proceed to the next action when the specified awaiter completes. + The type of the awaiter. + The type of the state machine. + The awaiter. + The state machine. + + + Marks iteration as being completed, whether successfully or otherwise. + + + Gets an object that may be used to uniquely identify this builder to the debugger. + + + Indicates whether a method is an asynchronous iterator. + + + Initializes a new instance of the class. + The type object for the underlying state machine type that's used to implement a state machine method. + + + Provides a type that can be used to configure how awaits on an are performed. + + + Provides an awaitable async enumerable that enables cancelable iteration and configured awaits. + + + Configures how awaits on the tasks returned from an async iteration will be performed. + Whether to capture and marshal back to the current context. + The configured enumerable. + This will replace any previous value set by for this iteration. + + + Sets the to be passed to when iterating. + The to use. + The configured enumerable. + This will replace any previous set by for this iteration. + + + Provides an awaitable async enumerator that enables cancelable iteration and configured awaits. + + + Advances the enumerator asynchronously to the next element of the collection. + + A that will complete with a result of true + if the enumerator was successfully advanced to the next element, or false if the enumerator has + passed the end of the collection. + + + + Gets the element in the collection at the current position of the enumerator. + + + + Performs application-defined tasks associated with freeing, releasing, or + resetting unmanaged resources asynchronously. + + + + Exposes an enumerator that provides asynchronous iteration over values of a specified type. + The type of values to enumerate. + + + Returns an enumerator that iterates asynchronously through the collection. + A that may be used to cancel the asynchronous iteration. + An enumerator that can be used to iterate asynchronously through the collection. + + + Supports a simple asynchronous iteration over a generic collection. + The type of objects to enumerate. + + + Advances the enumerator asynchronously to the next element of the collection. + + A that will complete with a result of true if the enumerator + was successfully advanced to the next element, or false if the enumerator has passed the end + of the collection. + + + + Gets the element in the collection at the current position of the enumerator. + + + Provides a mechanism for releasing unmanaged resources asynchronously. + + + + Performs application-defined tasks associated with freeing, releasing, or + resetting unmanaged resources asynchronously. + + + + diff --git a/packages/Microsoft.Bcl.AsyncInterfaces.6.0.0-preview.7.21377.19/lib/netstandard2.0/Microsoft.Bcl.AsyncInterfaces.dll b/packages/Microsoft.Bcl.AsyncInterfaces.6.0.0-preview.7.21377.19/lib/netstandard2.0/Microsoft.Bcl.AsyncInterfaces.dll new file mode 100755 index 0000000..d96ea6b Binary files /dev/null and b/packages/Microsoft.Bcl.AsyncInterfaces.6.0.0-preview.7.21377.19/lib/netstandard2.0/Microsoft.Bcl.AsyncInterfaces.dll differ diff --git a/packages/Microsoft.Bcl.AsyncInterfaces.6.0.0-preview.7.21377.19/lib/netstandard2.0/Microsoft.Bcl.AsyncInterfaces.xml b/packages/Microsoft.Bcl.AsyncInterfaces.6.0.0-preview.7.21377.19/lib/netstandard2.0/Microsoft.Bcl.AsyncInterfaces.xml new file mode 100755 index 0000000..cb1744f --- /dev/null +++ b/packages/Microsoft.Bcl.AsyncInterfaces.6.0.0-preview.7.21377.19/lib/netstandard2.0/Microsoft.Bcl.AsyncInterfaces.xml @@ -0,0 +1,223 @@ + + + + Microsoft.Bcl.AsyncInterfaces + + + + Provides the core logic for implementing a manual-reset or . + + + + + The callback to invoke when the operation completes if was called before the operation completed, + or if the operation completed before a callback was supplied, + or null if a callback hasn't yet been provided and the operation hasn't yet completed. + + + + State to pass to . + + + to flow to the callback, or null if no flowing is required. + + + + A "captured" or with which to invoke the callback, + or null if no special context is required. + + + + Whether the current operation has completed. + + + The result with which the operation succeeded, or the default value if it hasn't yet completed or failed. + + + The exception with which the operation failed, or null if it hasn't yet completed or completed successfully. + + + The current version of this value, used to help prevent misuse. + + + Gets or sets whether to force continuations to run asynchronously. + Continuations may run asynchronously if this is false, but they'll never run synchronously if this is true. + + + Resets to prepare for the next operation. + + + Completes with a successful result. + The result. + + + Complets with an error. + + + + Gets the operation version. + + + Gets the status of the operation. + Opaque value that was provided to the 's constructor. + + + Gets the result of the operation. + Opaque value that was provided to the 's constructor. + + + Schedules the continuation action for this operation. + The continuation to invoke when the operation has completed. + The state object to pass to when it's invoked. + Opaque value that was provided to the 's constructor. + The flags describing the behavior of the continuation. + + + Ensures that the specified token matches the current version. + The token supplied by . + + + Signals that the operation has completed. Invoked after the result or error has been set. + + + + Invokes the continuation with the appropriate captured context / scheduler. + This assumes that if is not null we're already + running within that . + + + + Provides a set of static methods for configuring -related behaviors on asynchronous enumerables and disposables. + + + Configures how awaits on the tasks returned from an async disposable will be performed. + The source async disposable. + Whether to capture and marshal back to the current context. + The configured async disposable. + + + Configures how awaits on the tasks returned from an async iteration will be performed. + The type of the objects being iterated. + The source enumerable being iterated. + Whether to capture and marshal back to the current context. + The configured enumerable. + + + Sets the to be passed to when iterating. + The type of the objects being iterated. + The source enumerable being iterated. + The to use. + The configured enumerable. + + + Represents a builder for asynchronous iterators. + + + Creates an instance of the struct. + The initialized instance. + + + Invokes on the state machine while guarding the . + The type of the state machine. + The state machine instance, passed by reference. + + + Schedules the state machine to proceed to the next action when the specified awaiter completes. + The type of the awaiter. + The type of the state machine. + The awaiter. + The state machine. + + + Schedules the state machine to proceed to the next action when the specified awaiter completes. + The type of the awaiter. + The type of the state machine. + The awaiter. + The state machine. + + + Marks iteration as being completed, whether successfully or otherwise. + + + Gets an object that may be used to uniquely identify this builder to the debugger. + + + Indicates whether a method is an asynchronous iterator. + + + Initializes a new instance of the class. + The type object for the underlying state machine type that's used to implement a state machine method. + + + Provides a type that can be used to configure how awaits on an are performed. + + + Provides an awaitable async enumerable that enables cancelable iteration and configured awaits. + + + Configures how awaits on the tasks returned from an async iteration will be performed. + Whether to capture and marshal back to the current context. + The configured enumerable. + This will replace any previous value set by for this iteration. + + + Sets the to be passed to when iterating. + The to use. + The configured enumerable. + This will replace any previous set by for this iteration. + + + Provides an awaitable async enumerator that enables cancelable iteration and configured awaits. + + + Advances the enumerator asynchronously to the next element of the collection. + + A that will complete with a result of true + if the enumerator was successfully advanced to the next element, or false if the enumerator has + passed the end of the collection. + + + + Gets the element in the collection at the current position of the enumerator. + + + + Performs application-defined tasks associated with freeing, releasing, or + resetting unmanaged resources asynchronously. + + + + Exposes an enumerator that provides asynchronous iteration over values of a specified type. + The type of values to enumerate. + + + Returns an enumerator that iterates asynchronously through the collection. + A that may be used to cancel the asynchronous iteration. + An enumerator that can be used to iterate asynchronously through the collection. + + + Supports a simple asynchronous iteration over a generic collection. + The type of objects to enumerate. + + + Advances the enumerator asynchronously to the next element of the collection. + + A that will complete with a result of true if the enumerator + was successfully advanced to the next element, or false if the enumerator has passed the end + of the collection. + + + + Gets the element in the collection at the current position of the enumerator. + + + Provides a mechanism for releasing unmanaged resources asynchronously. + + + + Performs application-defined tasks associated with freeing, releasing, or + resetting unmanaged resources asynchronously. + + + + diff --git a/packages/Microsoft.Bcl.AsyncInterfaces.6.0.0-preview.7.21377.19/lib/netstandard2.1/Microsoft.Bcl.AsyncInterfaces.dll b/packages/Microsoft.Bcl.AsyncInterfaces.6.0.0-preview.7.21377.19/lib/netstandard2.1/Microsoft.Bcl.AsyncInterfaces.dll new file mode 100755 index 0000000..bed514f Binary files /dev/null and b/packages/Microsoft.Bcl.AsyncInterfaces.6.0.0-preview.7.21377.19/lib/netstandard2.1/Microsoft.Bcl.AsyncInterfaces.dll differ diff --git a/packages/Microsoft.Bcl.AsyncInterfaces.6.0.0-preview.7.21377.19/lib/netstandard2.1/Microsoft.Bcl.AsyncInterfaces.xml b/packages/Microsoft.Bcl.AsyncInterfaces.6.0.0-preview.7.21377.19/lib/netstandard2.1/Microsoft.Bcl.AsyncInterfaces.xml new file mode 100755 index 0000000..5fd48a2 --- /dev/null +++ b/packages/Microsoft.Bcl.AsyncInterfaces.6.0.0-preview.7.21377.19/lib/netstandard2.1/Microsoft.Bcl.AsyncInterfaces.xml @@ -0,0 +1,8 @@ + + + + Microsoft.Bcl.AsyncInterfaces + + + + diff --git a/packages/Microsoft.Bcl.AsyncInterfaces.6.0.0-preview.7.21377.19/useSharedDesignerContext.txt b/packages/Microsoft.Bcl.AsyncInterfaces.6.0.0-preview.7.21377.19/useSharedDesignerContext.txt new file mode 100755 index 0000000..e69de29