Class SpanFunc<T, U, R>
A function which receives a Span<T> and an additional state object.
Inheritance
- Object
- SpanFunc<T, U, R>
Declaration
public sealed class SpanFunc<T, U, R> : MulticastDelegate
Type Parameters
| Name | Description |
|---|---|
T |
The type of objects in the span |
U |
The type of the state object |
R |
The type of the function's return value |
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 |