Defines the Callback verb and overloads for callbacks on
setups that return a value.
Namespace: Moq.Language
Assembly: Moq (in Moq.dll) Version: 4.0.10827.0 (4.0.0.0)
Syntax
C# |
---|
public interface ICallback<TMock, TResult> : IHideObjectMembers where TMock : class |
Type Parameters
- TMock
- Mocked type.
- TResult
- Type of the return value of the setup.