Class Match<T>
- Namespace
- Moq
- Assembly
- Moq.dll
Allows creating custom value matchers that can be used on setups and verification, completely replacing the built-in It class with your own argument matching rules.
public class Match<T> : Match, IEquatable<Match<T>>
Type Parameters
TType of the value to match.
- Inheritance
-
Match<T>
- Implements
-
IEquatable<Match<T>>
- Derived
- Inherited Members
Methods
Equals(Match<T>)
public bool Equals(Match<T> other)
Parameters
otherMatch<T>
Returns
Equals(object)
public override bool Equals(object obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()