Click or drag to resize
AlgorithmsGetLexicographicalComparerT Method (IComparerT)
Creates an IComparer instance that can be used for comparing ordered sequences of type T; that is IEnumerable<Tgt;. This comparer can be uses for collections or algorithms that use sequences of T as an item type. The Lexicographics ordered of sequences is for comparison.

Namespace: X3Platform.Collections
Assembly: X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
Syntax
public static IComparer<IEnumerable<T>> GetLexicographicalComparer<T>(
	IComparer<T> comparer
)

Parameters

comparer
Type: System.Collections.GenericIComparerT
A comparer instance used to compare individual items of type T.

Type Parameters

T

[Missing <typeparam name="T"/> documentation for "M:X3Platform.Collections.Algorithms.GetLexicographicalComparer``1(System.Collections.Generic.IComparer{``0})"]

Return Value

Type: IComparerIEnumerableT
At IComparer<IEnumerable<T>> that compares sequences of T.
See Also