







![]() |
Moq |
Mock<(Of <(T>)>)..::.As<(Of <(TInterface>)>) Method |
Mock<(Of <(T>)>) Class See Also Send Feedback |
Implements As<(Of <(TInterface>)>)()()().
Namespace:
Moq
Assembly:
Moq (in Moq.dll) Version: 2.6.1014.1 (2.6.0.0)
Syntax
C# |
---|
public virtual IMock<TInterface> As<TInterface>() where TInterface : class |
Type Parameters
- TInterface
- Type of interface to cast the mock to.