Sawmill

Class SpanFunc<T, U, R>

A Func<T1,T2,TResult> whose first argument is a Span<T>.

Inheritance
Declaration
public sealed class SpanFunc<T, in U, out R> : MulticastDelegate
Type Parameters
Name Description

T

The type of elements in the span

U

The type of the additional argument

R

The return type

Constructors

SpanFunc(Object, IntPtr)

Declaration
public SpanFunc(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 R EndInvoke(IAsyncResult result)
Parameters
Type Name Description

IAsyncResult

result

Returns
Type Description

R

Invoke(Span<T>, U)

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

Span<T>

span

U

arg

Returns
Type Description

R