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

Mutable = 1

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

None = 0

No known construction strategy for the current collection.

Parameterized = 2

Constructed using a constructor or factory method accepting a ReadOnlySpan<T> of elements.