Table of Contents

Class FakeRow

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

One fake: which calls of a target it matches, and what it does with them.

public sealed record FakeRow : IEquatable<FakeRow>
Inheritance
FakeRow
Implements
Inherited Members

Constructors

FakeRow(string, IReadOnlyList<FakeArgumentMatcher>, FakeInvocation, FakeAction)

One fake: which calls of a target it matches, and what it does with them.

public FakeRow(string Target, IReadOnlyList<FakeArgumentMatcher> Arguments, FakeInvocation When, FakeAction Action)

Parameters

Target string

The member, qualified by its library and module: VBA.Interaction.MsgBox. A call of it is recorded (FakeInvocationRecord) whatever the row does with it.

Arguments IReadOnlyList<FakeArgumentMatcher>

What the arguments must be, by parameter index. A parameter no matcher names matches any argument, and so does a row with no matchers.

When FakeInvocation

Which calls of Target the row matches: every one, or the nth.

Action FakeAction

What a call the row matches does.

Properties

Action

What a call the row matches does.

public FakeAction Action { get; init; }

Property Value

FakeAction

Arguments

What the arguments must be, by parameter index. A parameter no matcher names matches any argument, and so does a row with no matchers.

public IReadOnlyList<FakeArgumentMatcher> Arguments { get; init; }

Property Value

IReadOnlyList<FakeArgumentMatcher>

Target

The member, qualified by its library and module: VBA.Interaction.MsgBox. A call of it is recorded (FakeInvocationRecord) whatever the row does with it.

public string Target { get; init; }

Property Value

string

When

Which calls of Target the row matches: every one, or the nth.

public FakeInvocation When { get; init; }

Property Value

FakeInvocation