Element type produced by the source iterable.
Source iterable to materialize.
OptionalsetFactory: SetFactory<T>Optional factory controlling the concrete set implementation to instantiate.
A set containing one entry per projected value.
Materializes a sequence into a set, optionally projecting each element to a key before insertion.
Element type produced by the source iterable.
Key type returned by keySelector when supplied.
Source iterable to materialize.
Optional projection used to derive the value stored in the set; defaults to the element itself.
OptionalsetFactory: SetFactory<TKey>Optional factory controlling the concrete set implementation to instantiate.
A set containing one entry per projected value.
Materializes a sequence into a set, optionally projecting each element to a key before insertion.