Table of Contents

Delegate SpanConstructor<T, TDeclaringType>

Namespace
TypeShape.Abstractions
Assembly
TypeShape.dll

Delegate representing a constructor that accepts a span of values.

public delegate TDeclaringType SpanConstructor<T, TDeclaringType>(ReadOnlySpan<T> values)

Parameters

values ReadOnlySpan<T>

The span of values used to create the instance.

Returns

TDeclaringType

A newly constructed instance using the specified values.

Type Parameters

T

The element type of the span parameters.

TDeclaringType

The type of the value produced by the constructor.