Class HostConfig
Configuration for host-related settings.
public class HostConfig
- Inheritance
-
HostConfig
- Inherited Members
- Extension Methods
Constructors
HostConfig()
Initializes a new instance of the HostConfig class.
public HostConfig()
HostConfig(XElement, string)
Initializes a new instance of the HostConfig class from XML data.
public HostConfig(XElement src, string baseDirectory)
Parameters
src
XElementXML element containing configuration data
baseDirectory
stringBase directory for resolving relative paths
Properties
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)