Delegate CommandOperationMethod
- Namespace
- Cratis.Arc.Commands
- Assembly
- Cratis.Arc.Core.dll
A typed generated call into an operation method, after the pipeline has bound all arguments.
public delegate ValueTask CommandOperationMethod(ICommandOperation operation, object?[] arguments)
Parameters
operationICommandOperationThe business declaration.
argumentsobject[]Preflighted arguments in signature order.
Returns
- ValueTask
Completion of the user method.
- Extension Methods
Constructors
CommandOperationMethod(object, nint)
public CommandOperationMethod(object @object, nint method)
Parameters
Methods
BeginInvoke(ICommandOperation, object?[], AsyncCallback, object)
public virtual IAsyncResult BeginInvoke(ICommandOperation operation, object?[] arguments, AsyncCallback callback, object @object)
Parameters
operationICommandOperationargumentsobject[]callbackAsyncCallbackobjectobject
Returns
EndInvoke(IAsyncResult)
public virtual ValueTask EndInvoke(IAsyncResult result)
Parameters
resultIAsyncResult
Returns
Invoke(ICommandOperation, object?[])
public virtual ValueTask Invoke(ICommandOperation operation, object?[] arguments)
Parameters
operationICommandOperationargumentsobject[]