ReadOnlySpanAction<T,TArg> Delegate

Definition

Encapsulates a method that receives a read-only span of objects of type T and a state object of type TArg.

generic <typename T, typename TArg>
public delegate void ReadOnlySpanAction(ReadOnlySpan<T> span, TArg arg);
public delegate void ReadOnlySpanAction<T,in TArg>(ReadOnlySpan<T> span, TArg arg);
type ReadOnlySpanAction<'T, 'Arg> = delegate of ReadOnlySpan<'T> * 'Arg -> unit
Public Delegate Sub ReadOnlySpanAction(Of T, In TArg)(span As ReadOnlySpan(Of T), arg As TArg)

Type Parameters

T

The type of the objects in the read-only span.

TArg

The type of the object that represents the state.

Parameters

span
ReadOnlySpan<T>

A read-only span of objects of type T.

arg

A state object of type TArg.

Inheritance
ReadOnlySpanAction<T,TArg>

Extension Methods

GetMethodInfo(Delegate)

Gets an object that represents the method represented by the specified delegate.

Applies to