Class UnwindContext
Context provided to the ShouldUnwindStepFunction lambda during test generation.
public class UnwindContext
- Inheritance
-
UnwindContext
- Inherited Members
Constructors
UnwindContext(IOperation, object, IState, IStepFunction)
Initializes a new instance of the UnwindContext class.
public UnwindContext(IOperation operation, object request, IState state, IStepFunction stepFunction)
Parameters
operationIOperationThe operation that triggered the step function.
requestobjectThe request that was sent to the operation.
stateIStateThe state in which the step function was triggered.
stepFunctionIStepFunctionThe step function to potentially unwind.
Properties
Operation
The operation that triggered the step function.
public IOperation Operation { get; }
Property Value
Request
The request that was sent to the operation.
public object Request { get; }
Property Value
State
The state in which the step function was triggered.
public IState State { get; }
Property Value
StepFunction
The step function to potentially unwind.
public IStepFunction StepFunction { get; }