Table of Contents

Class UnixSoftwarePackage

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

Represents a single software package installed on a Unix machine.

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

Constructors

UnixSoftwarePackage()

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

public UnixSoftwarePackage()

Properties

InstallationDate

Gets or sets the date the software package was installed or last updated.

public DateTime InstallationDate { get; set; }

Property Value

DateTime

Name

Gets or sets the name of the software package - for example "dmraid-1.0.0.rc16-15.fc15".

public string Name { get; set; }

Property Value

string

PackageType

Gets or sets the type of software pacakge.

public UnixSoftwarePackageType PackageType { get; set; }

Property Value

UnixSoftwarePackageType

PackageTypeString

Gets the type of software pacakge as a human readable string.

public string PackageTypeString { get; set; }

Property Value

string

Methods

CompareTo(UnixSoftwarePackage)

Compares two CENTREL.XIA.Configuration.Types.UnixSoftwarePackage objects to allow sorting alphabetically by package name.

public int CompareTo(UnixSoftwarePackage other)

Parameters

other UnixSoftwarePackage

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

Returns

int

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