Mock(T) Class

Moq 2.6

Core implementation of the IMock<(Of <(T>)>) interface.

Namespace:  Moq
Assembly:  Moq (in Moq.dll) Version: 2.6.1014.1 (2.6.0.0)

Syntax

C#
public class Mock<T> : Mock, IMock<T>
where T : class

Type Parameters

T
Type to mock.

Inheritance Hierarchy

Object
  Moq..::.Mock
    Moq..::.Mock<(Of <(T>)>)

See Also