Class IgnoreEventActivityBinder<TInstance, TData>
- Namespace
- Automatonymous.Binders
- Assembly
- Automatonymous.dll
public class IgnoreEventActivityBinder<TInstance, TData> : ActivityBinder<TInstance>
Type Parameters
TInstance
TData
- Inheritance
-
IgnoreEventActivityBinder<TInstance, TData>
- Implements
-
ActivityBinder<TInstance>
- Inherited Members
Constructors
IgnoreEventActivityBinder(Event<TData>, StateMachineEventFilter<TInstance, TData>)
public IgnoreEventActivityBinder(Event<TData> @event, StateMachineEventFilter<TInstance, TData> filter)
Parameters
event
Event<TData>filter
StateMachineEventFilter<TInstance, TData>
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