Craig's Utility Library  4.0 Beta
Utilities.Configuration.Manager.Default.ConfigSystem Class Reference

Default config system More...

Inheritance diagram for Utilities.Configuration.Manager.Default.ConfigSystem:
Utilities.Configuration.Manager.Interfaces.IConfigSystem

Public Member Functions

 ConfigSystem (IEnumerable< IConfig > Configs)
 Constructor More...
 
Config< T > (string Name="Default")
 Gets the config object specified More...
 
bool ContainsConfigFile< T > (string Name)
 Determines if a specified config file is registered More...
 

Properties

string Name [get]
 Name of the Config system More...
 
Dictionary< string, IConfigConfigFiles [get]
 Config files More...
 
- Properties inherited from Utilities.Configuration.Manager.Interfaces.IConfigSystem
string Name [get]
 Name of the Config system More...
 

Detailed Description

Default config system

Definition at line 33 of file ConfigSystem.cs.

Constructor & Destructor Documentation

Utilities.Configuration.Manager.Default.ConfigSystem.ConfigSystem ( IEnumerable< IConfig Configs)

Constructor

Parameters
ConfigsThe configs.

Definition at line 39 of file ConfigSystem.cs.

Member Function Documentation

T Utilities.Configuration.Manager.Default.ConfigSystem.Config< T > ( string  Name = "Default")

Gets the config object specified

Parameters
NameName of the config object
Returns
The config object

Implements Utilities.Configuration.Manager.Interfaces.IConfigSystem.

Type Constraints
T :IConfig 
T :new() 

Definition at line 60 of file ConfigSystem.cs.

bool Utilities.Configuration.Manager.Default.ConfigSystem.ContainsConfigFile< T > ( string  Name)

Determines if a specified config file is registered

Template Parameters
TType of the config object
Parameters
NameName of the config object
Returns
The config object specified

Definition at line 74 of file ConfigSystem.cs.

Property Documentation

Dictionary<string, IConfig> Utilities.Configuration.Manager.Default.ConfigSystem.ConfigFiles
getprotected

Config files

Definition at line 53 of file ConfigSystem.cs.

string Utilities.Configuration.Manager.Default.ConfigSystem.Name
get

Name of the Config system

Definition at line 48 of file ConfigSystem.cs.


The documentation for this class was generated from the following file: