Moq |
IRaise<(Of <(<'T>)>)>..::..Raises<(Of <(<'T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>)>)> Method (Action<(Of <(<'T>)>)>, Func<(Of <(<'T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, EventArgs>)>)>) |
IRaise<(Of <(<'T>)>)> Interface See Also Send Feedback |
Specifies the event that will be raised when the setup is matched.
Namespace: Moq.Language
Assembly: Moq (in Moq.dll) Version: 4.0.10827.0 (4.0.0.0)
Syntax
C# |
---|
IVerifies Raises<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>( Action<T> eventExpression, Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, EventArgs> func ) |
Parameters
- eventExpression
- Type: System..::..Action<(Of <(<'T>)>)>
The expression that represents an event attach or detach action.
- func
- Type: System..::..Func<(Of <(<'T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, EventArgs>)>)>
The function that will build the EventArgs to pass when raising the event.
Type Parameters
- T1
- The type of the first argument received by the expected invocation.
- T2
- The type of the second argument received by the expected invocation.
- T3
- The type of the third argument received by the expected invocation.
- T4
- The type of the fourth argument received by the expected invocation.
- T5
- The type of the fifth argument received by the expected invocation.
- T6
- The type of the sixth argument received by the expected invocation.
- T7
- The type of the seventh argument received by the expected invocation.
- T8
- The type of the eighth argument received by the expected invocation.
- T9
- The type of the nineth argument received by the expected invocation.
- T10
- The type of the tenth argument received by the expected invocation.
- T11
- The type of the eleventh argument received by the expected invocation.
- T12
- The type of the twelfth argument received by the expected invocation.
- T13
- The type of the thirteenth argument received by the expected invocation.