ICallback(TMock, TResult) Members

Moq

Collapse imageExpand ImageCopy imageCopyHover image

Methods

  NameDescription
Public methodCallback(Action)
Specifies a callback to invoke when the method is called.
Public methodCallback<(Of <<'(T>)>>)(Action<(Of <<'(T>)>>))
Specifies a callback to invoke when the method is called that receives the original arguments.
Public methodCallback<(Of <<'(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>)>>)(Action<(Of <<'(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>)>>))
Specifies a callback to invoke when the method is called that receives the original arguments.
Public methodCallback<(Of <<'(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>)>>)(Action<(Of <<'(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>)>>))
Specifies a callback to invoke when the method is called that receives the original arguments.
Public methodCallback<(Of <<'(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>)>>)(Action<(Of <<'(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>)>>))
Specifies a callback to invoke when the method is called that receives the original arguments.
Public methodCallback<(Of <<'(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>)>>)(Action<(Of <<'(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>)>>))
Specifies a callback to invoke when the method is called that receives the original arguments.
Public methodCallback<(Of <<'(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>)>>)(Action<(Of <<'(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>)>>))
Specifies a callback to invoke when the method is called that receives the original arguments.
Public methodCallback<(Of <<'(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>)>>)(Action<(Of <<'(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>)>>))
Specifies a callback to invoke when the method is called that receives the original arguments.
Public methodCallback<(Of <<'(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>)>>)(Action<(Of <<'(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>)>>))
Specifies a callback to invoke when the method is called that receives the original arguments.
Public methodCallback<(Of <<'(T1, T2>)>>)(Action<(Of <(<'T1, T2>)>)>)
Public methodCallback<(Of <<'(T1, T2, T3>)>>)(Action<(Of <(<'T1, T2, T3>)>)>)
Public methodCallback<(Of <<'(T1, T2, T3, T4>)>>)(Action<(Of <(<'T1, T2, T3, T4>)>)>)
Public methodCallback<(Of <<'(T1, T2, T3, T4, T5>)>>)(Action<(Of <(<'T1, T2, T3, T4, T5>)>)>)
Public methodCallback<(Of <<'(T1, T2, T3, T4, T5, T6>)>>)(Action<(Of <(<'T1, T2, T3, T4, T5, T6>)>)>)
Public methodCallback<(Of <<'(T1, T2, T3, T4, T5, T6, T7>)>>)(Action<(Of <(<'T1, T2, T3, T4, T5, T6, T7>)>)>)
Public methodCallback<(Of <<'(T1, T2, T3, T4, T5, T6, T7, T8>)>>)(Action<(Of <(<'T1, T2, T3, T4, T5, T6, T7, T8>)>)>)
Public methodCallback<(Of <<'(T1, T2, T3, T4, T5, T6, T7, T8, T9>)>>)(Action<(Of <<'(T1, T2, T3, T4, T5, T6, T7, T8, T9>)>>))
Specifies a callback to invoke when the method is called that receives the original arguments.

See Also