Class FakeArgumentMatcher
What one argument of a call must be for a FakeRow to match it.
public sealed record FakeArgumentMatcher : IEquatable<FakeArgumentMatcher>
- Inheritance
-
FakeArgumentMatcher
- Implements
- Inherited Members
Constructors
FakeArgumentMatcher(int, FakeMatch, RunValue?, RunValue?)
What one argument of a call must be for a FakeRow to match it.
public FakeArgumentMatcher(int Index, FakeMatch Match, RunValue? Value = null, RunValue? Upper = null)
Parameters
IndexintThe parameter's zero-based index in the member's declared parameter list.
MatchFakeMatchHow the argument is compared.
ValueRunValueThe value compared against: the value for Equals, the pattern for Like, the lower bound for Range. null for Any.
UpperRunValue
Properties
Index
The parameter's zero-based index in the member's declared parameter list.
public int Index { get; init; }
Property Value
Match
How the argument is compared.
public FakeMatch Match { get; init; }
Property Value
Upper
public RunValue? Upper { get; init; }
Property Value
Value
The value compared against: the value for Equals, the pattern for Like, the lower bound for Range. null for Any.
public RunValue? Value { get; init; }