Class MethodExecutionContext
Namespace: Belay.Core.Execution
Assembly: Belay.Core.dll
Implementation of method execution context.
public sealed class MethodExecutionContext : IMethodExecutionContext
Inheritance
object ← MethodExecutionContext
Implements
Inherited Members
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
MethodExecutionContext(MethodInfo?, object?, object?[]?, string?)
Initializes a new instance of the class.
Properties
Gets the instance the method is being called on (null for static methods).
Gets the method being executed.
Gets the method name being executed.
Gets the parameters passed to the method.
Gets the Setup attribute if present.
Gets the Task attribute if present.
Gets the Teardown attribute if present.
Gets the Thread attribute if present.
Methods
ForMethodName(string, object?[]?)
Creates a context for a method call without reflection data.
WithTaskAttribute(string, TaskAttribute, object?[]?)
Creates a context with explicit attribute information.