C# Class IrcShark.Settings

Inheritance: IXmlSerializable
Exibir arquivo Open project: hapm/IrcShark Class Usage Examples

Private Properties

Property Type Description
ReadConfiguration void
ReadDirectoryList void
ReadLibraryDirectory void
ReadLoadedExtensions void
ReadLoggingSettings void
WriteDirectoryList void
WriteLoadedExtensions void
WriteLoggingSettings void

Public Methods

Method Description
GetSchema ( ) : XmlSchema
ReadXml ( XmlReader reader ) : void

Reads the complete instance from an XmlReader.

Settings ( ) : System

Initializes a new instance of the Settings class.

WriteXml ( XmlWriter writer ) : void

Serializes the Settings to xml.

Private Methods

Method Description
ReadConfiguration ( XmlReader reader ) : void

Reads the configuration form an XmlReader.

ReadDirectoryList ( XmlReader reader, DirectoryCollection dirs ) : void

Reads a list of directorys.

ReadLibraryDirectory ( XmlReader reader ) : void

Read the configuread library directory.

ReadLoadedExtensions ( XmlReader reader ) : void

Reads the list of loaded extensions.

ReadLoggingSettings ( XmlReader reader ) : void

Reads the logging settings.

WriteDirectoryList ( XmlWriter writer, string tag, DirectoryCollection dirs ) : void
WriteLoadedExtensions ( XmlWriter writer, ExtensionInfo loaded ) : void
WriteLoggingSettings ( XmlWriter writer, LogHandlerSetting settings ) : void

Writes the logging settings to the XmlWriter.

Method Details

GetSchema() public method

public GetSchema ( ) : XmlSchema
return System.Xml.Schema.XmlSchema

ReadXml() public method

Reads the complete instance from an XmlReader.
public ReadXml ( XmlReader reader ) : void
reader System.Xml.XmlReader The reader to read from.
return void

Settings() public method

Initializes a new instance of the Settings class.
public Settings ( ) : System
return System

WriteXml() public method

Serializes the Settings to xml.
public WriteXml ( XmlWriter writer ) : void
writer System.Xml.XmlWriter The writer to write the settings to.
return void