Class It.IsAnyType
- Namespace
- Moq
- Assembly
- Moq.dll
A type matcher that matches any generic type argument.
If the generic type parameter is constrained to struct (C#) / Structure
(VB.NET), use It.IsValueType instead.
If the generic type parameter has more specific constraints, you can define your own type matcher inheriting from the type to which the type parameter is constrained. See TypeMatcherAttribute and ITypeMatcher.
[TypeMatcher]
public sealed class It.IsAnyType : ITypeMatcher
- Inheritance
-
It.IsAnyType
- Implements
- Inherited Members
Constructors
IsAnyType()
public IsAnyType()