Table of Contents

Struct StateTransitionHandlerArgs<TState, TInput, TResult>

Namespace
LfrlAnvil.Computable.Automata
Assembly
LfrlAnvil.Computable.Automata.dll

Represents arguments of IStateTransitionHandler<TState, TInput, TResult> invocation.

public readonly struct StateTransitionHandlerArgs<TState, TInput, TResult> where TState : notnull where TInput : notnull

Type Parameters

TState

State type.

TInput

Input type.

TResult

Result type.

Inherited Members

Properties

Destination

Destination node.

public IStateMachineNode<TState, TInput, TResult> Destination { get; }

Property Value

IStateMachineNode<TState, TInput, TResult>

Input

Invocation input.

public TInput Input { get; }

Property Value

TInput

Source

Source node.

public IStateMachineNode<TState, TInput, TResult> Source { get; }

Property Value

IStateMachineNode<TState, TInput, TResult>

Subject

State machine's Subject.

public object Subject { get; }

Property Value

object