Class LocalAppConfig
Configuration for host-related settings.
public class LocalAppConfig
- Inheritance
-
LocalAppConfig
- Inherited Members
- Extension Methods
Constructors
LocalAppConfig()
Initializes a new instance.
public LocalAppConfig()
LocalAppConfig(XElement, string)
Initializes a new instance of the LocalAppConfig class from XML data.
public LocalAppConfig(XElement src, string baseDirectory)
Parameters
srcXElementXML element containing configuration data
baseDirectorystringBase directory for resolving relative paths
Properties
CacheDbPath
Gets or sets the cache database path.
public string CacheDbPath { get; set; }
Property Value
MongoPort
Gets or sets the MongoDB port number.
public int MongoPort { get; set; }
Property Value
XName
Name for XML IO.
public static string XName { get; }
Property Value
Methods
MakeXmlSource(string, string)
public XElement MakeXmlSource(string baseDirectory, string relFile)