Interface ActivityBinder<TInstance>
- Namespace
- Automatonymous.Binders
- Assembly
- Automatonymous.dll
public interface ActivityBinder<TInstance>
Type Parameters
TInstance
Methods
Bind(BehaviorBuilder<TInstance>)
Bind the activities to the builder
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
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.
bool IsStateTransitionEvent(State state)
Parameters
state
State