C# Class Stumps.Server.StumpsConfiguration

A class that represents the configuration used for the Stumps server.
Afficher le fichier Open project: Cayan-LLC/stumps Class Usage Examples

Méthodes publiques

Méthode Description
LoadConfiguration ( ) : void

Loads the configuration from the data store.

SaveConfiguration ( ) : void

Saves the configuration to the data store.

StumpsConfiguration ( IConfigurationDataAccess dataAccess ) : System

Initializes a new instance of the T:Stumps.Server.StumpsConfiguration class.

ValidateConfigurationSettings ( ) : bool

Validates the configuration settings are correct.

Private Methods

Méthode Description
CreateDefaultConfigurationEntity ( ) : ConfigurationEntity

Creates a default configuration entity.

DirectoryIsValid ( string directoryPath ) : bool

Validates that the given directory is valid and exists.

Method Details

LoadConfiguration() public méthode

Loads the configuration from the data store.
public LoadConfiguration ( ) : void
Résultat void

SaveConfiguration() public méthode

Saves the configuration to the data store.
public SaveConfiguration ( ) : void
Résultat void

StumpsConfiguration() public méthode

Initializes a new instance of the T:Stumps.Server.StumpsConfiguration class.
is null.
public StumpsConfiguration ( IConfigurationDataAccess dataAccess ) : System
dataAccess IConfigurationDataAccess The data access.
Résultat System

ValidateConfigurationSettings() public méthode

Validates the configuration settings are correct.
public ValidateConfigurationSettings ( ) : bool
Résultat bool