Skip to content

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

IMethodExecutionContext

A method execution context.

Released under the Apache License 2.0.