Table of Contents

Enum CollectionConstructionStrategy

Namespace
PolyType.Abstractions
Assembly
PolyType.dll

The construction strategy use for a given IEnumerableTypeShape or IDictionaryTypeShape.

[Flags]
public enum CollectionConstructionStrategy

Fields

Enumerable = 4

Constructed using a Func<T, TResult> delegate.

Mutable = 1

Constructed using a default constructor and an ICollection<T>-compatible Add method.

None = 0

No known construction strategy for the current collection.

Span = 2

Constructed using a SpanConstructor<T, TDeclaringType> delegate.