Table of Contents

Class NetworkSwitchCommandOutput

Namespace
CENTREL.XIA.Configuration.Types
Assembly
CENTREL.XIA.Configuration.Types.dll

Represents an individual network switch command output.

public class NetworkSwitchCommandOutput : GlobalSerializableClassicBase, IComparable<NetworkSwitchCommandOutput>
Inheritance
NetworkSwitchCommandOutput
Implements

Constructors

NetworkSwitchCommandOutput()

Initializes a new instance of the CENTREL.XIA.Configuration.Types.NetworkSwitchCommandOutput class.

public NetworkSwitchCommandOutput()

Properties

CommandText

Gets or sets the command text that was executed - for example "show running-config".

public string CommandText { get; set; }

Property Value

string

DisplayName

Gets or sets the display name of the command output.

public string DisplayName { get; set; }

Property Value

string

Identifier

Gets or sets the unique identifier of this command output.

public Guid Identifier { get; set; }

Property Value

Guid

OutputText

Gets or sets the output text returned from the command.

public string OutputText { get; set; }

Property Value

string

Methods

CompareTo(NetworkSwitchCommandOutput)

Compares two CENTREL.XIA.Configuration.Types.NetworkSwitchCommandOutput objects to allow sorting by display name.

public int CompareTo(NetworkSwitchCommandOutput other)

Parameters

other NetworkSwitchCommandOutput

The CENTREL.XIA.Configuration.Types.NetworkSwitchCommandOutput to compare to.

Returns

int

The sort order of the two CENTREL.XIA.Configuration.Types.NetworkSwitchCommandOutput objects.

ToString()

Returns the display name of the network switch command output.

public override string ToString()

Returns

string

The display name of the network switch command output.