WIP
DirectOutput framework for virtual pinball cabinets WIP
Go to:
Overview 
PinballX.Config Class Reference

Public Member Functions

string GetConfigXml ()
 Returns a serialized XML representation of the configuration. More...
 
void SaveConfigXmlFile (string FileName=null)
 Serializes the configuration to a XML file. More...
 

Static Public Member Functions

static Config GetConfigFromXmlFile (string FileName=null)
 Instanciates a config object from a cabinet configuration in a XML file. More...
 
static Config GetConfigFromXml (string ConfigXml)
 Instanciates a Cabinet object from a cabinet configuration in a XML string. More...
 

Properties

bool EnableLogging [get, set]
 
static string ConfigFileName [get]
 

Detailed Description

Definition at line 13 of file Config.cs.

Member Function Documentation

static Config PinballX.Config.GetConfigFromXml ( string  ConfigXml)
static

Instanciates a Cabinet object from a cabinet configuration in a XML string.

Parameters
ConfigXmlXML string
Returns
Cabinet object

Definition at line 119 of file Config.cs.

static Config PinballX.Config.GetConfigFromXmlFile ( string  FileName = null)
static

Instanciates a config object from a cabinet configuration in a XML file.

Parameters
FileNameName of the XML file or null to use the default config filename.
Returns
Config object

Definition at line 92 of file Config.cs.

string PinballX.Config.GetConfigXml ( )

Returns a serialized XML representation of the configuration.

Returns
XMLString

Definition at line 38 of file Config.cs.

void PinballX.Config.SaveConfigXmlFile ( string  FileName = null)

Serializes the configuration to a XML file.

Parameters
FileNameName of the XML file or null to use the default config filename.

Definition at line 60 of file Config.cs.

Property Documentation

string PinballX.Config.ConfigFileName
staticget

Definition at line 26 of file Config.cs.

bool PinballX.Config.EnableLogging
getset

Definition at line 16 of file Config.cs.


The documentation for this class was generated from the following file: