Table of Contents

Class PiaResults

Namespace
Cmpnnt.Pia.Ctl.Lib.Results
Assembly
Cmpnnt.Pia.Ctl.dll

Contains standard out, standard error and the status of the operation.

public record PiaResults : ICliResults, IEquatable<PiaResults>
Inheritance
PiaResults
Implements
Inherited Members

Properties

StandardErrorResults

Represents the standard error results.

public List<string> StandardErrorResults { get; set; }

Property Value

List<string>

StandardOutputResults

Represents the standard output results.

public List<string> StandardOutputResults { get; set; }

Property Value

List<string>

Status

Represents the status of the completed PIA command.

[JsonConverter(typeof(JsonStringEnumConverter<Status>))]
public Status Status { get; set; }

Property Value

Status

Methods

ToString()

Returns a JSON-formatted string containing the StandardOutputResults, StandardErrorResults and Status

public override string ToString()

Returns

string