Property | Type | Description | |
---|---|---|---|
DEFAULT_POLL_INTERVAL | int | ||
DEFAULT_URL_ADDRESS | string |
Property | Type | Description | |
---|---|---|---|
Logger | log4net.ILog |
Method | Description | |
---|---|---|
AddFolder ( |
Add a synchronized folder to the configuration.
|
|
Config ( string fullPath ) : System |
Constructor.
|
|
GetFolder ( string name ) : SyncConfig.Folder |
Get folder based on name.
|
|
GetFolder ( string RemoteUrl, string UserName, string RepositoryId ) : SyncConfig.Folder |
Get a folder based on RemoteUrl, UserName, and RepositoryId.
|
|
GetLog4NetConfig ( ) : |
Log4net configuration, as an XML tree readily usable by Log4net.
|
|
GetLogFilePath ( ) : string |
Get the configured path to the log file.
|
|
RemoveFolder ( string repoName ) : void |
Remove a synchronized folder from the configuration.
|
|
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 | |
---|---|---|
CreateConfigFromScratch ( ) : void |
Create an initial XML configuration with default settings and zero remote folders.
|
|
CreateInitialConfigFile ( ) : void |
Create the initial XML configuration file.
|
|
GetLogLevel ( ) : string | ||
Load ( ) : void | ||
createDefaultLog4NetElement ( ) : |
public AddFolder ( |
||
repoInfo | ||
return | void |
public GetFolder ( string name ) : SyncConfig.Folder | ||
name | string | |
return | SyncConfig.Folder |
public GetFolder ( string RemoteUrl, string UserName, string RepositoryId ) : SyncConfig.Folder | ||
RemoteUrl | string | |
UserName | string | |
RepositoryId | string | |
return | SyncConfig.Folder |
public GetLog4NetConfig ( ) : |
||
return |
public RemoveFolder ( string repoName ) : void | ||
repoName | string | |
return | void |
public SetLog4NetConfig ( |
||
node | ||
return | void |