C# Class Sparkles.Configuration

Inheritance: System.Xml.XmlDocument
Afficher le fichier Open project: hbons/SparkleShare Class Usage Examples

Méthodes publiques

Свойство Type Description
BinPath string
DebugMode bool
DefaultConfiguration Configuration
DirectoryPath string
FilePath string
LogFilePath string
TmpPath string

Méthodes publiques

Méthode Description
AddFolder ( string name, string identifier, string url, string backend ) : void
BackendByName ( string name ) : string
Configuration ( string config_path, string config_file_name ) : System
GetConfigOption ( string name ) : string
GetFolderOptionalAttribute ( string folder_name, string key ) : string
IdentifierByName ( string name ) : string
IdentifierExists ( string identifier ) : bool
RemoveFolder ( string name ) : void
RenameFolder ( string identifier, string new_name ) : void
SetConfigOption ( string name, string content ) : void
SetFolderOptionalAttribute ( string folder_name, string key, string value ) : bool
UrlByName ( string name ) : string

Private Methods

Méthode Description
CreateInitialConfig ( ) : void
FolderByName ( string name ) : XmlNode
FolderValueByKey ( string name, string key ) : string
Save ( ) : void

Method Details

AddFolder() public méthode

public AddFolder ( string name, string identifier, string url, string backend ) : void
name string
identifier string
url string
backend string
Résultat void

BackendByName() public méthode

public BackendByName ( string name ) : string
name string
Résultat string

Configuration() public méthode

public Configuration ( string config_path, string config_file_name ) : System
config_path string
config_file_name string
Résultat System

GetConfigOption() public méthode

public GetConfigOption ( string name ) : string
name string
Résultat string

GetFolderOptionalAttribute() public méthode

public GetFolderOptionalAttribute ( string folder_name, string key ) : string
folder_name string
key string
Résultat string

IdentifierByName() public méthode

public IdentifierByName ( string name ) : string
name string
Résultat string

IdentifierExists() public méthode

public IdentifierExists ( string identifier ) : bool
identifier string
Résultat bool

RemoveFolder() public méthode

public RemoveFolder ( string name ) : void
name string
Résultat void

RenameFolder() public méthode

public RenameFolder ( string identifier, string new_name ) : void
identifier string
new_name string
Résultat void

SetConfigOption() public méthode

public SetConfigOption ( string name, string content ) : void
name string
content string
Résultat void

SetFolderOptionalAttribute() public méthode

public SetFolderOptionalAttribute ( string folder_name, string key, string value ) : bool
folder_name string
key string
value string
Résultat bool

UrlByName() public méthode

public UrlByName ( string name ) : string
name string
Résultat string

Property Details

BinPath public_oe property

public string BinPath
Résultat string

DebugMode public_oe static_oe property

public static bool DebugMode
Résultat bool

DefaultConfiguration public_oe static_oe property

public static Configuration,Sparkles DefaultConfiguration
Résultat Configuration

DirectoryPath public_oe property

public string DirectoryPath
Résultat string

FilePath public_oe property

public string FilePath
Résultat string

LogFilePath public_oe property

public string LogFilePath
Résultat string

TmpPath public_oe property

public string TmpPath
Résultat string