Method | Description | |
---|---|---|
PersistConfigurationFile ( ConfigurationFileType type ) : void |
persists the configuration file to a well known location
|
|
RollbackConfigurationFile ( ) : void |
Deletes and replaces the configuration - i.e. restores it back to the point it was at beforehand
|
|
SaveAs ( string filePath ) : void |
Saves the updated version of the Xml document
|
|
ToString ( ) : string |
Used to return the Xml representation for the current configuration file
|
Method | Description | |
---|---|---|
ConfigurationFile ( System.Xml.Linq.XDocument doc ) : System |
Sets the default XMl document of the configuration file
|
|
ConfigurationFile ( string name ) : System |
Creates a new instance of the class and checks to see whether the file exists and can be loaded
|
|
GetFileExtension ( ) : string |
Abstract method returns the file extension
|
Method | Description | |
---|---|---|
CheckFileExistsAndLoadOriginalVersion ( ) : void |
Checks to see whether the original file loads correctly and
|
protected ConfigurationFile ( System.Xml.Linq.XDocument doc ) : System | ||
doc | System.Xml.Linq.XDocument | |
return | System |
protected ConfigurationFile ( string name ) : System | ||
name | string | |
return | System |
protected abstract GetFileExtension ( ) : string | ||
return | string |
public PersistConfigurationFile ( ConfigurationFileType type ) : void | ||
type | ConfigurationFileType | |
return | void |