Table of Contents

Class SwapStep

Namespace
NArk.ArkadeIntents.Services
Assembly
NArk.ArkadeIntents.dll

One step in a corridor's lifecycle.

public sealed record SwapStep : IEquatable<SwapStep>
Inheritance
SwapStep
Implements
Inherited Members

Constructors

SwapStep(int, SwapStepKind, SwapTrigger, ArkadeSwapIntentStatus?)

One step in a corridor's lifecycle.

public SwapStep(int Ordinal, SwapStepKind Kind, SwapTrigger Trigger, ArkadeSwapIntentStatus? Leaves)

Parameters

Ordinal int

Its position, from 1.

Kind SwapStepKind

What happens.

Trigger SwapTrigger

What makes it happen.

Leaves ArkadeSwapIntentStatus?

The status the swap sits in once this step is done, when it moves it.

Properties

Kind

What happens.

public SwapStepKind Kind { get; init; }

Property Value

SwapStepKind

Leaves

The status the swap sits in once this step is done, when it moves it.

public ArkadeSwapIntentStatus? Leaves { get; init; }

Property Value

ArkadeSwapIntentStatus?

Ordinal

Its position, from 1.

public int Ordinal { get; init; }

Property Value

int

Trigger

What makes it happen.

public SwapTrigger Trigger { get; init; }

Property Value

SwapTrigger