C# Class Service.Settings

Mostrar archivo Open project: vf1/turnserver Class Usage Examples

Public Methods

Method Description
Load ( ) : void
Reset ( ) : void
Save ( ) : void
Settings ( string pathName ) : System

Protected Methods

Method Description
GetSetting ( XmlDocument doc, string name, IPAddress defaultValue ) : IPAddress
GetSetting ( XmlDocument doc, string name, byte defaultValue ) : byte[]
GetSetting ( XmlDocument doc, string name, int defaultValue ) : int
GetSetting ( XmlDocument doc, string name, string defaultValue ) : string
Load ( XmlDocument doc ) : void
SelectSingleNode ( XmlDocument doc, string name ) : XmlNode

Method Details

GetSetting() protected static method

protected static GetSetting ( XmlDocument doc, string name, IPAddress defaultValue ) : IPAddress
doc System.Xml.XmlDocument
name string
defaultValue System.Net.IPAddress
return System.Net.IPAddress

GetSetting() protected static method

protected static GetSetting ( XmlDocument doc, string name, byte defaultValue ) : byte[]
doc System.Xml.XmlDocument
name string
defaultValue byte
return byte[]

GetSetting() protected static method

protected static GetSetting ( XmlDocument doc, string name, int defaultValue ) : int
doc System.Xml.XmlDocument
name string
defaultValue int
return int

GetSetting() protected static method

protected static GetSetting ( XmlDocument doc, string name, string defaultValue ) : string
doc System.Xml.XmlDocument
name string
defaultValue string
return string

Load() public method

public Load ( ) : void
return void

Load() protected method

protected Load ( XmlDocument doc ) : void
doc System.Xml.XmlDocument
return void

Reset() public method

public Reset ( ) : void
return void

Save() public method

public Save ( ) : void
return void

SelectSingleNode() protected static method

protected static SelectSingleNode ( XmlDocument doc, string name ) : XmlNode
doc System.Xml.XmlDocument
name string
return System.Xml.XmlNode

Settings() public method

public Settings ( string pathName ) : System
pathName string
return System