Click or drag to resize

IReadOnlyListDictionaryTKey, TValue Interface

Interface that combines a read-only dictionary and a list of its values.

Namespace: Altaxo.Collections
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public interface IReadOnlyListDictionary<TKey, TValue> : IReadOnlyList<TValue>, 
	IReadOnlyCollection<TValue>, IEnumerable<TValue>, IEnumerable, IReadOnlyDictionary<TKey, TValue>, 
	IReadOnlyCollection<KeyValuePair<TKey, TValue>>, IEnumerable<KeyValuePair<TKey, TValue>>

Type Parameters

TKey
The type of the key.
TValue
The type of the value.

The IReadOnlyListDictionaryTKey, TValue type exposes the following members.

Properties
 NameDescription
Public propertyCountGets the number of elements in the collection.
(Inherited from IReadOnlyCollectionTValue)
Public propertyItemInt32Gets the element at the specified index in the read-only list.
(Inherited from IReadOnlyListTValue)
Public propertyItemTKeyGets the element that has the specified key in the read-only dictionary.
(Inherited from IReadOnlyDictionaryTKey, TValue)
Public propertyKeysGets an enumerable collection that contains the keys in the read-only dictionary.
(Inherited from IReadOnlyDictionaryTKey, TValue)
Public propertyValuesGets an enumerable collection that contains the values in the read-only dictionary.
(Inherited from IReadOnlyDictionaryTKey, TValue)
Top
Methods
 NameDescription
Public methodContainsKeyDetermines whether the read-only dictionary contains an element that has the specified key.
(Inherited from IReadOnlyDictionaryTKey, TValue)
Public methodGetEnumeratorReturns an enumerator that iterates through the collection.
(Inherited from IEnumerableTValue)
Public methodTryGetValueGets the value that is associated with the specified key.
(Inherited from IReadOnlyDictionaryTKey, TValue)
Top
Extension Methods
 NameDescription
Public Extension MethodElementsAtTValue
(Defined by VectorMath)
Public Extension MethodElementsWhereTValue
(Defined by VectorMath)
Public Extension MethodElementsWhereTValue
(Defined by VectorMath)
Public Extension MethodFirstOrTValue 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 MethodFirstOrKeyValuePairTKey, TValue
(Defined by EnumerableExtensions)
Public Extension MethodFlattenFromRootToLeavesTValue 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 MethodFlattenFromRootToLeavesKeyValuePairTKey, TValue
(Defined by EnumerableExtensions)
Public Extension MethodForEachDoTValue Executes an action for each element of the sequence.
(Defined by EnumerableExtensions)
Public Extension MethodForEachDoKeyValuePairTKey, TValue
(Defined by EnumerableExtensions)
Public Extension MethodGetPossibleStepsToMoveTowardsHigherIndicesTValue Return the number of steps that selected items can be moved towards higher indices. The selected item with the highest index determines that value.
(Defined by ListExtensions)
Public Extension MethodGetPossibleStepsToMoveTowardsLowerIndicesTValue Return the number of steps that selected items can be moved towards lower indices. The selected item with the lowest index determines that value.
(Defined by ListExtensions)
Public Extension MethodHasSingleElementTValue Determines whether the specified enumeration has exactly one element.
(Defined by EnumerableExtensions)
Public Extension MethodHasSingleElementKeyValuePairTKey, TValue
(Defined by EnumerableExtensions)
Public Extension MethodIndexOfTValue Gets the index of an item in a enumeration or list.
(Defined by ListExtensions)
Public Extension MethodIndexOfKeyValuePairTKey, TValue
(Defined by ListExtensions)
Public Extension MethodIndexOfFirstTValue Gets the index the of first item in list that fulfills the predicate predicate
(Defined by ListExtensions)
Public Extension MethodIndexOfFirstKeyValuePairTKey, TValue
(Defined by ListExtensions)
Public Extension MethodIndexOfFirstTValue Gets the index the of first item in list that fulfills the predicate predicate
(Defined by ListExtensions)
Public Extension MethodIndexOfFirstKeyValuePairTKey, TValue
(Defined by ListExtensions)
Public Extension MethodIndexOfMaxTValueReturn 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 MethodIndexOfMaxKeyValuePairTKey, TValue
(Defined by EnumerableExtensions)
Public Extension MethodIndexOfMinTValueReturn 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 MethodIndexOfMinKeyValuePairTKey, TValue
(Defined by EnumerableExtensions)
Public Extension MethodIndicesInt32AndValuesWhereTValue 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, TValue
(Defined by EnumerableExtensions)
Public Extension MethodIndicesInt32AndValuesWhereTValue 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 MethodIndicesInt32AndValuesWhereKeyValuePairTKey, TValue
(Defined by EnumerableExtensions)
Public Extension MethodIndicesInt32WhereTValue Returns the indices of the elements which fullfill a given condition, given by the element's value.
(Defined by EnumerableExtensions)
Public Extension MethodIndicesInt32WhereKeyValuePairTKey, TValue
(Defined by EnumerableExtensions)
Public Extension MethodIndicesInt32WhereTValue 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 MethodIndicesInt32WhereKeyValuePairTKey, TValue
(Defined by EnumerableExtensions)
Public Extension MethodIndicesOfMinMaxTValueReturn 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 MethodIndicesOfMinMaxKeyValuePairTKey, TValue
(Defined by EnumerableExtensions)
Public Extension MethodIsEmptyTValue Determines whether the specified enumeration is empty.
(Defined by EnumerableExtensions)
Public Extension MethodIsEmptyKeyValuePairTKey, TValue
(Defined by EnumerableExtensions)
Public Extension MethodJoinConditionalTValue, 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, TValue, T2
(Defined by EnumerableExtensions)
Public Extension MethodJoinConditionalTValue, 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 MethodJoinConditionalKeyValuePairTKey, TValue, T2, TResult
(Defined by EnumerableExtensions)
Public Extension MethodLastOrTValue 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 MethodLastOrKeyValuePairTKey, TValue
(Defined by EnumerableExtensions)
Public Extension MethodMaxElementTValue, 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 MethodMaxElementKeyValuePairTKey, TValue, M
(Defined by EnumerableExtensions)
Public Extension MethodMaxOrDefaultTValue, M Evaluates the maximum of a enumeration of elements, or returns a default value if the series is empty.
(Defined by EnumerableExtensions)
Public Extension MethodMaxOrDefaultKeyValuePairTKey, TValue, M
(Defined by EnumerableExtensions)
Public Extension MethodSelectCombinationTValue Select a random combination, without repetition, from a data sequence by selecting k elements in original order.
(Defined by Combinatorics)
Public Extension MethodSelectCombinationKeyValuePairTKey, TValue
(Defined by Combinatorics)
Public Extension MethodSelectCombinationWithRepetitionTValue Select a random combination, with repetition, from a data sequence by selecting k elements in original order.
(Defined by Combinatorics)
Public Extension MethodSelectCombinationWithRepetitionKeyValuePairTKey, TValue
(Defined by Combinatorics)
Public Extension MethodSelectPermutationTValue 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 MethodSelectPermutationKeyValuePairTKey, TValue
(Defined by Combinatorics)
Public Extension MethodSelectVariationTValue 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 MethodSelectVariationKeyValuePairTKey, TValue
(Defined by Combinatorics)
Public Extension MethodSelectVariationWithRepetitionTValue Select a random variation, with repetition, from a data sequence by randomly selecting k elements in random order.
(Defined by Combinatorics)
Public Extension MethodSelectVariationWithRepetitionKeyValuePairTKey, TValue
(Defined by Combinatorics)
Public Extension MethodTakeAllButLastTValue Takes all elements of the enumeration except the last element.
(Defined by EnumerableExtensions)
Public Extension MethodTakeAllButLastKeyValuePairTKey, TValue
(Defined by EnumerableExtensions)
Public Extension MethodThisOrEmptyTValue Returns either the provided enumeration, or if it is null, an empty enumeration.
(Defined by EnumerableExtensions)
Public Extension MethodThisOrEmptyKeyValuePairTKey, TValue
(Defined by EnumerableExtensions)
Public Extension MethodTryGetFirstAndLastTValue Returns true and the first and last value of the enumeration, or, if the enumeration is empty, returns false.
(Defined by EnumerableExtensions)
Public Extension MethodTryGetFirstAndLastKeyValuePairTKey, TValue
(Defined by EnumerableExtensions)
Public Extension MethodTryGetSingleElementTValue Try to get the one and only element of the collection.
(Defined by EnumerableExtensions)
Public Extension MethodTryGetSingleElementKeyValuePairTKey, TValue
(Defined by EnumerableExtensions)
Top
See Also