Raises Method

Moq

Collapse imageExpand ImageCopy imageCopyHover image

Overload List

  NameDescription
Public methodRaises(Action<(Of <<'(T>)>>), EventArgs)
Specifies the event that will be raised when the setup is met.
Public methodRaises(Action<(Of <<'(T>)>>), Func<(Of <(<'TResult>)>)>)
Public methodRaises<(Of <<'(T1, T2, T3, T4, T5, T6, T7, T8, T9>)>>)(Action<(Of <<'(T>)>>), Func<(Of <<'(T1, T2, T3, T4, T5, T6, T7, T8, T9, EventArgs>)>>))
Specifies the event that will be raised when the setup is matched.
Public methodRaises<(Of <<'(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>)>>)(Action<(Of <<'(T>)>>), Func<(Of <<'(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, EventArgs>)>>))
Specifies the event that will be raised when the setup is matched.
Public methodRaises<(Of <<'(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>)>>)(Action<(Of <<'(T>)>>), Func<(Of <<'(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, EventArgs>)>>))
Specifies the event that will be raised when the setup is matched.
Public methodRaises<(Of <<'(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>)>>)(Action<(Of <<'(T>)>>), Func<(Of <<'(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, EventArgs>)>>))
Specifies the event that will be raised when the setup is matched.
Public methodRaises<(Of <<'(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>)>>)(Action<(Of <<'(T>)>>), Func<(Of <<'(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, EventArgs>)>>))
Specifies the event that will be raised when the setup is matched.
Public methodRaises<(Of <<'(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>)>>)(Action<(Of <<'(T>)>>), Func<(Of <<'(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, EventArgs>)>>))
Specifies the event that will be raised when the setup is matched.
Public methodRaises<(Of <<'(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>)>>)(Action<(Of <<'(T>)>>), Func<(Of <<'(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, EventArgs>)>>))
Specifies the event that will be raised when the setup is matched.
Public methodRaises<(Of <<'(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>)>>)(Action<(Of <<'(T>)>>), Func<(Of <<'(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, EventArgs>)>>))
Specifies the event that will be raised when the setup is matched.
Public methodRaises<(Of <<'(T1>)>>)(Action<(Of <<'(T>)>>), Func<(Of <(<'T, TResult>)>)>)
Public methodRaises<(Of <<'(T1, T2>)>>)(Action<(Of <<'(T>)>>), Func<(Of <(<'T1, T2, TResult>)>)>)
Public methodRaises<(Of <<'(T1, T2, T3>)>>)(Action<(Of <<'(T>)>>), Func<(Of <(<'T1, T2, T3, TResult>)>)>)
Public methodRaises<(Of <<'(T1, T2, T3, T4>)>>)(Action<(Of <<'(T>)>>), Func<(Of <(<'T1, T2, T3, T4, TResult>)>)>)
Public methodRaises<(Of <<'(T1, T2, T3, T4, T5>)>>)(Action<(Of <<'(T>)>>), Func<(Of <(<'T1, T2, T3, T4, T5, TResult>)>)>)
Public methodRaises<(Of <<'(T1, T2, T3, T4, T5, T6>)>>)(Action<(Of <<'(T>)>>), Func<(Of <(<'T1, T2, T3, T4, T5, T6, TResult>)>)>)
Public methodRaises<(Of <<'(T1, T2, T3, T4, T5, T6, T7>)>>)(Action<(Of <<'(T>)>>), Func<(Of <(<'T1, T2, T3, T4, T5, T6, T7, TResult>)>)>)
Public methodRaises<(Of <<'(T1, T2, T3, T4, T5, T6, T7, T8>)>>)(Action<(Of <<'(T>)>>), Func<(Of <(<'T1, T2, T3, T4, T5, T6, T7, T8, TResult>)>)>)
Public methodRaises(Action<(Of <<'(T>)>>), array<Object>[]()[][])
Specifies the custom event that will be raised when the setup is matched.

See Also