FixedSizeBuffers

Class SpanAction<T, U>

A function which receives a Span<T> and an additional state object.

Inheritance
Declaration
public sealed class SpanAction<T, U> : MulticastDelegate
Type Parameters
Name Description

T

The type of objects in the span

U

The type of the state object

Constructors

SpanAction(Object, IntPtr)

Declaration
public SpanAction(object object, IntPtr method)
Parameters
Type Name Description

Object

object

IntPtr

method

Methods

BeginInvoke(Span<T>, U, AsyncCallback, Object)

Declaration
public virtual IAsyncResult BeginInvoke(Span<T> span, U arg, AsyncCallback callback, object object)
Parameters
Type Name Description

Span<T>

span

U

arg

AsyncCallback

callback

Object

object

Returns
Type Description

IAsyncResult

EndInvoke(IAsyncResult)

Declaration
public virtual void EndInvoke(IAsyncResult result)
Parameters
Type Name Description

IAsyncResult

result

Invoke(Span<T>, U)

Declaration
public virtual void Invoke(Span<T> span, U arg)
Parameters
Type Name Description

Span<T>

span

U

arg