Class UnixFile
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Represents a file found on a Unix machine.
public class UnixFile : GlobalSerializableClassicBase, IComparable<UnixFile>
- Inheritance
-
UnixFile
- Implements
Constructors
UnixFile()
Initializes a new instance of the CENTREL.XIA.Configuration.Types.UnixFile class.
public UnixFile()
Properties
DisplayName
Gets or sets the display name of the file - for example "SNMP Configuration File".
public string DisplayName { get; set; }
Property Value
FileContents
Gets or sets the contents of the Unix file, this stores the file using Windows style CRLF rather than Unix style LF.
public string FileContents { get; set; }
Property Value
Information
Gets or sets the information such as user and group ownership for this file.
public UnixFileInformation Information { get; set; }
Property Value
Located
Gets or sets whether this file was located on the remote system.
public BooleanOption Located { get; set; }
Property Value
SearchLocations
Gets or sets the search locations for the file.
public SerializableStringCollection SearchLocations { get; set; }
Property Value
- SerializableStringCollection
Methods
CompareTo(UnixFile)
Compares two CENTREL.XIA.Configuration.Types objects to allow alphabetical sorting.
public int CompareTo(UnixFile other)
Parameters
other
UnixFileThe CENTREL.XIA.Configuration.Types to compare to.
Returns
- int
The sort order of the two CENTREL.XIA.Configuration.Types objects.
ToString()
Returns the display name of this Unix file.
public override string ToString()
Returns
- string
The display name of this Unix file.