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
DisplayName
Gets or sets the display name of the command output.
public string DisplayName { get; set; }
Property Value
Identifier
Gets or sets the unique identifier of this command output.
public Guid Identifier { get; set; }
Property Value
OutputText
Gets or sets the output text returned from the command.
public string OutputText { get; set; }
Property Value
Methods
CompareTo(NetworkSwitchCommandOutput)
Compares two CENTREL.XIA.Configuration.Types.NetworkSwitchCommandOutput objects to allow sorting by display name.
public int CompareTo(NetworkSwitchCommandOutput other)
Parameters
other
NetworkSwitchCommandOutputThe 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.