Table of Contents

Class FakeInteractiveFrame

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

A frame received from the client on an interactive exec session.

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

Constructors

FakeInteractiveFrame(string, FakeInteractiveFrameKind, ReadOnlyMemory<byte>, uint, uint)

A frame received from the client on an interactive exec session.

public FakeInteractiveFrame(string Sandbox, FakeInteractiveFrameKind Kind, ReadOnlyMemory<byte> Data = default, uint Columns = 0, uint Rows = 0)

Parameters

Sandbox string

The sandbox name.

Kind FakeInteractiveFrameKind

What the frame carries.

Data ReadOnlyMemory<byte>

Standard input bytes for Stdin.

Columns uint

Terminal columns for start and resize frames.

Rows uint

Terminal rows for start and resize frames.

Properties

Columns

Terminal columns for start and resize frames.

public uint Columns { get; init; }

Property Value

uint

Data

Standard input bytes for Stdin.

public ReadOnlyMemory<byte> Data { get; init; }

Property Value

ReadOnlyMemory<byte>

Kind

What the frame carries.

public FakeInteractiveFrameKind Kind { get; init; }

Property Value

FakeInteractiveFrameKind

Rows

Terminal rows for start and resize frames.

public uint Rows { get; init; }

Property Value

uint

Sandbox

The sandbox name.

public string Sandbox { get; init; }

Property Value

string