Table of Contents

Class FakeInvocationRecord

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

One call of a target a row of the fakes names: what a test verifies a call against.

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

Constructors

FakeInvocationRecord(string, int, IReadOnlyList<RunValue>, string, string, int, int, bool)

One call of a target a row of the fakes names: what a test verifies a call against.

public FakeInvocationRecord(string Target, int Ordinal, IReadOnlyList<RunValue> Arguments, string Module, string Procedure, int Line, int Character, bool Answered)

Parameters

Target string

The member called, as Target names it.

Ordinal int

The one-based ordinal of the call among the run's calls of Target.

Arguments IReadOnlyList<RunValue>

The arguments, in the member's declared parameter order; a missing optional argument is Empty with a null value.

Module string

The programmatic name of the module the call is written in.

Procedure string

The name of the procedure the call is written in.

Line int

The zero-based line of the call in the source of Module, or -1 when it has no location.

Character int

The zero-based character of the call within Line, or -1.

Answered bool

Whether a row answered the call (Return or Raise); false when it ran.

Properties

Answered

Whether a row answered the call (Return or Raise); false when it ran.

public bool Answered { get; init; }

Property Value

bool

Arguments

The arguments, in the member's declared parameter order; a missing optional argument is Empty with a null value.

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

Property Value

IReadOnlyList<RunValue>

Character

The zero-based character of the call within Line, or -1.

public int Character { get; init; }

Property Value

int

Line

The zero-based line of the call in the source of Module, or -1 when it has no location.

public int Line { get; init; }

Property Value

int

Module

The programmatic name of the module the call is written in.

public string Module { get; init; }

Property Value

string

Ordinal

The one-based ordinal of the call among the run's calls of Target.

public int Ordinal { get; init; }

Property Value

int

Procedure

The name of the procedure the call is written in.

public string Procedure { get; init; }

Property Value

string

Target

The member called, as Target names it.

public string Target { get; init; }

Property Value

string