Table of Contents

Class UnwindContext

Namespace
Microsoft.Accordant
Assembly
Accordant.Operations.dll

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

operation IOperation

The operation that triggered the step function.

request object

The request that was sent to the operation.

state IState

The state in which the step function was triggered.

stepFunction IStepFunction

The step function to potentially unwind.

Properties

Operation

The operation that triggered the step function.

public IOperation Operation { get; }

Property Value

IOperation

Request

The request that was sent to the operation.

public object Request { get; }

Property Value

object

State

The state in which the step function was triggered.

public IState State { get; }

Property Value

IState

StepFunction

The step function to potentially unwind.

public IStepFunction StepFunction { get; }

Property Value

IStepFunction