Table of Contents

Class UnixFiles

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

Represents a collection of files found on a Unix system.

public class UnixFiles : BaseTypeSection
Inheritance
UnixFiles

Constructors

UnixFiles()

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

public UnixFiles()

Properties

Items

Gets or sets the items within the collection.

public UnixFileCollection Items { get; set; }

Property Value

UnixFileCollection

Methods

FindByName(string)

Returns the Unix file with the specified display name.

public UnixFile FindByName(string name)

Parameters

name string

The display name of the file - for example "SNMP configuration file".

Returns

UnixFile

The Unix file the specified name, or null if no file with that name is found.

FindLocatedFiles()

Gets the items in the collection only where the file has been located.

public UnixFileCollection FindLocatedFiles()

Returns

UnixFileCollection

A CENTREL.XIA.Configuration.Types.UnixFileCollection containing the located files.

FromXml(string)

Returns a CENTREL.XIA.Configuration.Types.UnixFiles class from the specified XML.

public static UnixFiles FromXml(string xml)

Parameters

xml string

The XML representation of the object.

Returns

UnixFiles

A CENTREL.XIA.Configuration.Types.UnixFiles class.

ToString()

Returns the Unix files as a human readable string - for example "10 Files".

public override string ToString()

Returns

string

The Unix files as a human readable string - for example "10 Files".