Interface ITypeMatcher
- Namespace
- Moq
- Assembly
- Moq.dll
Types that implement this interface represent a criterion against which generic type arguments are matched.
To be used in combination with TypeMatcherAttribute.
public interface ITypeMatcher
Methods
Matches(Type)
Matches the provided type argument against the criterion represented by this type matcher.
bool Matches(Type typeArgument)
Parameters
typeArgumentTypeThe generic type argument that should be matched.