Class SpanAction<T, U>
A function which receives a Span<T> and an additional state object.
Inheritance
- Object
- SpanAction<T, U>
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 |
||
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 void EndInvoke(IAsyncResult result)
Parameters
Type | Name | Description |
---|---|---|
result |
Invoke(Span<T>, U)
Declaration
public virtual void Invoke(Span<T> span, U arg)
Parameters
Type | Name | Description |
---|---|---|
Span<T> |
span |
|
U |
arg |