Class UnixSoftwarePackages
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Represents the software packages installed on a Unix system.
public class UnixSoftwarePackages : BypassSection
- Inheritance
-
UnixSoftwarePackages
- Inherited Members
Constructors
UnixSoftwarePackages()
Initializes a new instance of the CENTREL.XIA.Configuration.Types.UnixSoftwarePackages class.
public UnixSoftwarePackages()
Properties
Items
Gets or sets the items within the collection.
public UnixSoftwarePackageCollection Items { get; set; }
Property Value
Methods
FindByName(string)
Returns the software package with the specified name.
public UnixSoftwarePackage FindByName(string name)
Parameters
name
stringThe unique name of the software package.
Returns
- UnixSoftwarePackage
The software package with the specified name, or null if no package with that name is found.
FromXml(string)
Returns the CENTREL.XIA.Configuration.Types.UnixSoftwarePackages from the specified XML data.
public static UnixSoftwarePackages FromXml(string xml)
Parameters
xml
stringThe XML representation of the Unix software packages.
Returns
- UnixSoftwarePackages
A CENTREL.XIA.Configuration.Types.UnixSoftwarePackages from the specified XML.
ToString()
Returns the Unix software packages object as a human readable string - for example "10 Software Packages".
public override string ToString()
Returns
- string
The Unix software packages object as a human readable string.