Class RaiseEventExtensions
- Namespace
- Automatonymous
- Assembly
- Automatonymous.dll
public static class RaiseEventExtensions- Inheritance
- 
      
      RaiseEventExtensions
- Inherited Members
Methods
RaiseEvent<T, TInstance, T1, T2, T3, T4, T5, T6, T7, T8>(T, TInstance, Event, T1, T2, T3, T4, T5, T6, T7, T8, CancellationToken)
Raise a simple event on the state machine
public static Task RaiseEvent<T, TInstance, T1, T2, T3, T4, T5, T6, T7, T8>(this T machine, TInstance instance, Event @event, T1 context1, T2 context2, T3 context3, T4 context4, T5 context5, T6 context6, T7 context7, T8 context8, CancellationToken cancellationToken = default) where T : class, StateMachine, StateMachine<TInstance> where TInstance : class where T1 : class where T2 : class where T3 : class where T4 : class where T5 : class where T6 : class where T7 : class where T8 : classParameters
- machineT
- The state machine 
- instanceTInstance
- The state machine instance 
- eventEvent
- The event to raise 
- context1T1
- An additional context added to the event context 
- context2T2
- An additional context added to the event context 
- context3T3
- An additional context added to the event context 
- context4T4
- An additional context added to the event context 
- context5T5
- An additional context added to the event context 
- context6T6
- An additional context added to the event context 
- context7T7
- An additional context added to the event context 
- context8T8
- An additional context added to the event context 
- cancellationTokenCancellationToken
Returns
Type Parameters
- T
- The state machine type 
- TInstance
- The instance type 
- T1
- T2
- T3
- T4
- T5
- T6
- T7
- T8
RaiseEvent<T, TInstance, T1, T2, T3, T4, T5, T6, T7, T8>(T, TInstance, Func<T, Event>, T1, T2, T3, T4, T5, T6, T7, T8, CancellationToken)
Raise a simple event on the state machine
public static Task RaiseEvent<T, TInstance, T1, T2, T3, T4, T5, T6, T7, T8>(this T machine, TInstance instance, Func<T, Event> eventSelector, T1 context1, T2 context2, T3 context3, T4 context4, T5 context5, T6 context6, T7 context7, T8 context8, CancellationToken cancellationToken = default) where T : class, StateMachine, StateMachine<TInstance> where TInstance : class where T1 : class where T2 : class where T3 : class where T4 : class where T5 : class where T6 : class where T7 : class where T8 : classParameters
- machineT
- The state machine 
- instanceTInstance
- The state machine instance 
- eventSelectorFunc<T, Event>
- Selector to the event on the state machine 
- context1T1
- An additional context added to the event context 
- context2T2
- An additional context added to the event context 
- context3T3
- An additional context added to the event context 
- context4T4
- An additional context added to the event context 
- context5T5
- An additional context added to the event context 
- context6T6
- An additional context added to the event context 
- context7T7
- An additional context added to the event context 
- context8T8
- An additional context added to the event context 
- cancellationTokenCancellationToken
Returns
Type Parameters
- T
- The state machine type 
- TInstance
- The instance type 
- T1
- T2
- T3
- T4
- T5
- T6
- T7
- T8
RaiseEvent<T, TData, TInstance, T1, T2, T3, T4, T5, T6, T7>(T, TInstance, Event<TData>, TData, T1, T2, T3, T4, T5, T6, T7, CancellationToken)
Raise a data event on the state machine
public static Task RaiseEvent<T, TData, TInstance, T1, T2, T3, T4, T5, T6, T7>(this T machine, TInstance instance, Event<TData> @event, TData data, T1 context1, T2 context2, T3 context3, T4 context4, T5 context5, T6 context6, T7 context7, CancellationToken cancellationToken = default) where T : class, StateMachine, StateMachine<TInstance> where TInstance : class where T1 : class where T2 : class where T3 : class where T4 : class where T5 : class where T6 : class where T7 : classParameters
- machineT
- The state machine 
- instanceTInstance
- The state machine instance 
- eventEvent<TData>
- The event to raise 
- dataTData
- The event data 
- context1T1
- An additional context added to the event context 
- context2T2
- An additional context added to the event context 
- context3T3
- An additional context added to the event context 
- context4T4
- An additional context added to the event context 
- context5T5
- An additional context added to the event context 
- context6T6
- An additional context added to the event context 
- context7T7
- An additional context added to the event context 
- cancellationTokenCancellationToken
Returns
Type Parameters
- T
- The state machine type 
- TData
- The event data type 
- TInstance
- The instance type 
- T1
- T2
- T3
- T4
- T5
- T6
- T7
RaiseEvent<T, TData, TInstance, T1, T2, T3, T4, T5, T6, T7>(T, TInstance, Func<T, Event<TData>>, TData, T1, T2, T3, T4, T5, T6, T7, CancellationToken)
Raise a data event on the state machine
public static Task RaiseEvent<T, TData, TInstance, T1, T2, T3, T4, T5, T6, T7>(this T machine, TInstance instance, Func<T, Event<TData>> eventSelector, TData data, T1 context1, T2 context2, T3 context3, T4 context4, T5 context5, T6 context6, T7 context7, CancellationToken cancellationToken = default) where T : class, StateMachine, StateMachine<TInstance> where TInstance : class where T1 : class where T2 : class where T3 : class where T4 : class where T5 : class where T6 : class where T7 : classParameters
- machineT
- The state machine 
- instanceTInstance
- The state machine instance 
- eventSelectorFunc<T, Event<TData>>
- Selector to the event on the state machine 
- dataTData
- The event data 
- context1T1
- An additional context added to the event context 
- context2T2
- An additional context added to the event context 
- context3T3
- An additional context added to the event context 
- context4T4
- An additional context added to the event context 
- context5T5
- An additional context added to the event context 
- context6T6
- An additional context added to the event context 
- context7T7
- An additional context added to the event context 
- cancellationTokenCancellationToken
Returns
Type Parameters
- T
- The state machine type 
- TData
- The event data type 
- TInstance
- The instance type 
- T1
- T2
- T3
- T4
- T5
- T6
- T7
RaiseEvent<T, TInstance, T1, T2, T3, T4, T5, T6, T7, T8, T9>(T, TInstance, Event, T1, T2, T3, T4, T5, T6, T7, T8, T9, CancellationToken)
Raise a simple event on the state machine
public static Task RaiseEvent<T, TInstance, T1, T2, T3, T4, T5, T6, T7, T8, T9>(this T machine, TInstance instance, Event @event, T1 context1, T2 context2, T3 context3, T4 context4, T5 context5, T6 context6, T7 context7, T8 context8, T9 context9, CancellationToken cancellationToken = default) where T : class, StateMachine, StateMachine<TInstance> where TInstance : class where T1 : class where T2 : class where T3 : class where T4 : class where T5 : class where T6 : class where T7 : class where T8 : class where T9 : classParameters
- machineT
- The state machine 
- instanceTInstance
- The state machine instance 
- eventEvent
- The event to raise 
- context1T1
- An additional context added to the event context 
- context2T2
- An additional context added to the event context 
- context3T3
- An additional context added to the event context 
- context4T4
- An additional context added to the event context 
- context5T5
- An additional context added to the event context 
- context6T6
- An additional context added to the event context 
- context7T7
- An additional context added to the event context 
- context8T8
- An additional context added to the event context 
- context9T9
- An additional context added to the event context 
- cancellationTokenCancellationToken
Returns
Type Parameters
- T
- The state machine type 
- TInstance
- The instance type 
- T1
- T2
- T3
- T4
- T5
- T6
- T7
- T8
- T9
RaiseEvent<T, TInstance, T1, T2, T3, T4, T5, T6, T7, T8, T9>(T, TInstance, Func<T, Event>, T1, T2, T3, T4, T5, T6, T7, T8, T9, CancellationToken)
Raise a simple event on the state machine
public static Task RaiseEvent<T, TInstance, T1, T2, T3, T4, T5, T6, T7, T8, T9>(this T machine, TInstance instance, Func<T, Event> eventSelector, T1 context1, T2 context2, T3 context3, T4 context4, T5 context5, T6 context6, T7 context7, T8 context8, T9 context9, CancellationToken cancellationToken = default) where T : class, StateMachine, StateMachine<TInstance> where TInstance : class where T1 : class where T2 : class where T3 : class where T4 : class where T5 : class where T6 : class where T7 : class where T8 : class where T9 : classParameters
- machineT
- The state machine 
- instanceTInstance
- The state machine instance 
- eventSelectorFunc<T, Event>
- Selector to the event on the state machine 
- context1T1
- An additional context added to the event context 
- context2T2
- An additional context added to the event context 
- context3T3
- An additional context added to the event context 
- context4T4
- An additional context added to the event context 
- context5T5
- An additional context added to the event context 
- context6T6
- An additional context added to the event context 
- context7T7
- An additional context added to the event context 
- context8T8
- An additional context added to the event context 
- context9T9
- An additional context added to the event context 
- cancellationTokenCancellationToken
Returns
Type Parameters
- T
- The state machine type 
- TInstance
- The instance type 
- T1
- T2
- T3
- T4
- T5
- T6
- T7
- T8
- T9
RaiseEvent<T, TData, TInstance, T1, T2, T3, T4, T5, T6, T7, T8>(T, TInstance, Event<TData>, TData, T1, T2, T3, T4, T5, T6, T7, T8, CancellationToken)
Raise a data event on the state machine
public static Task RaiseEvent<T, TData, TInstance, T1, T2, T3, T4, T5, T6, T7, T8>(this T machine, TInstance instance, Event<TData> @event, TData data, T1 context1, T2 context2, T3 context3, T4 context4, T5 context5, T6 context6, T7 context7, T8 context8, CancellationToken cancellationToken = default) where T : class, StateMachine, StateMachine<TInstance> where TInstance : class where T1 : class where T2 : class where T3 : class where T4 : class where T5 : class where T6 : class where T7 : class where T8 : classParameters
- machineT
- The state machine 
- instanceTInstance
- The state machine instance 
- eventEvent<TData>
- The event to raise 
- dataTData
- The event data 
- context1T1
- An additional context added to the event context 
- context2T2
- An additional context added to the event context 
- context3T3
- An additional context added to the event context 
- context4T4
- An additional context added to the event context 
- context5T5
- An additional context added to the event context 
- context6T6
- An additional context added to the event context 
- context7T7
- An additional context added to the event context 
- context8T8
- An additional context added to the event context 
- cancellationTokenCancellationToken
Returns
Type Parameters
- T
- The state machine type 
- TData
- The event data type 
- TInstance
- The instance type 
- T1
- T2
- T3
- T4
- T5
- T6
- T7
- T8
RaiseEvent<T, TData, TInstance, T1, T2, T3, T4, T5, T6, T7, T8>(T, TInstance, Func<T, Event<TData>>, TData, T1, T2, T3, T4, T5, T6, T7, T8, CancellationToken)
Raise a data event on the state machine
public static Task RaiseEvent<T, TData, TInstance, T1, T2, T3, T4, T5, T6, T7, T8>(this T machine, TInstance instance, Func<T, Event<TData>> eventSelector, TData data, T1 context1, T2 context2, T3 context3, T4 context4, T5 context5, T6 context6, T7 context7, T8 context8, CancellationToken cancellationToken = default) where T : class, StateMachine, StateMachine<TInstance> where TInstance : class where T1 : class where T2 : class where T3 : class where T4 : class where T5 : class where T6 : class where T7 : class where T8 : classParameters
- machineT
- The state machine 
- instanceTInstance
- The state machine instance 
- eventSelectorFunc<T, Event<TData>>
- Selector to the event on the state machine 
- dataTData
- The event data 
- context1T1
- An additional context added to the event context 
- context2T2
- An additional context added to the event context 
- context3T3
- An additional context added to the event context 
- context4T4
- An additional context added to the event context 
- context5T5
- An additional context added to the event context 
- context6T6
- An additional context added to the event context 
- context7T7
- An additional context added to the event context 
- context8T8
- An additional context added to the event context 
- cancellationTokenCancellationToken
Returns
Type Parameters
- T
- The state machine type 
- TData
- The event data type 
- TInstance
- The instance type 
- T1
- T2
- T3
- T4
- T5
- T6
- T7
- T8
RaiseEvent<T, TInstance, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(T, TInstance, Event, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, CancellationToken)
Raise a simple event on the state machine
public static Task RaiseEvent<T, TInstance, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(this T machine, TInstance instance, Event @event, T1 context1, T2 context2, T3 context3, T4 context4, T5 context5, T6 context6, T7 context7, T8 context8, T9 context9, T10 context10, CancellationToken cancellationToken = default) where T : class, StateMachine, StateMachine<TInstance> where TInstance : class where T1 : class where T2 : class where T3 : class where T4 : class where T5 : class where T6 : class where T7 : class where T8 : class where T9 : class where T10 : classParameters
- machineT
- The state machine 
- instanceTInstance
- The state machine instance 
- eventEvent
- The event to raise 
- context1T1
- An additional context added to the event context 
- context2T2
- An additional context added to the event context 
- context3T3
- An additional context added to the event context 
- context4T4
- An additional context added to the event context 
- context5T5
- An additional context added to the event context 
- context6T6
- An additional context added to the event context 
- context7T7
- An additional context added to the event context 
- context8T8
- An additional context added to the event context 
- context9T9
- An additional context added to the event context 
- context10T10
- An additional context added to the event context 
- cancellationTokenCancellationToken
Returns
Type Parameters
- T
- The state machine type 
- TInstance
- The instance type 
- T1
- T2
- T3
- T4
- T5
- T6
- T7
- T8
- T9
- T10
RaiseEvent<T, TInstance, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(T, TInstance, Func<T, Event>, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, CancellationToken)
Raise a simple event on the state machine
public static Task RaiseEvent<T, TInstance, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(this T machine, TInstance instance, Func<T, Event> eventSelector, T1 context1, T2 context2, T3 context3, T4 context4, T5 context5, T6 context6, T7 context7, T8 context8, T9 context9, T10 context10, CancellationToken cancellationToken = default) where T : class, StateMachine, StateMachine<TInstance> where TInstance : class where T1 : class where T2 : class where T3 : class where T4 : class where T5 : class where T6 : class where T7 : class where T8 : class where T9 : class where T10 : classParameters
- machineT
- The state machine 
- instanceTInstance
- The state machine instance 
- eventSelectorFunc<T, Event>
- Selector to the event on the state machine 
- context1T1
- An additional context added to the event context 
- context2T2
- An additional context added to the event context 
- context3T3
- An additional context added to the event context 
- context4T4
- An additional context added to the event context 
- context5T5
- An additional context added to the event context 
- context6T6
- An additional context added to the event context 
- context7T7
- An additional context added to the event context 
- context8T8
- An additional context added to the event context 
- context9T9
- An additional context added to the event context 
- context10T10
- An additional context added to the event context 
- cancellationTokenCancellationToken
Returns
Type Parameters
- T
- The state machine type 
- TInstance
- The instance type 
- T1
- T2
- T3
- T4
- T5
- T6
- T7
- T8
- T9
- T10
RaiseEvent<T, TData, TInstance, T1, T2, T3, T4, T5, T6, T7, T8, T9>(T, TInstance, Event<TData>, TData, T1, T2, T3, T4, T5, T6, T7, T8, T9, CancellationToken)
Raise a data event on the state machine
public static Task RaiseEvent<T, TData, TInstance, T1, T2, T3, T4, T5, T6, T7, T8, T9>(this T machine, TInstance instance, Event<TData> @event, TData data, T1 context1, T2 context2, T3 context3, T4 context4, T5 context5, T6 context6, T7 context7, T8 context8, T9 context9, CancellationToken cancellationToken = default) where T : class, StateMachine, StateMachine<TInstance> where TInstance : class where T1 : class where T2 : class where T3 : class where T4 : class where T5 : class where T6 : class where T7 : class where T8 : class where T9 : classParameters
- machineT
- The state machine 
- instanceTInstance
- The state machine instance 
- eventEvent<TData>
- The event to raise 
- dataTData
- The event data 
- context1T1
- An additional context added to the event context 
- context2T2
- An additional context added to the event context 
- context3T3
- An additional context added to the event context 
- context4T4
- An additional context added to the event context 
- context5T5
- An additional context added to the event context 
- context6T6
- An additional context added to the event context 
- context7T7
- An additional context added to the event context 
- context8T8
- An additional context added to the event context 
- context9T9
- An additional context added to the event context 
- cancellationTokenCancellationToken
Returns
Type Parameters
- T
- The state machine type 
- TData
- The event data type 
- TInstance
- The instance type 
- T1
- T2
- T3
- T4
- T5
- T6
- T7
- T8
- T9
RaiseEvent<T, TData, TInstance, T1, T2, T3, T4, T5, T6, T7, T8, T9>(T, TInstance, Func<T, Event<TData>>, TData, T1, T2, T3, T4, T5, T6, T7, T8, T9, CancellationToken)
Raise a data event on the state machine
public static Task RaiseEvent<T, TData, TInstance, T1, T2, T3, T4, T5, T6, T7, T8, T9>(this T machine, TInstance instance, Func<T, Event<TData>> eventSelector, TData data, T1 context1, T2 context2, T3 context3, T4 context4, T5 context5, T6 context6, T7 context7, T8 context8, T9 context9, CancellationToken cancellationToken = default) where T : class, StateMachine, StateMachine<TInstance> where TInstance : class where T1 : class where T2 : class where T3 : class where T4 : class where T5 : class where T6 : class where T7 : class where T8 : class where T9 : classParameters
- machineT
- The state machine 
- instanceTInstance
- The state machine instance 
- eventSelectorFunc<T, Event<TData>>
- Selector to the event on the state machine 
- dataTData
- The event data 
- context1T1
- An additional context added to the event context 
- context2T2
- An additional context added to the event context 
- context3T3
- An additional context added to the event context 
- context4T4
- An additional context added to the event context 
- context5T5
- An additional context added to the event context 
- context6T6
- An additional context added to the event context 
- context7T7
- An additional context added to the event context 
- context8T8
- An additional context added to the event context 
- context9T9
- An additional context added to the event context 
- cancellationTokenCancellationToken
Returns
Type Parameters
- T
- The state machine type 
- TData
- The event data type 
- TInstance
- The instance type 
- T1
- T2
- T3
- T4
- T5
- T6
- T7
- T8
- T9
RaiseEvent<T, TInstance, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>(T, TInstance, Event, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, CancellationToken)
Raise a simple event on the state machine
public static Task RaiseEvent<T, TInstance, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>(this T machine, TInstance instance, Event @event, T1 context1, T2 context2, T3 context3, T4 context4, T5 context5, T6 context6, T7 context7, T8 context8, T9 context9, T10 context10, T11 context11, CancellationToken cancellationToken = default) where T : class, StateMachine, StateMachine<TInstance> where TInstance : class where T1 : class where T2 : class where T3 : class where T4 : class where T5 : class where T6 : class where T7 : class where T8 : class where T9 : class where T10 : class where T11 : classParameters
- machineT
- The state machine 
- instanceTInstance
- The state machine instance 
- eventEvent
- The event to raise 
- context1T1
- An additional context added to the event context 
- context2T2
- An additional context added to the event context 
- context3T3
- An additional context added to the event context 
- context4T4
- An additional context added to the event context 
- context5T5
- An additional context added to the event context 
- context6T6
- An additional context added to the event context 
- context7T7
- An additional context added to the event context 
- context8T8
- An additional context added to the event context 
- context9T9
- An additional context added to the event context 
- context10T10
- An additional context added to the event context 
- context11T11
- An additional context added to the event context 
- cancellationTokenCancellationToken
Returns
Type Parameters
- T
- The state machine type 
- TInstance
- The instance type 
- T1
- T2
- T3
- T4
- T5
- T6
- T7
- T8
- T9
- T10
- T11
RaiseEvent<T, TInstance, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>(T, TInstance, Func<T, Event>, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, CancellationToken)
Raise a simple event on the state machine
public static Task RaiseEvent<T, TInstance, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>(this T machine, TInstance instance, Func<T, Event> eventSelector, T1 context1, T2 context2, T3 context3, T4 context4, T5 context5, T6 context6, T7 context7, T8 context8, T9 context9, T10 context10, T11 context11, CancellationToken cancellationToken = default) where T : class, StateMachine, StateMachine<TInstance> where TInstance : class where T1 : class where T2 : class where T3 : class where T4 : class where T5 : class where T6 : class where T7 : class where T8 : class where T9 : class where T10 : class where T11 : classParameters
- machineT
- The state machine 
- instanceTInstance
- The state machine instance 
- eventSelectorFunc<T, Event>
- Selector to the event on the state machine 
- context1T1
- An additional context added to the event context 
- context2T2
- An additional context added to the event context 
- context3T3
- An additional context added to the event context 
- context4T4
- An additional context added to the event context 
- context5T5
- An additional context added to the event context 
- context6T6
- An additional context added to the event context 
- context7T7
- An additional context added to the event context 
- context8T8
- An additional context added to the event context 
- context9T9
- An additional context added to the event context 
- context10T10
- An additional context added to the event context 
- context11T11
- An additional context added to the event context 
- cancellationTokenCancellationToken
Returns
Type Parameters
- T
- The state machine type 
- TInstance
- The instance type 
- T1
- T2
- T3
- T4
- T5
- T6
- T7
- T8
- T9
- T10
- T11
RaiseEvent<T, TData, TInstance, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(T, TInstance, Event<TData>, TData, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, CancellationToken)
Raise a data event on the state machine
public static Task RaiseEvent<T, TData, TInstance, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(this T machine, TInstance instance, Event<TData> @event, TData data, T1 context1, T2 context2, T3 context3, T4 context4, T5 context5, T6 context6, T7 context7, T8 context8, T9 context9, T10 context10, CancellationToken cancellationToken = default) where T : class, StateMachine, StateMachine<TInstance> where TInstance : class where T1 : class where T2 : class where T3 : class where T4 : class where T5 : class where T6 : class where T7 : class where T8 : class where T9 : class where T10 : classParameters
- machineT
- The state machine 
- instanceTInstance
- The state machine instance 
- eventEvent<TData>
- The event to raise 
- dataTData
- The event data 
- context1T1
- An additional context added to the event context 
- context2T2
- An additional context added to the event context 
- context3T3
- An additional context added to the event context 
- context4T4
- An additional context added to the event context 
- context5T5
- An additional context added to the event context 
- context6T6
- An additional context added to the event context 
- context7T7
- An additional context added to the event context 
- context8T8
- An additional context added to the event context 
- context9T9
- An additional context added to the event context 
- context10T10
- An additional context added to the event context 
- cancellationTokenCancellationToken
Returns
Type Parameters
- T
- The state machine type 
- TData
- The event data type 
- TInstance
- The instance type 
- T1
- T2
- T3
- T4
- T5
- T6
- T7
- T8
- T9
- T10
RaiseEvent<T, TData, TInstance, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(T, TInstance, Func<T, Event<TData>>, TData, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, CancellationToken)
Raise a data event on the state machine
public static Task RaiseEvent<T, TData, TInstance, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(this T machine, TInstance instance, Func<T, Event<TData>> eventSelector, TData data, T1 context1, T2 context2, T3 context3, T4 context4, T5 context5, T6 context6, T7 context7, T8 context8, T9 context9, T10 context10, CancellationToken cancellationToken = default) where T : class, StateMachine, StateMachine<TInstance> where TInstance : class where T1 : class where T2 : class where T3 : class where T4 : class where T5 : class where T6 : class where T7 : class where T8 : class where T9 : class where T10 : classParameters
- machineT
- The state machine 
- instanceTInstance
- The state machine instance 
- eventSelectorFunc<T, Event<TData>>
- Selector to the event on the state machine 
- dataTData
- The event data 
- context1T1
- An additional context added to the event context 
- context2T2
- An additional context added to the event context 
- context3T3
- An additional context added to the event context 
- context4T4
- An additional context added to the event context 
- context5T5
- An additional context added to the event context 
- context6T6
- An additional context added to the event context 
- context7T7
- An additional context added to the event context 
- context8T8
- An additional context added to the event context 
- context9T9
- An additional context added to the event context 
- context10T10
- An additional context added to the event context 
- cancellationTokenCancellationToken
Returns
Type Parameters
- T
- The state machine type 
- TData
- The event data type 
- TInstance
- The instance type 
- T1
- T2
- T3
- T4
- T5
- T6
- T7
- T8
- T9
- T10
RaiseEvent<T, TInstance, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>(T, TInstance, Event, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, CancellationToken)
Raise a simple event on the state machine
public static Task RaiseEvent<T, TInstance, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>(this T machine, TInstance instance, Event @event, T1 context1, T2 context2, T3 context3, T4 context4, T5 context5, T6 context6, T7 context7, T8 context8, T9 context9, T10 context10, T11 context11, T12 context12, CancellationToken cancellationToken = default) where T : class, StateMachine, StateMachine<TInstance> where TInstance : class where T1 : class where T2 : class where T3 : class where T4 : class where T5 : class where T6 : class where T7 : class where T8 : class where T9 : class where T10 : class where T11 : class where T12 : classParameters
- machineT
- The state machine 
- instanceTInstance
- The state machine instance 
- eventEvent
- The event to raise 
- context1T1
- An additional context added to the event context 
- context2T2
- An additional context added to the event context 
- context3T3
- An additional context added to the event context 
- context4T4
- An additional context added to the event context 
- context5T5
- An additional context added to the event context 
- context6T6
- An additional context added to the event context 
- context7T7
- An additional context added to the event context 
- context8T8
- An additional context added to the event context 
- context9T9
- An additional context added to the event context 
- context10T10
- An additional context added to the event context 
- context11T11
- An additional context added to the event context 
- context12T12
- An additional context added to the event context 
- cancellationTokenCancellationToken
Returns
Type Parameters
- T
- The state machine type 
- TInstance
- The instance type 
- T1
- T2
- T3
- T4
- T5
- T6
- T7
- T8
- T9
- T10
- T11
- T12
RaiseEvent<T, TInstance, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>(T, TInstance, Func<T, Event>, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, CancellationToken)
Raise a simple event on the state machine
public static Task RaiseEvent<T, TInstance, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>(this T machine, TInstance instance, Func<T, Event> eventSelector, T1 context1, T2 context2, T3 context3, T4 context4, T5 context5, T6 context6, T7 context7, T8 context8, T9 context9, T10 context10, T11 context11, T12 context12, CancellationToken cancellationToken = default) where T : class, StateMachine, StateMachine<TInstance> where TInstance : class where T1 : class where T2 : class where T3 : class where T4 : class where T5 : class where T6 : class where T7 : class where T8 : class where T9 : class where T10 : class where T11 : class where T12 : classParameters
- machineT
- The state machine 
- instanceTInstance
- The state machine instance 
- eventSelectorFunc<T, Event>
- Selector to the event on the state machine 
- context1T1
- An additional context added to the event context 
- context2T2
- An additional context added to the event context 
- context3T3
- An additional context added to the event context 
- context4T4
- An additional context added to the event context 
- context5T5
- An additional context added to the event context 
- context6T6
- An additional context added to the event context 
- context7T7
- An additional context added to the event context 
- context8T8
- An additional context added to the event context 
- context9T9
- An additional context added to the event context 
- context10T10
- An additional context added to the event context 
- context11T11
- An additional context added to the event context 
- context12T12
- An additional context added to the event context 
- cancellationTokenCancellationToken
Returns
Type Parameters
- T
- The state machine type 
- TInstance
- The instance type 
- T1
- T2
- T3
- T4
- T5
- T6
- T7
- T8
- T9
- T10
- T11
- T12
RaiseEvent<T, TData, TInstance, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>(T, TInstance, Event<TData>, TData, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, CancellationToken)
Raise a data event on the state machine
public static Task RaiseEvent<T, TData, TInstance, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>(this T machine, TInstance instance, Event<TData> @event, TData data, T1 context1, T2 context2, T3 context3, T4 context4, T5 context5, T6 context6, T7 context7, T8 context8, T9 context9, T10 context10, T11 context11, CancellationToken cancellationToken = default) where T : class, StateMachine, StateMachine<TInstance> where TInstance : class where T1 : class where T2 : class where T3 : class where T4 : class where T5 : class where T6 : class where T7 : class where T8 : class where T9 : class where T10 : class where T11 : classParameters
- machineT
- The state machine 
- instanceTInstance
- The state machine instance 
- eventEvent<TData>
- The event to raise 
- dataTData
- The event data 
- context1T1
- An additional context added to the event context 
- context2T2
- An additional context added to the event context 
- context3T3
- An additional context added to the event context 
- context4T4
- An additional context added to the event context 
- context5T5
- An additional context added to the event context 
- context6T6
- An additional context added to the event context 
- context7T7
- An additional context added to the event context 
- context8T8
- An additional context added to the event context 
- context9T9
- An additional context added to the event context 
- context10T10
- An additional context added to the event context 
- context11T11
- An additional context added to the event context 
- cancellationTokenCancellationToken
Returns
Type Parameters
- T
- The state machine type 
- TData
- The event data type 
- TInstance
- The instance type 
- T1
- T2
- T3
- T4
- T5
- T6
- T7
- T8
- T9
- T10
- T11
RaiseEvent<T, TData, TInstance, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>(T, TInstance, Func<T, Event<TData>>, TData, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, CancellationToken)
Raise a data event on the state machine
public static Task RaiseEvent<T, TData, TInstance, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>(this T machine, TInstance instance, Func<T, Event<TData>> eventSelector, TData data, T1 context1, T2 context2, T3 context3, T4 context4, T5 context5, T6 context6, T7 context7, T8 context8, T9 context9, T10 context10, T11 context11, CancellationToken cancellationToken = default) where T : class, StateMachine, StateMachine<TInstance> where TInstance : class where T1 : class where T2 : class where T3 : class where T4 : class where T5 : class where T6 : class where T7 : class where T8 : class where T9 : class where T10 : class where T11 : classParameters
- machineT
- The state machine 
- instanceTInstance
- The state machine instance 
- eventSelectorFunc<T, Event<TData>>
- Selector to the event on the state machine 
- dataTData
- The event data 
- context1T1
- An additional context added to the event context 
- context2T2
- An additional context added to the event context 
- context3T3
- An additional context added to the event context 
- context4T4
- An additional context added to the event context 
- context5T5
- An additional context added to the event context 
- context6T6
- An additional context added to the event context 
- context7T7
- An additional context added to the event context 
- context8T8
- An additional context added to the event context 
- context9T9
- An additional context added to the event context 
- context10T10
- An additional context added to the event context 
- context11T11
- An additional context added to the event context 
- cancellationTokenCancellationToken
Returns
Type Parameters
- T
- The state machine type 
- TData
- The event data type 
- TInstance
- The instance type 
- T1
- T2
- T3
- T4
- T5
- T6
- T7
- T8
- T9
- T10
- T11
RaiseEvent<T, TInstance, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>(T, TInstance, Event, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, CancellationToken)
Raise a simple event on the state machine
public static Task RaiseEvent<T, TInstance, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>(this T machine, TInstance instance, Event @event, T1 context1, T2 context2, T3 context3, T4 context4, T5 context5, T6 context6, T7 context7, T8 context8, T9 context9, T10 context10, T11 context11, T12 context12, T13 context13, CancellationToken cancellationToken = default) where T : class, StateMachine, StateMachine<TInstance> where TInstance : class where T1 : class where T2 : class where T3 : class where T4 : class where T5 : class where T6 : class where T7 : class where T8 : class where T9 : class where T10 : class where T11 : class where T12 : class where T13 : classParameters
- machineT
- The state machine 
- instanceTInstance
- The state machine instance 
- eventEvent
- The event to raise 
- context1T1
- An additional context added to the event context 
- context2T2
- An additional context added to the event context 
- context3T3
- An additional context added to the event context 
- context4T4
- An additional context added to the event context 
- context5T5
- An additional context added to the event context 
- context6T6
- An additional context added to the event context 
- context7T7
- An additional context added to the event context 
- context8T8
- An additional context added to the event context 
- context9T9
- An additional context added to the event context 
- context10T10
- An additional context added to the event context 
- context11T11
- An additional context added to the event context 
- context12T12
- An additional context added to the event context 
- context13T13
- An additional context added to the event context 
- cancellationTokenCancellationToken
Returns
Type Parameters
- T
- The state machine type 
- TInstance
- The instance type 
- T1
- T2
- T3
- T4
- T5
- T6
- T7
- T8
- T9
- T10
- T11
- T12
- T13
RaiseEvent<T, TInstance, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>(T, TInstance, Func<T, Event>, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, CancellationToken)
Raise a simple event on the state machine
public static Task RaiseEvent<T, TInstance, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>(this T machine, TInstance instance, Func<T, Event> eventSelector, T1 context1, T2 context2, T3 context3, T4 context4, T5 context5, T6 context6, T7 context7, T8 context8, T9 context9, T10 context10, T11 context11, T12 context12, T13 context13, CancellationToken cancellationToken = default) where T : class, StateMachine, StateMachine<TInstance> where TInstance : class where T1 : class where T2 : class where T3 : class where T4 : class where T5 : class where T6 : class where T7 : class where T8 : class where T9 : class where T10 : class where T11 : class where T12 : class where T13 : classParameters
- machineT
- The state machine 
- instanceTInstance
- The state machine instance 
- eventSelectorFunc<T, Event>
- Selector to the event on the state machine 
- context1T1
- An additional context added to the event context 
- context2T2
- An additional context added to the event context 
- context3T3
- An additional context added to the event context 
- context4T4
- An additional context added to the event context 
- context5T5
- An additional context added to the event context 
- context6T6
- An additional context added to the event context 
- context7T7
- An additional context added to the event context 
- context8T8
- An additional context added to the event context 
- context9T9
- An additional context added to the event context 
- context10T10
- An additional context added to the event context 
- context11T11
- An additional context added to the event context 
- context12T12
- An additional context added to the event context 
- context13T13
- An additional context added to the event context 
- cancellationTokenCancellationToken
Returns
Type Parameters
- T
- The state machine type 
- TInstance
- The instance type 
- T1
- T2
- T3
- T4
- T5
- T6
- T7
- T8
- T9
- T10
- T11
- T12
- T13
RaiseEvent<T, TData, TInstance, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>(T, TInstance, Event<TData>, TData, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, CancellationToken)
Raise a data event on the state machine
public static Task RaiseEvent<T, TData, TInstance, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>(this T machine, TInstance instance, Event<TData> @event, TData data, T1 context1, T2 context2, T3 context3, T4 context4, T5 context5, T6 context6, T7 context7, T8 context8, T9 context9, T10 context10, T11 context11, T12 context12, CancellationToken cancellationToken = default) where T : class, StateMachine, StateMachine<TInstance> where TInstance : class where T1 : class where T2 : class where T3 : class where T4 : class where T5 : class where T6 : class where T7 : class where T8 : class where T9 : class where T10 : class where T11 : class where T12 : classParameters
- machineT
- The state machine 
- instanceTInstance
- The state machine instance 
- eventEvent<TData>
- The event to raise 
- dataTData
- The event data 
- context1T1
- An additional context added to the event context 
- context2T2
- An additional context added to the event context 
- context3T3
- An additional context added to the event context 
- context4T4
- An additional context added to the event context 
- context5T5
- An additional context added to the event context 
- context6T6
- An additional context added to the event context 
- context7T7
- An additional context added to the event context 
- context8T8
- An additional context added to the event context 
- context9T9
- An additional context added to the event context 
- context10T10
- An additional context added to the event context 
- context11T11
- An additional context added to the event context 
- context12T12
- An additional context added to the event context 
- cancellationTokenCancellationToken
Returns
Type Parameters
- T
- The state machine type 
- TData
- The event data type 
- TInstance
- The instance type 
- T1
- T2
- T3
- T4
- T5
- T6
- T7
- T8
- T9
- T10
- T11
- T12
RaiseEvent<T, TData, TInstance, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>(T, TInstance, Func<T, Event<TData>>, TData, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, CancellationToken)
Raise a data event on the state machine
public static Task RaiseEvent<T, TData, TInstance, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>(this T machine, TInstance instance, Func<T, Event<TData>> eventSelector, TData data, T1 context1, T2 context2, T3 context3, T4 context4, T5 context5, T6 context6, T7 context7, T8 context8, T9 context9, T10 context10, T11 context11, T12 context12, CancellationToken cancellationToken = default) where T : class, StateMachine, StateMachine<TInstance> where TInstance : class where T1 : class where T2 : class where T3 : class where T4 : class where T5 : class where T6 : class where T7 : class where T8 : class where T9 : class where T10 : class where T11 : class where T12 : classParameters
- machineT
- The state machine 
- instanceTInstance
- The state machine instance 
- eventSelectorFunc<T, Event<TData>>
- Selector to the event on the state machine 
- dataTData
- The event data 
- context1T1
- An additional context added to the event context 
- context2T2
- An additional context added to the event context 
- context3T3
- An additional context added to the event context 
- context4T4
- An additional context added to the event context 
- context5T5
- An additional context added to the event context 
- context6T6
- An additional context added to the event context 
- context7T7
- An additional context added to the event context 
- context8T8
- An additional context added to the event context 
- context9T9
- An additional context added to the event context 
- context10T10
- An additional context added to the event context 
- context11T11
- An additional context added to the event context 
- context12T12
- An additional context added to the event context 
- cancellationTokenCancellationToken
Returns
Type Parameters
- T
- The state machine type 
- TData
- The event data type 
- TInstance
- The instance type 
- T1
- T2
- T3
- T4
- T5
- T6
- T7
- T8
- T9
- T10
- T11
- T12
RaiseEvent<T, TInstance, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>(T, TInstance, Event, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, CancellationToken)
Raise a simple event on the state machine
public static Task RaiseEvent<T, TInstance, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>(this T machine, TInstance instance, Event @event, T1 context1, T2 context2, T3 context3, T4 context4, T5 context5, T6 context6, T7 context7, T8 context8, T9 context9, T10 context10, T11 context11, T12 context12, T13 context13, T14 context14, CancellationToken cancellationToken = default) where T : class, StateMachine, StateMachine<TInstance> where TInstance : class where T1 : class where T2 : class where T3 : class where T4 : class where T5 : class where T6 : class where T7 : class where T8 : class where T9 : class where T10 : class where T11 : class where T12 : class where T13 : class where T14 : classParameters
- machineT
- The state machine 
- instanceTInstance
- The state machine instance 
- eventEvent
- The event to raise 
- context1T1
- An additional context added to the event context 
- context2T2
- An additional context added to the event context 
- context3T3
- An additional context added to the event context 
- context4T4
- An additional context added to the event context 
- context5T5
- An additional context added to the event context 
- context6T6
- An additional context added to the event context 
- context7T7
- An additional context added to the event context 
- context8T8
- An additional context added to the event context 
- context9T9
- An additional context added to the event context 
- context10T10
- An additional context added to the event context 
- context11T11
- An additional context added to the event context 
- context12T12
- An additional context added to the event context 
- context13T13
- An additional context added to the event context 
- context14T14
- An additional context added to the event context 
- cancellationTokenCancellationToken
Returns
Type Parameters
- T
- The state machine type 
- TInstance
- The instance type 
- T1
- T2
- T3
- T4
- T5
- T6
- T7
- T8
- T9
- T10
- T11
- T12
- T13
- T14
RaiseEvent<T, TInstance, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>(T, TInstance, Func<T, Event>, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, CancellationToken)
Raise a simple event on the state machine
public static Task RaiseEvent<T, TInstance, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>(this T machine, TInstance instance, Func<T, Event> eventSelector, T1 context1, T2 context2, T3 context3, T4 context4, T5 context5, T6 context6, T7 context7, T8 context8, T9 context9, T10 context10, T11 context11, T12 context12, T13 context13, T14 context14, CancellationToken cancellationToken = default) where T : class, StateMachine, StateMachine<TInstance> where TInstance : class where T1 : class where T2 : class where T3 : class where T4 : class where T5 : class where T6 : class where T7 : class where T8 : class where T9 : class where T10 : class where T11 : class where T12 : class where T13 : class where T14 : classParameters
- machineT
- The state machine 
- instanceTInstance
- The state machine instance 
- eventSelectorFunc<T, Event>
- Selector to the event on the state machine 
- context1T1
- An additional context added to the event context 
- context2T2
- An additional context added to the event context 
- context3T3
- An additional context added to the event context 
- context4T4
- An additional context added to the event context 
- context5T5
- An additional context added to the event context 
- context6T6
- An additional context added to the event context 
- context7T7
- An additional context added to the event context 
- context8T8
- An additional context added to the event context 
- context9T9
- An additional context added to the event context 
- context10T10
- An additional context added to the event context 
- context11T11
- An additional context added to the event context 
- context12T12
- An additional context added to the event context 
- context13T13
- An additional context added to the event context 
- context14T14
- An additional context added to the event context 
- cancellationTokenCancellationToken
Returns
Type Parameters
- T
- The state machine type 
- TInstance
- The instance type 
- T1
- T2
- T3
- T4
- T5
- T6
- T7
- T8
- T9
- T10
- T11
- T12
- T13
- T14
RaiseEvent<T, TData, TInstance, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>(T, TInstance, Event<TData>, TData, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, CancellationToken)
Raise a data event on the state machine
public static Task RaiseEvent<T, TData, TInstance, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>(this T machine, TInstance instance, Event<TData> @event, TData data, T1 context1, T2 context2, T3 context3, T4 context4, T5 context5, T6 context6, T7 context7, T8 context8, T9 context9, T10 context10, T11 context11, T12 context12, T13 context13, CancellationToken cancellationToken = default) where T : class, StateMachine, StateMachine<TInstance> where TInstance : class where T1 : class where T2 : class where T3 : class where T4 : class where T5 : class where T6 : class where T7 : class where T8 : class where T9 : class where T10 : class where T11 : class where T12 : class where T13 : classParameters
- machineT
- The state machine 
- instanceTInstance
- The state machine instance 
- eventEvent<TData>
- The event to raise 
- dataTData
- The event data 
- context1T1
- An additional context added to the event context 
- context2T2
- An additional context added to the event context 
- context3T3
- An additional context added to the event context 
- context4T4
- An additional context added to the event context 
- context5T5
- An additional context added to the event context 
- context6T6
- An additional context added to the event context 
- context7T7
- An additional context added to the event context 
- context8T8
- An additional context added to the event context 
- context9T9
- An additional context added to the event context 
- context10T10
- An additional context added to the event context 
- context11T11
- An additional context added to the event context 
- context12T12
- An additional context added to the event context 
- context13T13
- An additional context added to the event context 
- cancellationTokenCancellationToken
Returns
Type Parameters
- T
- The state machine type 
- TData
- The event data type 
- TInstance
- The instance type 
- T1
- T2
- T3
- T4
- T5
- T6
- T7
- T8
- T9
- T10
- T11
- T12
- T13
RaiseEvent<T, TData, TInstance, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>(T, TInstance, Func<T, Event<TData>>, TData, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, CancellationToken)
Raise a data event on the state machine
public static Task RaiseEvent<T, TData, TInstance, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>(this T machine, TInstance instance, Func<T, Event<TData>> eventSelector, TData data, T1 context1, T2 context2, T3 context3, T4 context4, T5 context5, T6 context6, T7 context7, T8 context8, T9 context9, T10 context10, T11 context11, T12 context12, T13 context13, CancellationToken cancellationToken = default) where T : class, StateMachine, StateMachine<TInstance> where TInstance : class where T1 : class where T2 : class where T3 : class where T4 : class where T5 : class where T6 : class where T7 : class where T8 : class where T9 : class where T10 : class where T11 : class where T12 : class where T13 : classParameters
- machineT
- The state machine 
- instanceTInstance
- The state machine instance 
- eventSelectorFunc<T, Event<TData>>
- Selector to the event on the state machine 
- dataTData
- The event data 
- context1T1
- An additional context added to the event context 
- context2T2
- An additional context added to the event context 
- context3T3
- An additional context added to the event context 
- context4T4
- An additional context added to the event context 
- context5T5
- An additional context added to the event context 
- context6T6
- An additional context added to the event context 
- context7T7
- An additional context added to the event context 
- context8T8
- An additional context added to the event context 
- context9T9
- An additional context added to the event context 
- context10T10
- An additional context added to the event context 
- context11T11
- An additional context added to the event context 
- context12T12
- An additional context added to the event context 
- context13T13
- An additional context added to the event context 
- cancellationTokenCancellationToken
Returns
Type Parameters
- T
- The state machine type 
- TData
- The event data type 
- TInstance
- The instance type 
- T1
- T2
- T3
- T4
- T5
- T6
- T7
- T8
- T9
- T10
- T11
- T12
- T13
RaiseEvent<T, TInstance, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>(T, TInstance, Event, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, CancellationToken)
Raise a simple event on the state machine
public static Task RaiseEvent<T, TInstance, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>(this T machine, TInstance instance, Event @event, T1 context1, T2 context2, T3 context3, T4 context4, T5 context5, T6 context6, T7 context7, T8 context8, T9 context9, T10 context10, T11 context11, T12 context12, T13 context13, T14 context14, T15 context15, CancellationToken cancellationToken = default) where T : class, StateMachine, StateMachine<TInstance> where TInstance : class where T1 : class where T2 : class where T3 : class where T4 : class where T5 : class where T6 : class where T7 : class where T8 : class where T9 : class where T10 : class where T11 : class where T12 : class where T13 : class where T14 : class where T15 : classParameters
- machineT
- The state machine 
- instanceTInstance
- The state machine instance 
- eventEvent
- The event to raise 
- context1T1
- An additional context added to the event context 
- context2T2
- An additional context added to the event context 
- context3T3
- An additional context added to the event context 
- context4T4
- An additional context added to the event context 
- context5T5
- An additional context added to the event context 
- context6T6
- An additional context added to the event context 
- context7T7
- An additional context added to the event context 
- context8T8
- An additional context added to the event context 
- context9T9
- An additional context added to the event context 
- context10T10
- An additional context added to the event context 
- context11T11
- An additional context added to the event context 
- context12T12
- An additional context added to the event context 
- context13T13
- An additional context added to the event context 
- context14T14
- An additional context added to the event context 
- context15T15
- An additional context added to the event context 
- cancellationTokenCancellationToken
Returns
Type Parameters
- T
- The state machine type 
- TInstance
- The instance type 
- T1
- T2
- T3
- T4
- T5
- T6
- T7
- T8
- T9
- T10
- T11
- T12
- T13
- T14
- T15
RaiseEvent<T, TInstance, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>(T, TInstance, Func<T, Event>, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, CancellationToken)
Raise a simple event on the state machine
public static Task RaiseEvent<T, TInstance, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>(this T machine, TInstance instance, Func<T, Event> eventSelector, T1 context1, T2 context2, T3 context3, T4 context4, T5 context5, T6 context6, T7 context7, T8 context8, T9 context9, T10 context10, T11 context11, T12 context12, T13 context13, T14 context14, T15 context15, CancellationToken cancellationToken = default) where T : class, StateMachine, StateMachine<TInstance> where TInstance : class where T1 : class where T2 : class where T3 : class where T4 : class where T5 : class where T6 : class where T7 : class where T8 : class where T9 : class where T10 : class where T11 : class where T12 : class where T13 : class where T14 : class where T15 : classParameters
- machineT
- The state machine 
- instanceTInstance
- The state machine instance 
- eventSelectorFunc<T, Event>
- Selector to the event on the state machine 
- context1T1
- An additional context added to the event context 
- context2T2
- An additional context added to the event context 
- context3T3
- An additional context added to the event context 
- context4T4
- An additional context added to the event context 
- context5T5
- An additional context added to the event context 
- context6T6
- An additional context added to the event context 
- context7T7
- An additional context added to the event context 
- context8T8
- An additional context added to the event context 
- context9T9
- An additional context added to the event context 
- context10T10
- An additional context added to the event context 
- context11T11
- An additional context added to the event context 
- context12T12
- An additional context added to the event context 
- context13T13
- An additional context added to the event context 
- context14T14
- An additional context added to the event context 
- context15T15
- An additional context added to the event context 
- cancellationTokenCancellationToken
Returns
Type Parameters
- T
- The state machine type 
- TInstance
- The instance type 
- T1
- T2
- T3
- T4
- T5
- T6
- T7
- T8
- T9
- T10
- T11
- T12
- T13
- T14
- T15
RaiseEvent<T, TData, TInstance, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>(T, TInstance, Event<TData>, TData, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, CancellationToken)
Raise a data event on the state machine
public static Task RaiseEvent<T, TData, TInstance, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>(this T machine, TInstance instance, Event<TData> @event, TData data, T1 context1, T2 context2, T3 context3, T4 context4, T5 context5, T6 context6, T7 context7, T8 context8, T9 context9, T10 context10, T11 context11, T12 context12, T13 context13, T14 context14, CancellationToken cancellationToken = default) where T : class, StateMachine, StateMachine<TInstance> where TInstance : class where T1 : class where T2 : class where T3 : class where T4 : class where T5 : class where T6 : class where T7 : class where T8 : class where T9 : class where T10 : class where T11 : class where T12 : class where T13 : class where T14 : classParameters
- machineT
- The state machine 
- instanceTInstance
- The state machine instance 
- eventEvent<TData>
- The event to raise 
- dataTData
- The event data 
- context1T1
- An additional context added to the event context 
- context2T2
- An additional context added to the event context 
- context3T3
- An additional context added to the event context 
- context4T4
- An additional context added to the event context 
- context5T5
- An additional context added to the event context 
- context6T6
- An additional context added to the event context 
- context7T7
- An additional context added to the event context 
- context8T8
- An additional context added to the event context 
- context9T9
- An additional context added to the event context 
- context10T10
- An additional context added to the event context 
- context11T11
- An additional context added to the event context 
- context12T12
- An additional context added to the event context 
- context13T13
- An additional context added to the event context 
- context14T14
- An additional context added to the event context 
- cancellationTokenCancellationToken
Returns
Type Parameters
- T
- The state machine type 
- TData
- The event data type 
- TInstance
- The instance type 
- T1
- T2
- T3
- T4
- T5
- T6
- T7
- T8
- T9
- T10
- T11
- T12
- T13
- T14
RaiseEvent<T, TData, TInstance, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>(T, TInstance, Func<T, Event<TData>>, TData, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, CancellationToken)
Raise a data event on the state machine
public static Task RaiseEvent<T, TData, TInstance, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>(this T machine, TInstance instance, Func<T, Event<TData>> eventSelector, TData data, T1 context1, T2 context2, T3 context3, T4 context4, T5 context5, T6 context6, T7 context7, T8 context8, T9 context9, T10 context10, T11 context11, T12 context12, T13 context13, T14 context14, CancellationToken cancellationToken = default) where T : class, StateMachine, StateMachine<TInstance> where TInstance : class where T1 : class where T2 : class where T3 : class where T4 : class where T5 : class where T6 : class where T7 : class where T8 : class where T9 : class where T10 : class where T11 : class where T12 : class where T13 : class where T14 : classParameters
- machineT
- The state machine 
- instanceTInstance
- The state machine instance 
- eventSelectorFunc<T, Event<TData>>
- Selector to the event on the state machine 
- dataTData
- The event data 
- context1T1
- An additional context added to the event context 
- context2T2
- An additional context added to the event context 
- context3T3
- An additional context added to the event context 
- context4T4
- An additional context added to the event context 
- context5T5
- An additional context added to the event context 
- context6T6
- An additional context added to the event context 
- context7T7
- An additional context added to the event context 
- context8T8
- An additional context added to the event context 
- context9T9
- An additional context added to the event context 
- context10T10
- An additional context added to the event context 
- context11T11
- An additional context added to the event context 
- context12T12
- An additional context added to the event context 
- context13T13
- An additional context added to the event context 
- context14T14
- An additional context added to the event context 
- cancellationTokenCancellationToken
Returns
Type Parameters
- T
- The state machine type 
- TData
- The event data type 
- TInstance
- The instance type 
- T1
- T2
- T3
- T4
- T5
- T6
- T7
- T8
- T9
- T10
- T11
- T12
- T13
- T14
RaiseEvent<T, TInstance, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>(T, TInstance, Event, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, CancellationToken)
Raise a simple event on the state machine
public static Task RaiseEvent<T, TInstance, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>(this T machine, TInstance instance, Event @event, T1 context1, T2 context2, T3 context3, T4 context4, T5 context5, T6 context6, T7 context7, T8 context8, T9 context9, T10 context10, T11 context11, T12 context12, T13 context13, T14 context14, T15 context15, T16 context16, CancellationToken cancellationToken = default) where T : class, StateMachine, StateMachine<TInstance> where TInstance : class where T1 : class where T2 : class where T3 : class where T4 : class where T5 : class where T6 : class where T7 : class where T8 : class where T9 : class where T10 : class where T11 : class where T12 : class where T13 : class where T14 : class where T15 : class where T16 : classParameters
- machineT
- The state machine 
- instanceTInstance
- The state machine instance 
- eventEvent
- The event to raise 
- context1T1
- An additional context added to the event context 
- context2T2
- An additional context added to the event context 
- context3T3
- An additional context added to the event context 
- context4T4
- An additional context added to the event context 
- context5T5
- An additional context added to the event context 
- context6T6
- An additional context added to the event context 
- context7T7
- An additional context added to the event context 
- context8T8
- An additional context added to the event context 
- context9T9
- An additional context added to the event context 
- context10T10
- An additional context added to the event context 
- context11T11
- An additional context added to the event context 
- context12T12
- An additional context added to the event context 
- context13T13
- An additional context added to the event context 
- context14T14
- An additional context added to the event context 
- context15T15
- An additional context added to the event context 
- context16T16
- An additional context added to the event context 
- cancellationTokenCancellationToken
Returns
Type Parameters
- T
- The state machine type 
- TInstance
- The instance type 
- T1
- T2
- T3
- T4
- T5
- T6
- T7
- T8
- T9
- T10
- T11
- T12
- T13
- T14
- T15
- T16
RaiseEvent<T, TInstance, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>(T, TInstance, Func<T, Event>, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, CancellationToken)
Raise a simple event on the state machine
public static Task RaiseEvent<T, TInstance, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>(this T machine, TInstance instance, Func<T, Event> eventSelector, T1 context1, T2 context2, T3 context3, T4 context4, T5 context5, T6 context6, T7 context7, T8 context8, T9 context9, T10 context10, T11 context11, T12 context12, T13 context13, T14 context14, T15 context15, T16 context16, CancellationToken cancellationToken = default) where T : class, StateMachine, StateMachine<TInstance> where TInstance : class where T1 : class where T2 : class where T3 : class where T4 : class where T5 : class where T6 : class where T7 : class where T8 : class where T9 : class where T10 : class where T11 : class where T12 : class where T13 : class where T14 : class where T15 : class where T16 : classParameters
- machineT
- The state machine 
- instanceTInstance
- The state machine instance 
- eventSelectorFunc<T, Event>
- Selector to the event on the state machine 
- context1T1
- An additional context added to the event context 
- context2T2
- An additional context added to the event context 
- context3T3
- An additional context added to the event context 
- context4T4
- An additional context added to the event context 
- context5T5
- An additional context added to the event context 
- context6T6
- An additional context added to the event context 
- context7T7
- An additional context added to the event context 
- context8T8
- An additional context added to the event context 
- context9T9
- An additional context added to the event context 
- context10T10
- An additional context added to the event context 
- context11T11
- An additional context added to the event context 
- context12T12
- An additional context added to the event context 
- context13T13
- An additional context added to the event context 
- context14T14
- An additional context added to the event context 
- context15T15
- An additional context added to the event context 
- context16T16
- An additional context added to the event context 
- cancellationTokenCancellationToken
Returns
Type Parameters
- T
- The state machine type 
- TInstance
- The instance type 
- T1
- T2
- T3
- T4
- T5
- T6
- T7
- T8
- T9
- T10
- T11
- T12
- T13
- T14
- T15
- T16
RaiseEvent<T, TData, TInstance, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>(T, TInstance, Event<TData>, TData, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, CancellationToken)
Raise a data event on the state machine
public static Task RaiseEvent<T, TData, TInstance, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>(this T machine, TInstance instance, Event<TData> @event, TData data, T1 context1, T2 context2, T3 context3, T4 context4, T5 context5, T6 context6, T7 context7, T8 context8, T9 context9, T10 context10, T11 context11, T12 context12, T13 context13, T14 context14, T15 context15, CancellationToken cancellationToken = default) where T : class, StateMachine, StateMachine<TInstance> where TInstance : class where T1 : class where T2 : class where T3 : class where T4 : class where T5 : class where T6 : class where T7 : class where T8 : class where T9 : class where T10 : class where T11 : class where T12 : class where T13 : class where T14 : class where T15 : classParameters
- machineT
- The state machine 
- instanceTInstance
- The state machine instance 
- eventEvent<TData>
- The event to raise 
- dataTData
- The event data 
- context1T1
- An additional context added to the event context 
- context2T2
- An additional context added to the event context 
- context3T3
- An additional context added to the event context 
- context4T4
- An additional context added to the event context 
- context5T5
- An additional context added to the event context 
- context6T6
- An additional context added to the event context 
- context7T7
- An additional context added to the event context 
- context8T8
- An additional context added to the event context 
- context9T9
- An additional context added to the event context 
- context10T10
- An additional context added to the event context 
- context11T11
- An additional context added to the event context 
- context12T12
- An additional context added to the event context 
- context13T13
- An additional context added to the event context 
- context14T14
- An additional context added to the event context 
- context15T15
- An additional context added to the event context 
- cancellationTokenCancellationToken
Returns
Type Parameters
- T
- The state machine type 
- TData
- The event data type 
- TInstance
- The instance type 
- T1
- T2
- T3
- T4
- T5
- T6
- T7
- T8
- T9
- T10
- T11
- T12
- T13
- T14
- T15
RaiseEvent<T, TData, TInstance, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>(T, TInstance, Func<T, Event<TData>>, TData, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, CancellationToken)
Raise a data event on the state machine
public static Task RaiseEvent<T, TData, TInstance, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>(this T machine, TInstance instance, Func<T, Event<TData>> eventSelector, TData data, T1 context1, T2 context2, T3 context3, T4 context4, T5 context5, T6 context6, T7 context7, T8 context8, T9 context9, T10 context10, T11 context11, T12 context12, T13 context13, T14 context14, T15 context15, CancellationToken cancellationToken = default) where T : class, StateMachine, StateMachine<TInstance> where TInstance : class where T1 : class where T2 : class where T3 : class where T4 : class where T5 : class where T6 : class where T7 : class where T8 : class where T9 : class where T10 : class where T11 : class where T12 : class where T13 : class where T14 : class where T15 : classParameters
- machineT
- The state machine 
- instanceTInstance
- The state machine instance 
- eventSelectorFunc<T, Event<TData>>
- Selector to the event on the state machine 
- dataTData
- The event data 
- context1T1
- An additional context added to the event context 
- context2T2
- An additional context added to the event context 
- context3T3
- An additional context added to the event context 
- context4T4
- An additional context added to the event context 
- context5T5
- An additional context added to the event context 
- context6T6
- An additional context added to the event context 
- context7T7
- An additional context added to the event context 
- context8T8
- An additional context added to the event context 
- context9T9
- An additional context added to the event context 
- context10T10
- An additional context added to the event context 
- context11T11
- An additional context added to the event context 
- context12T12
- An additional context added to the event context 
- context13T13
- An additional context added to the event context 
- context14T14
- An additional context added to the event context 
- context15T15
- An additional context added to the event context 
- cancellationTokenCancellationToken
Returns
Type Parameters
- T
- The state machine type 
- TData
- The event data type 
- TInstance
- The instance type 
- T1
- T2
- T3
- T4
- T5
- T6
- T7
- T8
- T9
- T10
- T11
- T12
- T13
- T14
- T15
RaiseEvent<T, TData, TInstance, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>(T, TInstance, Event<TData>, TData, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, CancellationToken)
Raise a data event on the state machine
public static Task RaiseEvent<T, TData, TInstance, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>(this T machine, TInstance instance, Event<TData> @event, TData data, T1 context1, T2 context2, T3 context3, T4 context4, T5 context5, T6 context6, T7 context7, T8 context8, T9 context9, T10 context10, T11 context11, T12 context12, T13 context13, T14 context14, T15 context15, T16 context16, CancellationToken cancellationToken = default) where T : class, StateMachine, StateMachine<TInstance> where TInstance : class where T1 : class where T2 : class where T3 : class where T4 : class where T5 : class where T6 : class where T7 : class where T8 : class where T9 : class where T10 : class where T11 : class where T12 : class where T13 : class where T14 : class where T15 : class where T16 : classParameters
- machineT
- The state machine 
- instanceTInstance
- The state machine instance 
- eventEvent<TData>
- The event to raise 
- dataTData
- The event data 
- context1T1
- An additional context added to the event context 
- context2T2
- An additional context added to the event context 
- context3T3
- An additional context added to the event context 
- context4T4
- An additional context added to the event context 
- context5T5
- An additional context added to the event context 
- context6T6
- An additional context added to the event context 
- context7T7
- An additional context added to the event context 
- context8T8
- An additional context added to the event context 
- context9T9
- An additional context added to the event context 
- context10T10
- An additional context added to the event context 
- context11T11
- An additional context added to the event context 
- context12T12
- An additional context added to the event context 
- context13T13
- An additional context added to the event context 
- context14T14
- An additional context added to the event context 
- context15T15
- An additional context added to the event context 
- context16T16
- An additional context added to the event context 
- cancellationTokenCancellationToken
Returns
Type Parameters
- T
- The state machine type 
- TData
- The event data type 
- TInstance
- The instance type 
- T1
- T2
- T3
- T4
- T5
- T6
- T7
- T8
- T9
- T10
- T11
- T12
- T13
- T14
- T15
- T16
RaiseEvent<T, TData, TInstance, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>(T, TInstance, Func<T, Event<TData>>, TData, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, CancellationToken)
Raise a data event on the state machine
public static Task RaiseEvent<T, TData, TInstance, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>(this T machine, TInstance instance, Func<T, Event<TData>> eventSelector, TData data, T1 context1, T2 context2, T3 context3, T4 context4, T5 context5, T6 context6, T7 context7, T8 context8, T9 context9, T10 context10, T11 context11, T12 context12, T13 context13, T14 context14, T15 context15, T16 context16, CancellationToken cancellationToken = default) where T : class, StateMachine, StateMachine<TInstance> where TInstance : class where T1 : class where T2 : class where T3 : class where T4 : class where T5 : class where T6 : class where T7 : class where T8 : class where T9 : class where T10 : class where T11 : class where T12 : class where T13 : class where T14 : class where T15 : class where T16 : classParameters
- machineT
- The state machine 
- instanceTInstance
- The state machine instance 
- eventSelectorFunc<T, Event<TData>>
- Selector to the event on the state machine 
- dataTData
- The event data 
- context1T1
- An additional context added to the event context 
- context2T2
- An additional context added to the event context 
- context3T3
- An additional context added to the event context 
- context4T4
- An additional context added to the event context 
- context5T5
- An additional context added to the event context 
- context6T6
- An additional context added to the event context 
- context7T7
- An additional context added to the event context 
- context8T8
- An additional context added to the event context 
- context9T9
- An additional context added to the event context 
- context10T10
- An additional context added to the event context 
- context11T11
- An additional context added to the event context 
- context12T12
- An additional context added to the event context 
- context13T13
- An additional context added to the event context 
- context14T14
- An additional context added to the event context 
- context15T15
- An additional context added to the event context 
- context16T16
- An additional context added to the event context 
- cancellationTokenCancellationToken
Returns
Type Parameters
- T
- The state machine type 
- TData
- The event data type 
- TInstance
- The instance type 
- T1
- T2
- T3
- T4
- T5
- T6
- T7
- T8
- T9
- T10
- T11
- T12
- T13
- T14
- T15
- T16
RaiseEvent<T, TInstance>(T, TInstance, Event, CancellationToken)
Raise a simple event on the state machine
public static Task RaiseEvent<T, TInstance>(this T machine, TInstance instance, Event @event, CancellationToken cancellationToken = default) where T : class, StateMachine, StateMachine<TInstance> where TInstance : classParameters
- machineT
- The state machine 
- instanceTInstance
- The state machine instance 
- eventEvent
- The event to raise 
- cancellationTokenCancellationToken
Returns
Type Parameters
- T
- The state machine type 
- TInstance
- The instance type 
RaiseEvent<T, TInstance>(T, TInstance, Func<T, Event>, CancellationToken)
Raise a simple event on the state machine
public static Task RaiseEvent<T, TInstance>(this T machine, TInstance instance, Func<T, Event> eventSelector, CancellationToken cancellationToken = default) where T : class, StateMachine, StateMachine<TInstance> where TInstance : classParameters
- machineT
- The state machine 
- instanceTInstance
- The state machine instance 
- eventSelectorFunc<T, Event>
- Selector to the event on the state machine 
- cancellationTokenCancellationToken
Returns
Type Parameters
- T
- The state machine type 
- TInstance
- The instance type 
RaiseEvent<T, TInstance, T1>(T, TInstance, Event, T1, CancellationToken)
Raise a simple event on the state machine
public static Task RaiseEvent<T, TInstance, T1>(this T machine, TInstance instance, Event @event, T1 context1, CancellationToken cancellationToken = default) where T : class, StateMachine, StateMachine<TInstance> where TInstance : class where T1 : classParameters
- machineT
- The state machine 
- instanceTInstance
- The state machine instance 
- eventEvent
- The event to raise 
- context1T1
- An additional context added to the event context 
- cancellationTokenCancellationToken
Returns
Type Parameters
- T
- The state machine type 
- TInstance
- The instance type 
- T1
RaiseEvent<T, TInstance, T1>(T, TInstance, Func<T, Event>, T1, CancellationToken)
Raise a simple event on the state machine
public static Task RaiseEvent<T, TInstance, T1>(this T machine, TInstance instance, Func<T, Event> eventSelector, T1 context1, CancellationToken cancellationToken = default) where T : class, StateMachine, StateMachine<TInstance> where TInstance : class where T1 : classParameters
- machineT
- The state machine 
- instanceTInstance
- The state machine instance 
- eventSelectorFunc<T, Event>
- Selector to the event on the state machine 
- context1T1
- An additional context added to the event context 
- cancellationTokenCancellationToken
Returns
Type Parameters
- T
- The state machine type 
- TInstance
- The instance type 
- T1
RaiseEvent<T, TData, TInstance>(T, TInstance, Event<TData>, TData, CancellationToken)
Raise a data event on the state machine
public static Task RaiseEvent<T, TData, TInstance>(this T machine, TInstance instance, Event<TData> @event, TData data, CancellationToken cancellationToken = default) where T : class, StateMachine, StateMachine<TInstance> where TInstance : classParameters
- machineT
- The state machine 
- instanceTInstance
- The state machine instance 
- eventEvent<TData>
- The event to raise 
- dataTData
- The event data 
- cancellationTokenCancellationToken
Returns
Type Parameters
- T
- The state machine type 
- TData
- The event data type 
- TInstance
- The instance type 
RaiseEvent<T, TData, TInstance>(T, TInstance, Func<T, Event<TData>>, TData, CancellationToken)
Raise a data event on the state machine
public static Task RaiseEvent<T, TData, TInstance>(this T machine, TInstance instance, Func<T, Event<TData>> eventSelector, TData data, CancellationToken cancellationToken = default) where T : class, StateMachine, StateMachine<TInstance> where TInstance : classParameters
- machineT
- The state machine 
- instanceTInstance
- The state machine instance 
- eventSelectorFunc<T, Event<TData>>
- Selector to the event on the state machine 
- dataTData
- The event data 
- cancellationTokenCancellationToken
Returns
Type Parameters
- T
- The state machine type 
- TData
- The event data type 
- TInstance
- The instance type 
RaiseEvent<T, TInstance, T1, T2>(T, TInstance, Event, T1, T2, CancellationToken)
Raise a simple event on the state machine
public static Task RaiseEvent<T, TInstance, T1, T2>(this T machine, TInstance instance, Event @event, T1 context1, T2 context2, CancellationToken cancellationToken = default) where T : class, StateMachine, StateMachine<TInstance> where TInstance : class where T1 : class where T2 : classParameters
- machineT
- The state machine 
- instanceTInstance
- The state machine instance 
- eventEvent
- The event to raise 
- context1T1
- An additional context added to the event context 
- context2T2
- An additional context added to the event context 
- cancellationTokenCancellationToken
Returns
Type Parameters
- T
- The state machine type 
- TInstance
- The instance type 
- T1
- T2
RaiseEvent<T, TInstance, T1, T2>(T, TInstance, Func<T, Event>, T1, T2, CancellationToken)
Raise a simple event on the state machine
public static Task RaiseEvent<T, TInstance, T1, T2>(this T machine, TInstance instance, Func<T, Event> eventSelector, T1 context1, T2 context2, CancellationToken cancellationToken = default) where T : class, StateMachine, StateMachine<TInstance> where TInstance : class where T1 : class where T2 : classParameters
- machineT
- The state machine 
- instanceTInstance
- The state machine instance 
- eventSelectorFunc<T, Event>
- Selector to the event on the state machine 
- context1T1
- An additional context added to the event context 
- context2T2
- An additional context added to the event context 
- cancellationTokenCancellationToken
Returns
Type Parameters
- T
- The state machine type 
- TInstance
- The instance type 
- T1
- T2
RaiseEvent<T, TData, TInstance, T1>(T, TInstance, Event<TData>, TData, T1, CancellationToken)
Raise a data event on the state machine
public static Task RaiseEvent<T, TData, TInstance, T1>(this T machine, TInstance instance, Event<TData> @event, TData data, T1 context1, CancellationToken cancellationToken = default) where T : class, StateMachine, StateMachine<TInstance> where TInstance : class where T1 : classParameters
- machineT
- The state machine 
- instanceTInstance
- The state machine instance 
- eventEvent<TData>
- The event to raise 
- dataTData
- The event data 
- context1T1
- An additional context added to the event context 
- cancellationTokenCancellationToken
Returns
Type Parameters
- T
- The state machine type 
- TData
- The event data type 
- TInstance
- The instance type 
- T1
RaiseEvent<T, TData, TInstance, T1>(T, TInstance, Func<T, Event<TData>>, TData, T1, CancellationToken)
Raise a data event on the state machine
public static Task RaiseEvent<T, TData, TInstance, T1>(this T machine, TInstance instance, Func<T, Event<TData>> eventSelector, TData data, T1 context1, CancellationToken cancellationToken = default) where T : class, StateMachine, StateMachine<TInstance> where TInstance : class where T1 : classParameters
- machineT
- The state machine 
- instanceTInstance
- The state machine instance 
- eventSelectorFunc<T, Event<TData>>
- Selector to the event on the state machine 
- dataTData
- The event data 
- context1T1
- An additional context added to the event context 
- cancellationTokenCancellationToken
Returns
Type Parameters
- T
- The state machine type 
- TData
- The event data type 
- TInstance
- The instance type 
- T1
RaiseEvent<T, TInstance, T1, T2, T3>(T, TInstance, Event, T1, T2, T3, CancellationToken)
Raise a simple event on the state machine
public static Task RaiseEvent<T, TInstance, T1, T2, T3>(this T machine, TInstance instance, Event @event, T1 context1, T2 context2, T3 context3, CancellationToken cancellationToken = default) where T : class, StateMachine, StateMachine<TInstance> where TInstance : class where T1 : class where T2 : class where T3 : classParameters
- machineT
- The state machine 
- instanceTInstance
- The state machine instance 
- eventEvent
- The event to raise 
- context1T1
- An additional context added to the event context 
- context2T2
- An additional context added to the event context 
- context3T3
- An additional context added to the event context 
- cancellationTokenCancellationToken
Returns
Type Parameters
- T
- The state machine type 
- TInstance
- The instance type 
- T1
- T2
- T3
RaiseEvent<T, TInstance, T1, T2, T3>(T, TInstance, Func<T, Event>, T1, T2, T3, CancellationToken)
Raise a simple event on the state machine
public static Task RaiseEvent<T, TInstance, T1, T2, T3>(this T machine, TInstance instance, Func<T, Event> eventSelector, T1 context1, T2 context2, T3 context3, CancellationToken cancellationToken = default) where T : class, StateMachine, StateMachine<TInstance> where TInstance : class where T1 : class where T2 : class where T3 : classParameters
- machineT
- The state machine 
- instanceTInstance
- The state machine instance 
- eventSelectorFunc<T, Event>
- Selector to the event on the state machine 
- context1T1
- An additional context added to the event context 
- context2T2
- An additional context added to the event context 
- context3T3
- An additional context added to the event context 
- cancellationTokenCancellationToken
Returns
Type Parameters
- T
- The state machine type 
- TInstance
- The instance type 
- T1
- T2
- T3
RaiseEvent<T, TData, TInstance, T1, T2>(T, TInstance, Event<TData>, TData, T1, T2, CancellationToken)
Raise a data event on the state machine
public static Task RaiseEvent<T, TData, TInstance, T1, T2>(this T machine, TInstance instance, Event<TData> @event, TData data, T1 context1, T2 context2, CancellationToken cancellationToken = default) where T : class, StateMachine, StateMachine<TInstance> where TInstance : class where T1 : class where T2 : classParameters
- machineT
- The state machine 
- instanceTInstance
- The state machine instance 
- eventEvent<TData>
- The event to raise 
- dataTData
- The event data 
- context1T1
- An additional context added to the event context 
- context2T2
- An additional context added to the event context 
- cancellationTokenCancellationToken
Returns
Type Parameters
- T
- The state machine type 
- TData
- The event data type 
- TInstance
- The instance type 
- T1
- T2
RaiseEvent<T, TData, TInstance, T1, T2>(T, TInstance, Func<T, Event<TData>>, TData, T1, T2, CancellationToken)
Raise a data event on the state machine
public static Task RaiseEvent<T, TData, TInstance, T1, T2>(this T machine, TInstance instance, Func<T, Event<TData>> eventSelector, TData data, T1 context1, T2 context2, CancellationToken cancellationToken = default) where T : class, StateMachine, StateMachine<TInstance> where TInstance : class where T1 : class where T2 : classParameters
- machineT
- The state machine 
- instanceTInstance
- The state machine instance 
- eventSelectorFunc<T, Event<TData>>
- Selector to the event on the state machine 
- dataTData
- The event data 
- context1T1
- An additional context added to the event context 
- context2T2
- An additional context added to the event context 
- cancellationTokenCancellationToken
Returns
Type Parameters
- T
- The state machine type 
- TData
- The event data type 
- TInstance
- The instance type 
- T1
- T2
RaiseEvent<T, TInstance, T1, T2, T3, T4>(T, TInstance, Event, T1, T2, T3, T4, CancellationToken)
Raise a simple event on the state machine
public static Task RaiseEvent<T, TInstance, T1, T2, T3, T4>(this T machine, TInstance instance, Event @event, T1 context1, T2 context2, T3 context3, T4 context4, CancellationToken cancellationToken = default) where T : class, StateMachine, StateMachine<TInstance> where TInstance : class where T1 : class where T2 : class where T3 : class where T4 : classParameters
- machineT
- The state machine 
- instanceTInstance
- The state machine instance 
- eventEvent
- The event to raise 
- context1T1
- An additional context added to the event context 
- context2T2
- An additional context added to the event context 
- context3T3
- An additional context added to the event context 
- context4T4
- An additional context added to the event context 
- cancellationTokenCancellationToken
Returns
Type Parameters
- T
- The state machine type 
- TInstance
- The instance type 
- T1
- T2
- T3
- T4
RaiseEvent<T, TInstance, T1, T2, T3, T4>(T, TInstance, Func<T, Event>, T1, T2, T3, T4, CancellationToken)
Raise a simple event on the state machine
public static Task RaiseEvent<T, TInstance, T1, T2, T3, T4>(this T machine, TInstance instance, Func<T, Event> eventSelector, T1 context1, T2 context2, T3 context3, T4 context4, CancellationToken cancellationToken = default) where T : class, StateMachine, StateMachine<TInstance> where TInstance : class where T1 : class where T2 : class where T3 : class where T4 : classParameters
- machineT
- The state machine 
- instanceTInstance
- The state machine instance 
- eventSelectorFunc<T, Event>
- Selector to the event on the state machine 
- context1T1
- An additional context added to the event context 
- context2T2
- An additional context added to the event context 
- context3T3
- An additional context added to the event context 
- context4T4
- An additional context added to the event context 
- cancellationTokenCancellationToken
Returns
Type Parameters
- T
- The state machine type 
- TInstance
- The instance type 
- T1
- T2
- T3
- T4
RaiseEvent<T, TData, TInstance, T1, T2, T3>(T, TInstance, Event<TData>, TData, T1, T2, T3, CancellationToken)
Raise a data event on the state machine
public static Task RaiseEvent<T, TData, TInstance, T1, T2, T3>(this T machine, TInstance instance, Event<TData> @event, TData data, T1 context1, T2 context2, T3 context3, CancellationToken cancellationToken = default) where T : class, StateMachine, StateMachine<TInstance> where TInstance : class where T1 : class where T2 : class where T3 : classParameters
- machineT
- The state machine 
- instanceTInstance
- The state machine instance 
- eventEvent<TData>
- The event to raise 
- dataTData
- The event data 
- context1T1
- An additional context added to the event context 
- context2T2
- An additional context added to the event context 
- context3T3
- An additional context added to the event context 
- cancellationTokenCancellationToken
Returns
Type Parameters
- T
- The state machine type 
- TData
- The event data type 
- TInstance
- The instance type 
- T1
- T2
- T3
RaiseEvent<T, TData, TInstance, T1, T2, T3>(T, TInstance, Func<T, Event<TData>>, TData, T1, T2, T3, CancellationToken)
Raise a data event on the state machine
public static Task RaiseEvent<T, TData, TInstance, T1, T2, T3>(this T machine, TInstance instance, Func<T, Event<TData>> eventSelector, TData data, T1 context1, T2 context2, T3 context3, CancellationToken cancellationToken = default) where T : class, StateMachine, StateMachine<TInstance> where TInstance : class where T1 : class where T2 : class where T3 : classParameters
- machineT
- The state machine 
- instanceTInstance
- The state machine instance 
- eventSelectorFunc<T, Event<TData>>
- Selector to the event on the state machine 
- dataTData
- The event data 
- context1T1
- An additional context added to the event context 
- context2T2
- An additional context added to the event context 
- context3T3
- An additional context added to the event context 
- cancellationTokenCancellationToken
Returns
Type Parameters
- T
- The state machine type 
- TData
- The event data type 
- TInstance
- The instance type 
- T1
- T2
- T3
RaiseEvent<T, TInstance, T1, T2, T3, T4, T5>(T, TInstance, Event, T1, T2, T3, T4, T5, CancellationToken)
Raise a simple event on the state machine
public static Task RaiseEvent<T, TInstance, T1, T2, T3, T4, T5>(this T machine, TInstance instance, Event @event, T1 context1, T2 context2, T3 context3, T4 context4, T5 context5, CancellationToken cancellationToken = default) where T : class, StateMachine, StateMachine<TInstance> where TInstance : class where T1 : class where T2 : class where T3 : class where T4 : class where T5 : classParameters
- machineT
- The state machine 
- instanceTInstance
- The state machine instance 
- eventEvent
- The event to raise 
- context1T1
- An additional context added to the event context 
- context2T2
- An additional context added to the event context 
- context3T3
- An additional context added to the event context 
- context4T4
- An additional context added to the event context 
- context5T5
- An additional context added to the event context 
- cancellationTokenCancellationToken
Returns
Type Parameters
- T
- The state machine type 
- TInstance
- The instance type 
- T1
- T2
- T3
- T4
- T5
RaiseEvent<T, TInstance, T1, T2, T3, T4, T5>(T, TInstance, Func<T, Event>, T1, T2, T3, T4, T5, CancellationToken)
Raise a simple event on the state machine
public static Task RaiseEvent<T, TInstance, T1, T2, T3, T4, T5>(this T machine, TInstance instance, Func<T, Event> eventSelector, T1 context1, T2 context2, T3 context3, T4 context4, T5 context5, CancellationToken cancellationToken = default) where T : class, StateMachine, StateMachine<TInstance> where TInstance : class where T1 : class where T2 : class where T3 : class where T4 : class where T5 : classParameters
- machineT
- The state machine 
- instanceTInstance
- The state machine instance 
- eventSelectorFunc<T, Event>
- Selector to the event on the state machine 
- context1T1
- An additional context added to the event context 
- context2T2
- An additional context added to the event context 
- context3T3
- An additional context added to the event context 
- context4T4
- An additional context added to the event context 
- context5T5
- An additional context added to the event context 
- cancellationTokenCancellationToken
Returns
Type Parameters
- T
- The state machine type 
- TInstance
- The instance type 
- T1
- T2
- T3
- T4
- T5
RaiseEvent<T, TData, TInstance, T1, T2, T3, T4>(T, TInstance, Event<TData>, TData, T1, T2, T3, T4, CancellationToken)
Raise a data event on the state machine
public static Task RaiseEvent<T, TData, TInstance, T1, T2, T3, T4>(this T machine, TInstance instance, Event<TData> @event, TData data, T1 context1, T2 context2, T3 context3, T4 context4, CancellationToken cancellationToken = default) where T : class, StateMachine, StateMachine<TInstance> where TInstance : class where T1 : class where T2 : class where T3 : class where T4 : classParameters
- machineT
- The state machine 
- instanceTInstance
- The state machine instance 
- eventEvent<TData>
- The event to raise 
- dataTData
- The event data 
- context1T1
- An additional context added to the event context 
- context2T2
- An additional context added to the event context 
- context3T3
- An additional context added to the event context 
- context4T4
- An additional context added to the event context 
- cancellationTokenCancellationToken
Returns
Type Parameters
- T
- The state machine type 
- TData
- The event data type 
- TInstance
- The instance type 
- T1
- T2
- T3
- T4
RaiseEvent<T, TData, TInstance, T1, T2, T3, T4>(T, TInstance, Func<T, Event<TData>>, TData, T1, T2, T3, T4, CancellationToken)
Raise a data event on the state machine
public static Task RaiseEvent<T, TData, TInstance, T1, T2, T3, T4>(this T machine, TInstance instance, Func<T, Event<TData>> eventSelector, TData data, T1 context1, T2 context2, T3 context3, T4 context4, CancellationToken cancellationToken = default) where T : class, StateMachine, StateMachine<TInstance> where TInstance : class where T1 : class where T2 : class where T3 : class where T4 : classParameters
- machineT
- The state machine 
- instanceTInstance
- The state machine instance 
- eventSelectorFunc<T, Event<TData>>
- Selector to the event on the state machine 
- dataTData
- The event data 
- context1T1
- An additional context added to the event context 
- context2T2
- An additional context added to the event context 
- context3T3
- An additional context added to the event context 
- context4T4
- An additional context added to the event context 
- cancellationTokenCancellationToken
Returns
Type Parameters
- T
- The state machine type 
- TData
- The event data type 
- TInstance
- The instance type 
- T1
- T2
- T3
- T4
RaiseEvent<T, TInstance, T1, T2, T3, T4, T5, T6>(T, TInstance, Event, T1, T2, T3, T4, T5, T6, CancellationToken)
Raise a simple event on the state machine
public static Task RaiseEvent<T, TInstance, T1, T2, T3, T4, T5, T6>(this T machine, TInstance instance, Event @event, T1 context1, T2 context2, T3 context3, T4 context4, T5 context5, T6 context6, CancellationToken cancellationToken = default) where T : class, StateMachine, StateMachine<TInstance> where TInstance : class where T1 : class where T2 : class where T3 : class where T4 : class where T5 : class where T6 : classParameters
- machineT
- The state machine 
- instanceTInstance
- The state machine instance 
- eventEvent
- The event to raise 
- context1T1
- An additional context added to the event context 
- context2T2
- An additional context added to the event context 
- context3T3
- An additional context added to the event context 
- context4T4
- An additional context added to the event context 
- context5T5
- An additional context added to the event context 
- context6T6
- An additional context added to the event context 
- cancellationTokenCancellationToken
Returns
Type Parameters
- T
- The state machine type 
- TInstance
- The instance type 
- T1
- T2
- T3
- T4
- T5
- T6
RaiseEvent<T, TInstance, T1, T2, T3, T4, T5, T6>(T, TInstance, Func<T, Event>, T1, T2, T3, T4, T5, T6, CancellationToken)
Raise a simple event on the state machine
public static Task RaiseEvent<T, TInstance, T1, T2, T3, T4, T5, T6>(this T machine, TInstance instance, Func<T, Event> eventSelector, T1 context1, T2 context2, T3 context3, T4 context4, T5 context5, T6 context6, CancellationToken cancellationToken = default) where T : class, StateMachine, StateMachine<TInstance> where TInstance : class where T1 : class where T2 : class where T3 : class where T4 : class where T5 : class where T6 : classParameters
- machineT
- The state machine 
- instanceTInstance
- The state machine instance 
- eventSelectorFunc<T, Event>
- Selector to the event on the state machine 
- context1T1
- An additional context added to the event context 
- context2T2
- An additional context added to the event context 
- context3T3
- An additional context added to the event context 
- context4T4
- An additional context added to the event context 
- context5T5
- An additional context added to the event context 
- context6T6
- An additional context added to the event context 
- cancellationTokenCancellationToken
Returns
Type Parameters
- T
- The state machine type 
- TInstance
- The instance type 
- T1
- T2
- T3
- T4
- T5
- T6
RaiseEvent<T, TData, TInstance, T1, T2, T3, T4, T5>(T, TInstance, Event<TData>, TData, T1, T2, T3, T4, T5, CancellationToken)
Raise a data event on the state machine
public static Task RaiseEvent<T, TData, TInstance, T1, T2, T3, T4, T5>(this T machine, TInstance instance, Event<TData> @event, TData data, T1 context1, T2 context2, T3 context3, T4 context4, T5 context5, CancellationToken cancellationToken = default) where T : class, StateMachine, StateMachine<TInstance> where TInstance : class where T1 : class where T2 : class where T3 : class where T4 : class where T5 : classParameters
- machineT
- The state machine 
- instanceTInstance
- The state machine instance 
- eventEvent<TData>
- The event to raise 
- dataTData
- The event data 
- context1T1
- An additional context added to the event context 
- context2T2
- An additional context added to the event context 
- context3T3
- An additional context added to the event context 
- context4T4
- An additional context added to the event context 
- context5T5
- An additional context added to the event context 
- cancellationTokenCancellationToken
Returns
Type Parameters
- T
- The state machine type 
- TData
- The event data type 
- TInstance
- The instance type 
- T1
- T2
- T3
- T4
- T5
RaiseEvent<T, TData, TInstance, T1, T2, T3, T4, T5>(T, TInstance, Func<T, Event<TData>>, TData, T1, T2, T3, T4, T5, CancellationToken)
Raise a data event on the state machine
public static Task RaiseEvent<T, TData, TInstance, T1, T2, T3, T4, T5>(this T machine, TInstance instance, Func<T, Event<TData>> eventSelector, TData data, T1 context1, T2 context2, T3 context3, T4 context4, T5 context5, CancellationToken cancellationToken = default) where T : class, StateMachine, StateMachine<TInstance> where TInstance : class where T1 : class where T2 : class where T3 : class where T4 : class where T5 : classParameters
- machineT
- The state machine 
- instanceTInstance
- The state machine instance 
- eventSelectorFunc<T, Event<TData>>
- Selector to the event on the state machine 
- dataTData
- The event data 
- context1T1
- An additional context added to the event context 
- context2T2
- An additional context added to the event context 
- context3T3
- An additional context added to the event context 
- context4T4
- An additional context added to the event context 
- context5T5
- An additional context added to the event context 
- cancellationTokenCancellationToken
Returns
Type Parameters
- T
- The state machine type 
- TData
- The event data type 
- TInstance
- The instance type 
- T1
- T2
- T3
- T4
- T5
RaiseEvent<T, TInstance, T1, T2, T3, T4, T5, T6, T7>(T, TInstance, Event, T1, T2, T3, T4, T5, T6, T7, CancellationToken)
Raise a simple event on the state machine
public static Task RaiseEvent<T, TInstance, T1, T2, T3, T4, T5, T6, T7>(this T machine, TInstance instance, Event @event, T1 context1, T2 context2, T3 context3, T4 context4, T5 context5, T6 context6, T7 context7, CancellationToken cancellationToken = default) where T : class, StateMachine, StateMachine<TInstance> where TInstance : class where T1 : class where T2 : class where T3 : class where T4 : class where T5 : class where T6 : class where T7 : classParameters
- machineT
- The state machine 
- instanceTInstance
- The state machine instance 
- eventEvent
- The event to raise 
- context1T1
- An additional context added to the event context 
- context2T2
- An additional context added to the event context 
- context3T3
- An additional context added to the event context 
- context4T4
- An additional context added to the event context 
- context5T5
- An additional context added to the event context 
- context6T6
- An additional context added to the event context 
- context7T7
- An additional context added to the event context 
- cancellationTokenCancellationToken
Returns
Type Parameters
- T
- The state machine type 
- TInstance
- The instance type 
- T1
- T2
- T3
- T4
- T5
- T6
- T7
RaiseEvent<T, TInstance, T1, T2, T3, T4, T5, T6, T7>(T, TInstance, Func<T, Event>, T1, T2, T3, T4, T5, T6, T7, CancellationToken)
Raise a simple event on the state machine
public static Task RaiseEvent<T, TInstance, T1, T2, T3, T4, T5, T6, T7>(this T machine, TInstance instance, Func<T, Event> eventSelector, T1 context1, T2 context2, T3 context3, T4 context4, T5 context5, T6 context6, T7 context7, CancellationToken cancellationToken = default) where T : class, StateMachine, StateMachine<TInstance> where TInstance : class where T1 : class where T2 : class where T3 : class where T4 : class where T5 : class where T6 : class where T7 : classParameters
- machineT
- The state machine 
- instanceTInstance
- The state machine instance 
- eventSelectorFunc<T, Event>
- Selector to the event on the state machine 
- context1T1
- An additional context added to the event context 
- context2T2
- An additional context added to the event context 
- context3T3
- An additional context added to the event context 
- context4T4
- An additional context added to the event context 
- context5T5
- An additional context added to the event context 
- context6T6
- An additional context added to the event context 
- context7T7
- An additional context added to the event context 
- cancellationTokenCancellationToken
Returns
Type Parameters
- T
- The state machine type 
- TInstance
- The instance type 
- T1
- T2
- T3
- T4
- T5
- T6
- T7
RaiseEvent<T, TData, TInstance, T1, T2, T3, T4, T5, T6>(T, TInstance, Event<TData>, TData, T1, T2, T3, T4, T5, T6, CancellationToken)
Raise a data event on the state machine
public static Task RaiseEvent<T, TData, TInstance, T1, T2, T3, T4, T5, T6>(this T machine, TInstance instance, Event<TData> @event, TData data, T1 context1, T2 context2, T3 context3, T4 context4, T5 context5, T6 context6, CancellationToken cancellationToken = default) where T : class, StateMachine, StateMachine<TInstance> where TInstance : class where T1 : class where T2 : class where T3 : class where T4 : class where T5 : class where T6 : classParameters
- machineT
- The state machine 
- instanceTInstance
- The state machine instance 
- eventEvent<TData>
- The event to raise 
- dataTData
- The event data 
- context1T1
- An additional context added to the event context 
- context2T2
- An additional context added to the event context 
- context3T3
- An additional context added to the event context 
- context4T4
- An additional context added to the event context 
- context5T5
- An additional context added to the event context 
- context6T6
- An additional context added to the event context 
- cancellationTokenCancellationToken
Returns
Type Parameters
- T
- The state machine type 
- TData
- The event data type 
- TInstance
- The instance type 
- T1
- T2
- T3
- T4
- T5
- T6
RaiseEvent<T, TData, TInstance, T1, T2, T3, T4, T5, T6>(T, TInstance, Func<T, Event<TData>>, TData, T1, T2, T3, T4, T5, T6, CancellationToken)
Raise a data event on the state machine
public static Task RaiseEvent<T, TData, TInstance, T1, T2, T3, T4, T5, T6>(this T machine, TInstance instance, Func<T, Event<TData>> eventSelector, TData data, T1 context1, T2 context2, T3 context3, T4 context4, T5 context5, T6 context6, CancellationToken cancellationToken = default) where T : class, StateMachine, StateMachine<TInstance> where TInstance : class where T1 : class where T2 : class where T3 : class where T4 : class where T5 : class where T6 : classParameters
- machineT
- The state machine 
- instanceTInstance
- The state machine instance 
- eventSelectorFunc<T, Event<TData>>
- Selector to the event on the state machine 
- dataTData
- The event data 
- context1T1
- An additional context added to the event context 
- context2T2
- An additional context added to the event context 
- context3T3
- An additional context added to the event context 
- context4T4
- An additional context added to the event context 
- context5T5
- An additional context added to the event context 
- context6T6
- An additional context added to the event context 
- cancellationTokenCancellationToken
Returns
Type Parameters
- T
- The state machine type 
- TData
- The event data type 
- TInstance
- The instance type 
- T1
- T2
- T3
- T4
- T5
- T6