Class CollectionConstructionOptions<TKey>
- Namespace
- PolyType.Abstractions
- Assembly
- PolyType.dll
Options for constructing collections.
public class CollectionConstructionOptions<TKey>
Type Parameters
TKey
The type of keys within the collection. When collections aren't keyed, this is the element type directly.
- Inheritance
-
CollectionConstructionOptions<TKey>
- Inherited Members
Properties
Comparer
Gets an optional comparer for the keys or elements in the collection.
public IComparer<TKey>? Comparer { get; init; }
Property Value
- IComparer<TKey>
EqualityComparer
Gets an optional equality comparer for the keys or elements in the collection.
public IEqualityComparer<TKey>? EqualityComparer { get; init; }
Property Value
- IEqualityComparer<TKey>