Method WithTaskAttribute
Namespace: Belay.Core.Execution
Assembly: Belay.Core.dll
WithTaskAttribute(string, TaskAttribute, object?[]?)
Creates a context with explicit attribute information.
csharp
public static IMethodExecutionContext WithTaskAttribute(string methodName, TaskAttribute taskAttribute, object?[]? parameters = null)
Parameters
methodName
string
The name of the method.
taskAttribute
TaskAttribute
Task attribute if present.
parameters
object?[]?
Method parameters.
Returns
A method execution context.