Table of Contents

Delegate Constructor<TArgumentState, TDeclaringType>

Namespace
PolyType.Abstractions
Assembly
PolyType.dll

Delegate representing a parameterized constructor.

public delegate TDeclaringType Constructor<TArgumentState, TDeclaringType>(ref TArgumentState state)

Parameters

state TArgumentState

State object containing all constructor arguments.

Returns

TDeclaringType

The instance created by the constructor.

Type Parameters

TArgumentState

Type of the state object containing all constructor arguments.

TDeclaringType

Type of the object to be constructed.