Class NetworkSwitchCommandOutputCollection
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Represents a collection of network switch command outputs.
public class NetworkSwitchCommandOutputCollection : Collection<NetworkSwitchCommandOutput>, IList<NetworkSwitchCommandOutput>, ICollection<NetworkSwitchCommandOutput>, IList, ICollection, IReadOnlyList<NetworkSwitchCommandOutput>, IReadOnlyCollection<NetworkSwitchCommandOutput>, IEnumerable<NetworkSwitchCommandOutput>, IEnumerable
- Inheritance
-
NetworkSwitchCommandOutputCollection
- Implements
- Inherited Members
Constructors
NetworkSwitchCommandOutputCollection()
Initializes a new instance of the CENTREL.XIA.Configuration.Types.NetworkSwitchCommandOutputCollection class.
public NetworkSwitchCommandOutputCollection()
Methods
Add(string, string, Guid, string)
Adds a new CENTREL.XIA.Configuration.Types.NetworkSwitchCommandOutput to the collection.
public NetworkSwitchCommandOutput Add(string commandText, string displayName, Guid identifier, string outputText)
Parameters
commandTextstringThe command that was executed.
displayNamestringThe display name of the command output.
identifierGuidThe unique identifier in GUID format.
outputTextstringThe output text from the command.
Returns
- NetworkSwitchCommandOutput
The CENTREL.XIA.Configuration.Types.NetworkSwitchCommandOutput that was added to the collection.
FindByIdentifier(Guid)
Returns the CENTREL.XIA.Configuration.Types.NetworkSwitchCommandOutput with the specified identifier, or null if no CENTREL.XIA.Configuration.Types.NetworkSwitchCommandOutput with that identifier is found.
public NetworkSwitchCommandOutput FindByIdentifier(Guid identifier)
Parameters
identifierGuidThe identifier of the CENTREL.XIA.Configuration.Types.NetworkSwitchCommandOutput to locate.
Returns
- NetworkSwitchCommandOutput
The CENTREL.XIA.Configuration.Types.NetworkSwitchCommandOutput with the specified identifier.
Sort()
Sorts the values in the collection.
public void Sort()