Table of Contents

Delegate MutableCollectionConstructor<TKey, TDeclaringType>

Namespace
PolyType.Abstractions
Assembly
PolyType.dll

Delegate representing a constructor for a mutable collection.

public delegate TDeclaringType MutableCollectionConstructor<TKey, TDeclaringType>(in CollectionConstructionOptions<TKey> options = default)

Parameters

options CollectionConstructionOptions<TKey>

An optional set of parameters used to create the collection.

Returns

TDeclaringType

A newly constructed mutable collection instance.

Type Parameters

TKey

The type of keys or elements in the collection.

TDeclaringType

The type of the collection to be constructed.