Callback Method

Moq 2.6

Overload List

  NameDescription
Callback(Action)
Specifies a callback to invoke when the method is called.
Callback<(Of <(T>)>)(Action<(Of <(T>)>))
Specifies a callback to invoke when the method is called that receives the original arguments.
Callback<(Of <(T1, T2>)>)(Action<(Of <(T1, T2>)>))
Specifies a callback to invoke when the method is called that receives the original arguments.
Callback<(Of <(T1, T2, T3>)>)(Action<(Of <(T1, T2, T3>)>))
Specifies a callback to invoke when the method is called that receives the original arguments.
Callback<(Of <(T1, T2, T3, T4>)>)(Action<(Of <(T1, T2, T3, T4>)>))
Specifies a callback to invoke when the method is called that receives the original arguments.

See Also