Click or drag to resize

PartialDictionaryTKey, TBaseValue, TDerivValue Methods

The PartialDictionaryTKey, TBaseValue, TDerivValue type exposes the following members.

Methods
 NameDescription
Public methodAdd(KeyValuePairTKey, TDerivValue)Adds an item to the ICollectionT.
Public methodAdd(TKey, TDerivValue)Adds an element with the provided key and value to the IDictionaryTKey, TValue.
Public methodClearRemoves all items from the ICollectionT.
Public methodContainsDetermines whether the ICollectionT contains a specific value.
Public methodContainsKeyDetermines whether the IDictionaryTKey, TValue contains an element with the specified key.
Public methodCopyToCopies the elements of the ICollectionT to an Array, starting at a particular Array index.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetEnumeratorReturns an enumerator that iterates through the collection.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodRemove(KeyValuePairTKey, TDerivValue)Removes the first occurrence of a specific object from the ICollectionT.
Public methodRemove(TKey)Removes the element with the specified key from the IDictionaryTKey, TValue.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodTryGetValueGets the value associated with the specified key.
Top
Extension Methods
 NameDescription
Public Extension MethodAddRangeKeyValuePairTKey, TDerivValue Adds a range of items to a collection.
(Defined by ListExtensions)
Public Extension MethodFillWithKeyValuePairTKey, TDerivValue Clears and fills a collection with the specified items.
(Defined by ListExtensions)
Public Extension MethodFirstOrKeyValuePairTKey, TDerivValue Returns the first value of the enumeration, or, if the enumeration is empty, the other value provided in the arguments.
(Defined by EnumerableExtensions)
Public Extension MethodFlattenFromRootToLeavesKeyValuePairTKey, TDerivValue Converts a recursive data structure into a flat list. The root element is enumerated before its corresponding child element(s).
(Defined by EnumerableExtensions)
Public Extension MethodForEachDoKeyValuePairTKey, TDerivValue Executes an action for each element of the sequence.
(Defined by EnumerableExtensions)
Public Extension MethodGetSameOrDefaultKeyValuePairTKey, TDerivValue, S Gets the same element if all elements of the enumeration (after a transformation) are the same. If the elements in the enumeration are different, the return value is null or default.
(Defined by EnumerableExtensions)
Public Extension MethodHasSingleElementKeyValuePairTKey, TDerivValue Determines whether the specified enumeration has exactly one element.
(Defined by EnumerableExtensions)
Public Extension MethodIndexOfKeyValuePairTKey, TDerivValue Gets the index of an item in an enumeration or list.
(Defined by ListExtensions)
Public Extension MethodIndexOfFirstKeyValuePairTKey, TDerivValue Gets the index of the first item in list that fulfills the predicate predicate.
(Defined by ListExtensions)
Public Extension MethodIndexOfFirstKeyValuePairTKey, TDerivValue Gets the index of the first item in list that fulfills the predicate predicate.
(Defined by ListExtensions)
Public Extension MethodIndexOfMaxKeyValuePairTKey, TDerivValueReturn the index of the element with the maximum value in an enumerable. If multiple elements with the same minimal value exist, the index of the first element in the sequence is returned.
(Defined by EnumerableExtensions)
Public Extension MethodIndexOfMinKeyValuePairTKey, TDerivValueReturn the index of the element with the minimum value in an enumerable. If multiple elements with the same minimal value exist, the index of the first element in the sequence is returned.
(Defined by EnumerableExtensions)
Public Extension MethodIndicesInt32AndValuesWhereKeyValuePairTKey, TDerivValue Returns tuples of index and element of all elements in an enumeration which fullfill a given condition, given by the element's value.
(Defined by EnumerableExtensions)
Public Extension MethodIndicesInt32AndValuesWhereKeyValuePairTKey, TDerivValue Returns tuples of index and element of all elements in an enumeration which fullfill a given condition, given by the element's value and its index.
(Defined by EnumerableExtensions)
Public Extension MethodIndicesInt32WhereKeyValuePairTKey, TDerivValue Returns the indices of the elements which fullfill a given condition, given by the element's value.
(Defined by EnumerableExtensions)
Public Extension MethodIndicesInt32WhereKeyValuePairTKey, TDerivValue Returns the indices of the elements which fullfill a given condition, given by the element's value and its index.
(Defined by EnumerableExtensions)
Public Extension MethodIndicesOfMinMaxKeyValuePairTKey, TDerivValueReturn the index of the element with the minimum value in an enumerable. If multiple elements with the same minimal value exist, the index of the first element in the sequence is returned.
(Defined by EnumerableExtensions)
Public Extension MethodIsEmptyKeyValuePairTKey, TDerivValue Determines whether the specified enumeration is empty.
(Defined by EnumerableExtensions)
Public Extension MethodJoinConditionalKeyValuePairTKey, TDerivValue, T2 Takes a join of two sequences, but only takes into account those pair, which fulfill a given condition.
(Defined by EnumerableExtensions)
Public Extension MethodJoinConditionalKeyValuePairTKey, TDerivValue, T2, TResult Takes a join of two sequences, but only takes into account those pair, which fulfill a given condition.
(Defined by EnumerableExtensions)
Public Extension MethodLastOrKeyValuePairTKey, TDerivValue Returns the last value of the enumeration, or, if the enumeration is empty, the other value provided in the arguments.
(Defined by EnumerableExtensions)
Public Extension MethodMaxElementKeyValuePairTKey, TDerivValue, M Gets the element of a IEnumerabe that evaluates by means of a conversion function to the maximal value. This is different from Select(x => conversion(x)).Max() insofar as it not returns the maximum value, but the original element x which converts to the maximum value.
(Defined by EnumerableExtensions)
Public Extension MethodMaxOrDefaultKeyValuePairTKey, TDerivValue, M Evaluates the maximum of a enumeration of elements, or returns a default value if the series is empty.
(Defined by EnumerableExtensions)
Public Extension MethodSelectCombinationKeyValuePairTKey, TDerivValue Select a random combination, without repetition, from a data sequence by selecting k elements in original order.
(Defined by Combinatorics)
Public Extension MethodSelectCombinationWithRepetitionKeyValuePairTKey, TDerivValue Select a random combination, with repetition, from a data sequence by selecting k elements in original order.
(Defined by Combinatorics)
Public Extension MethodSelectPermutationKeyValuePairTKey, TDerivValue Select a random permutation from a data sequence by returning the provided data in random order. Implemented using Fisher-Yates Shuffling.
(Defined by Combinatorics)
Public Extension MethodSelectVariationKeyValuePairTKey, TDerivValue Select a random variation, without repetition, from a data sequence by randomly selecting k elements in random order. Implemented using partial Fisher-Yates Shuffling.
(Defined by Combinatorics)
Public Extension MethodSelectVariationWithRepetitionKeyValuePairTKey, TDerivValue Select a random variation, with repetition, from a data sequence by randomly selecting k elements in random order.
(Defined by Combinatorics)
Public Extension MethodTakeAllButLastKeyValuePairTKey, TDerivValue Takes all elements of the enumeration except the last element.
(Defined by EnumerableExtensions)
Public Extension MethodThisOrEmptyKeyValuePairTKey, TDerivValue Returns either the provided enumeration, or if it is null, an empty enumeration.
(Defined by EnumerableExtensions)
Public Extension MethodTryGetFirstAndLastKeyValuePairTKey, TDerivValue Returns true and the first and last value of the enumeration, or, if the enumeration is empty, returns false.
(Defined by EnumerableExtensions)
Public Extension MethodTryGetSingleElementKeyValuePairTKey, TDerivValue Try to get the one and only element of the collection.
(Defined by EnumerableExtensions)
Top
See Also