Class AArityEventHandlerSensor
Base Class for event sensors that can handle events with varying arity (number of parameters).
Inheritance
AArityEventHandlerSensor
Assembly: Xareus.Scenarios.Extra.dll
Syntax
public abstract class AArityEventHandlerSensor : AEventSensorBase
Methods
GetHandlerMethod(MethodInfo)
Declaration
protected MethodInfo GetHandlerMethod(MethodInfo invokedMethod)
Parameters
Returns
GetHandlerMethod(Type[])
Declaration
public MethodInfo GetHandlerMethod(Type[] parameterTypes)
Parameters
| Type |
Name |
Description |
| Type[] |
parameterTypes |
|
Returns
OnEvent0()
Declaration
protected void OnEvent0()
OnEvent1<T0>(T0)
Declaration
protected void OnEvent1<T0>(T0 a0)
Parameters
| Type |
Name |
Description |
| T0 |
a0 |
|
Type Parameters
OnEvent2<T0, T1>(T0, T1)
Declaration
protected void OnEvent2<T0, T1>(T0 a0, T1 a1)
Parameters
| Type |
Name |
Description |
| T0 |
a0 |
|
| T1 |
a1 |
|
Type Parameters
OnEvent3<T0, T1, T2>(T0, T1, T2)
Declaration
protected void OnEvent3<T0, T1, T2>(T0 a0, T1 a1, T2 a2)
Parameters
| Type |
Name |
Description |
| T0 |
a0 |
|
| T1 |
a1 |
|
| T2 |
a2 |
|
Type Parameters
| Name |
Description |
| T0 |
|
| T1 |
|
| T2 |
|
OnEvent4<T0, T1, T2, T3>(T0, T1, T2, T3)
Declaration
protected void OnEvent4<T0, T1, T2, T3>(T0 a0, T1 a1, T2 a2, T3 a3)
Parameters
| Type |
Name |
Description |
| T0 |
a0 |
|
| T1 |
a1 |
|
| T2 |
a2 |
|
| T3 |
a3 |
|
Type Parameters
| Name |
Description |
| T0 |
|
| T1 |
|
| T2 |
|
| T3 |
|