Table of Contents

Class StateTransitionHandler

Namespace
LfrlAnvil.Computable.Automata
Assembly
LfrlAnvil.Computable.Automata.dll
public static class StateTransitionHandler
Inheritance
StateTransitionHandler
Inherited Members

Methods

Create<TState, TInput, TResult>(Func<StateTransitionHandlerArgs<TState, TInput, TResult>, TResult>)

[Pure]
public static IStateTransitionHandler<TState, TInput, TResult> Create<TState, TInput, TResult>(Func<StateTransitionHandlerArgs<TState, TInput, TResult>, TResult> func) where TState : notnull where TInput : notnull

Parameters

func Func<StateTransitionHandlerArgs<TState, TInput, TResult>, TResult>

Handler's delegate.

Returns

IStateTransitionHandler<TState, TInput, TResult>

New IStateTransitionHandler<TState, TInput, TResult> instance.

Type Parameters

TState

State type.

TInput

Input type.

TResult

Result type.