Table of Contents

Class FakeCall

Namespace
OpenShell.Testing
Assembly
OpenShell.Sdk.Testing.dll

One recorded call on a FakeGateway.

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

Constructors

FakeCall(int, string, string, string?)

One recorded call on a FakeGateway.

public FakeCall(int Sequence, string Operation, string Workspace, string? Target)

Parameters

Sequence int

Position in the call log, starting at 1.

Operation string

Operation name such as Sandboxes.Create.

Workspace string

The workspace the call ran in; empty for gateway-wide calls.

Target string

The primary resource name, when the call has one.

Properties

Operation

Operation name such as Sandboxes.Create.

public string Operation { get; init; }

Property Value

string

Sequence

Position in the call log, starting at 1.

public int Sequence { get; init; }

Property Value

int

Target

The primary resource name, when the call has one.

public string? Target { get; init; }

Property Value

string

Workspace

The workspace the call ran in; empty for gateway-wide calls.

public string Workspace { get; init; }

Property Value

string