Class SpanFunc<T, U, R>
A Func<T1,T2,TResult> whose first argument is a Span<T>.
Inheritance
- Object
- SpanFunc<T, U, R>
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 |
||
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 |
|
callback |
||
object |
Returns
Type | Description |
---|---|
EndInvoke(IAsyncResult)
Declaration
public virtual R EndInvoke(IAsyncResult result)
Parameters
Type | Name | Description |
---|---|---|
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 |