Property | Type | Description | |
---|---|---|---|
Config | System | ||
Config | System | ||
CreateDefaultLog4NetElement | |||
Load |
Method | Description | |
---|---|---|
CreateInitialConfig ( string fullPath ) : |
Create an initial XML configuration file with default settings and zero remote folders.
|
|
CreateInitialListOfGloballyHiddenRepoNames ( ) : List |
Creates the initial list of globally hidden repo names.
|
|
CreateInitialListOfGloballyIgnoredFileNames ( ) : List |
Creates the initial list of globally ignored file names.
|
|
CreateInitialListOfGloballyIgnoredFolderNames ( ) : List |
Creates the initial list of globally ignored folder names.
|
|
CreateOrLoadByPath ( string fullPath ) : |
Creates the config or loads the config by path.
|
|
GetConfigPath ( ) : string |
Path of the folder where configuration files are. These files are in particular the XML configuration file, the database files, and the log file.
|
|
GetFoldersPath ( ) : string |
Path where the synchronized folders are stored by default.
|
|
GetFullPath ( ) : string |
Gets the full path to this config file.
|
|
GetHomePath ( ) : string |
Path to the user's home folder.
|
|
GetLog4NetConfig ( ) : |
Log4net configuration, as an XML tree readily usable by Log4net.
|
|
GetLogFilePath ( ) : string |
Get the configured path to the log file.
|
|
GetLogFilePath ( string configPath ) : string |
Gets the log file path.
|
|
GetOperationsLogFilePath ( string configPath ) : string |
Gets the operations log file path.
|
|
GetRepoInfo ( string displayName ) : |
Gets the configured folder with the given name or null if no folder with this name exists.
|
|
Save ( ) : void |
Save the currently loaded (in memory) configuration back to the XML file.
|
|
SetLog4NetConfig ( |
Sets a new XmlNode as Log4NetConfig. Is useful for config migration
|
Method | Description | |
---|---|---|
Config ( ) : System | ||
Config ( string fullPath ) : System | ||
CreateDefaultLog4NetElement ( string logFilePath, string operationsLogFilePath ) : |
||
Load ( string fullPath ) : |
public static CreateInitialConfig ( string fullPath ) : |
||
fullPath | string | /// Absolute full path to config file /// |
return |
public static CreateInitialListOfGloballyHiddenRepoNames ( ) : List |
||
return | List |
public static CreateInitialListOfGloballyIgnoredFileNames ( ) : List |
||
return | List |
public static CreateInitialListOfGloballyIgnoredFolderNames ( ) : List |
||
return | List |
public static CreateOrLoadByPath ( string fullPath ) : |
||
fullPath | string | /// Full path. /// |
return |
public GetLog4NetConfig ( ) : |
||
return |
public static GetLogFilePath ( string configPath ) : string | ||
configPath | string | Config path. |
return | string |
public static GetOperationsLogFilePath ( string configPath ) : string | ||
configPath | string | Config path. |
return | string |
public GetRepoInfo ( string displayName ) : |
||
displayName | string | The name of the repoInfo Name. |
return |
public SetLog4NetConfig ( |
||
node | log4net xml config section | |
return | void |