Skip to content

Constructor MethodExecutionContext

Namespace: Belay.Core.Execution
Assembly: Belay.Core.dll

MethodExecutionContext(MethodInfo?, object?, object?[]?, string?)

Initializes a new instance of the class.

csharp
public MethodExecutionContext(MethodInfo? method, object? instance = null, object?[]? parameters = null, string? methodName = null)

Parameters

method MethodInfo?

The method being executed.

instance object?

The instance the method is called on.

parameters object?[]?

The parameters passed to the method.

methodName string?

Override for the method name if needed.

Released under the Apache License 2.0.