Table of Contents

Class FakeArgumentMatcher

Namespace
RDCore.SDK.Platform.Protocol
Assembly
RDCore.SDK.Protocol.dll

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

Index int

The parameter's zero-based index in the member's declared parameter list.

Match FakeMatch

How the argument is compared.

Value RunValue

The value compared against: the value for Equals, the pattern for Like, the lower bound for Range. null for Any.

Upper RunValue

The upper bound for Range; null otherwise.

Properties

Index

The parameter's zero-based index in the member's declared parameter list.

public int Index { get; init; }

Property Value

int

Match

How the argument is compared.

public FakeMatch Match { get; init; }

Property Value

FakeMatch

Upper

The upper bound for Range; null otherwise.

public RunValue? Upper { get; init; }

Property Value

RunValue

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; }

Property Value

RunValue