IMetaCollectionT Interface

Interface for Permutations, Combinations and any other classes that present a collection of collections based on an input collection.

The enumerators that this class inherits defines the mechanism for enumerating through the collections.

Definition

Namespace: DevCase.Core.Math.Combinatorics
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public interface IMetaCollection<T> : IEnumerable<IList<T>>
Implements
IEnumerableIListT

Type Parameters

T
The of the elements in the collection, not the type of the collection.

Properties

Count The count of items in the collection.

This is not inherited from ICollection since this meta-collection cannot be extended by users.

LowerIndex The lower index of the meta-collection, which is the size of each output collection.
Type The type of the meta-collection, determining how the collections are determined from the inputs.
UpperIndex The upper index of the meta-collection, which is the size of the input collection.

Methods

GetEnumerator Returns an enumerator that iterates through the collection.
(Inherited from IEnumerableIListT)

Extension Methods

AppendIListT Appends an element to the end of the source collection.
(Defined by IEnumerableExtensions)
AsReadOnlyIListT Returns a read-only ReadOnlyCollectionT wrapper for the specified collection.
(Defined by IEnumerableExtensions)
CountEmptyItemsIListT Counts the empty items of the source IEnumerableT.
(Defined by IEnumerableExtensions)
CountNonEmptyItemsIListT Counts the non-empty items of the source IEnumerableT.
(Defined by IEnumerableExtensions)
DistinctByIListT, TKey Returns distinct elements from a sequence by using a specified key selector and the default equality comparer to compare values.
(Defined by IEnumerableExtensions)
DistinctByIListT, TKey Returns distinct elements from a sequence by using a specified key selector and equality comparer to compare values.
(Defined by IEnumerableExtensions)
DuplicatesIListT Gets all the duplicated values of the source IEnumerableT.
(Defined by IEnumerableExtensions)
ForEachIListT Performs the specified action on each element of the IEnumerableT.
(Defined by IEnumerableExtensions)
GetRandomItemIListT Gets a random element from the source IEnumerableT.
(Defined by IEnumerableExtensions)
GroupByIntoFirstElementIListT, TKey Groups the elements of a sequence according to a specified key selector function and discards all the elements in each group except the first element.
(Defined by IEnumerableExtensions)
GroupByIntoItemCountIListT, TKey Groups the elements of a sequence according to a specified key selector function and returns a DictionaryTKey, TValue dictionary on which {.key = element} and {.value = element count}.
(Defined by IEnumerableExtensions)
GroupByIntoMaxNumberOfElementsIListT, TKey Groups the elements of a sequence according to a specified key selector function and takes the specified amount of elements of each group.
(Defined by IEnumerableExtensions)
IndexOfIListT Searches for the specified object pattern and returns the zero-based index of the first occurrence within the entire IEnumerableT.
(Defined by IEnumerableExtensions)
IndexOfIListT Searches for the specified object and returns the zero-based index of the first occurrence within the entire IEnumerableT.
(Defined by IEnumerableExtensions)
IndexOfIListT Searches for the specified object pattern and returns the zero-based index of the first occurrence within the entire IEnumerableT.
(Defined by IEnumerableExtensions)
IndexOfIListT Searches for the specified object and returns the zero-based index of the first occurrence within the entire IEnumerableT.
(Defined by IEnumerableExtensions)
IndexOfIListT Searches for the specified object pattern and returns the zero-based index of the first occurrence within the entire IEnumerableT.
(Defined by IEnumerableExtensions)
IndexOfIListT Searches for the specified object and returns the zero-based index of the first occurrence within the entire IEnumerableT.
(Defined by IEnumerableExtensions)
IndexOfAllIListT Searches for the specified object pattern and returns the zero-based indices of all the occurrence within the entire IEnumerableT.
(Defined by IEnumerableExtensions)
IndexOfAllIListT Searches for the specified object and returns the zero-based indices of all the occurrence within the entire IEnumerableT.
(Defined by IEnumerableExtensions)
IndexOfAllIListT Searches for the specified object pattern and returns the zero-based indices of all the occurrence within the entire IEnumerableT.
(Defined by IEnumerableExtensions)
IndexOfAllIListT Searches for the specified object and returns the zero-based indices of all the occurrence within the entire IEnumerableT.
(Defined by IEnumerableExtensions)
IndexOfAllIListT Searches for the specified object pattern and returns the zero-based indices of all the occurrence within the entire IEnumerableT.
(Defined by IEnumerableExtensions)
IndexOfAllIListT Searches for the specified object and returns the zero-based indices of all the occurrence within the entire IEnumerableT.
(Defined by IEnumerableExtensions)
PrependIListT Prepends an element to the start of the source collection.
(Defined by IEnumerableExtensions)
RandomizeIListT Randomizes the elements of the source IEnumerableT.
(Defined by IEnumerableExtensions)
RemoveDuplicatesIListT Removes duplicated values in the source IEnumerableT.
(Defined by IEnumerableExtensions)
RemoveDuplicatesIListT Removes duplicated values in the source IEnumerableT.
(Defined by IEnumerableExtensions)
RemoveSequenceIListT Searches for the specified pattern of elements in the source IEnumerableT and removes any occurrences.
(Defined by IEnumerableExtensions)
RemoveSequenceIListT Searches for the specified pattern of elements in the source IEnumerableT and removes any occurrences.
(Defined by IEnumerableExtensions)
RemoveSequenceIListT Searches for the specified pattern of elements in the source IEnumerableT and removes any occurrences.
(Defined by IEnumerableExtensions)
ReplaceSequenceIListT Searches for the specified pattern of elements in the source IEnumerableT and replace any occurrences with the specified replacement.
(Defined by IEnumerableExtensions)
ReplaceSequenceIListT Searches for the specified pattern of elements in the source IEnumerableT and replace any occurrences with the specified replacement.
(Defined by IEnumerableExtensions)
ReplaceSequenceIListT Searches for the specified pattern of elements in the source IEnumerableT and replace any occurrences with the specified replacement.
(Defined by IEnumerableExtensions)
SplitIntoNumberOfElementsIListT Splits the source IEnumerableT into secuences with the specified amount of elements.
(Defined by IEnumerableExtensions)
SplitIntoNumberOfElementsIListT Splits the source IEnumerableT into secuences with the specified amount of elements.
(Defined by IEnumerableExtensions)
SplitIntoPartsIListT Splits the source IEnumerableT into the specified amount of secuences.
(Defined by IEnumerableExtensions)
TakeUntilIListT Returns elements from a sequence until a specified condition is true.
(Defined by IEnumerableExtensions)
ToArrayIListT Creates an array from an IEnumerableT using the specified transform function.
(Defined by IEnumerableExtensions)
ToHtmlTableIListT Generic approach to convert a IEnumerableT to an HTML table string representation.
(Defined by IEnumerableExtensions)
ToListIListT Creates a ListT from an IEnumerableT using the specified transform function.
(Defined by IEnumerableExtensions)
ToObservableCollectionIListT Creates a ObservableCollectionT from an IEnumerableT.
(Defined by IEnumerableExtensions)
ToObservableCollectionIListT Creates a ObservableCollectionT from an IEnumerableT using the specified transform function.
(Defined by IEnumerableExtensions)
ToSortableObservableCollectionIListT Creates a SortableObservableCollectionT from an IEnumerableT.
(Defined by IEnumerableExtensions)
ToSortableObservableCollectionIListT Creates a SortableObservableCollectionT from an IEnumerableT using the specified transform function.
(Defined by IEnumerableExtensions)
ToTreeStringIListT Transforms an array of string into a string with tree formatting.
(Defined by IEnumerableExtensions)
UniqueDuplicatesIListT Gets the unique duplicated values of the source IEnumerableT.
(Defined by IEnumerableExtensions)
UniquesIListT Gets the unique values of the source IEnumerableT.
(Defined by IEnumerableExtensions)

See Also