Table of Contents

Class ExecuteActivityBinder<TInstance>

Namespace
Automatonymous.Binders
Assembly
Automatonymous.dll

Routes event activities to an activities

public class ExecuteActivityBinder<TInstance> : ActivityBinder<TInstance>

Type Parameters

TInstance
Inheritance
ExecuteActivityBinder<TInstance>
Implements
ActivityBinder<TInstance>
Inherited Members

Constructors

ExecuteActivityBinder(Event, Activity<TInstance>)

public ExecuteActivityBinder(Event @event, Activity<TInstance> activity)

Parameters

event Event
activity Activity<TInstance>

Methods

Bind(BehaviorBuilder<TInstance>)

Bind the activities to the builder

public void Bind(BehaviorBuilder<TInstance> builder)

Parameters

builder BehaviorBuilder<TInstance>

Bind(State<TInstance>)

Binds the activity to the state, may also just ignore the event if it's an ignore event

public void Bind(State<TInstance> state)

Parameters

state State<TInstance>

IsStateTransitionEvent(State)

Returns True if the event is a state transition event (enter/leave/afterLeave/beforeEnter) for the specified state.

public bool IsStateTransitionEvent(State state)

Parameters

state State

Returns

bool