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

Default config class for web.config and app.config More...

Inheritance diagram for Utilities.Configuration.Manager.Default.SystemConfig:
Utilities.Configuration.Manager.Interfaces.IConfig

Public Member Functions

 SystemConfig ()
 Constructor More...
 
void Load ()
 Loads the config More...
 
void Save ()
 Saves the config More...
 

Properties

IDictionary< string, string > AppSettings [get]
 Application settings More...
 
IDictionary< string, ConnectionStringConnectionStrings [get]
 Connection strings More...
 
string Name [get]
 Name of the Config object More...
 
object this[string SectionName] [get]
 Gets the configuration section based on the name specified More...
 
- Properties inherited from Utilities.Configuration.Manager.Interfaces.IConfig
string Name [get]
 Name of the Config object More...
 

Detailed Description

Default config class for web.config and app.config

Definition at line 49 of file SystemConfig.cs.

Constructor & Destructor Documentation

Utilities.Configuration.Manager.Default.SystemConfig.SystemConfig ( )

Constructor

Definition at line 54 of file SystemConfig.cs.

Member Function Documentation

void Utilities.Configuration.Manager.Default.SystemConfig.Load ( )

Loads the config

Implements Utilities.Configuration.Manager.Interfaces.IConfig.

Definition at line 120 of file SystemConfig.cs.

void Utilities.Configuration.Manager.Default.SystemConfig.Save ( )

Saves the config

Implements Utilities.Configuration.Manager.Interfaces.IConfig.

Definition at line 127 of file SystemConfig.cs.

Property Documentation

IDictionary<string, string> Utilities.Configuration.Manager.Default.SystemConfig.AppSettings
get

Application settings

Definition at line 85 of file SystemConfig.cs.

IDictionary<string, ConnectionString> Utilities.Configuration.Manager.Default.SystemConfig.ConnectionStrings
get

Connection strings

Definition at line 90 of file SystemConfig.cs.

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

Name of the Config object

Definition at line 95 of file SystemConfig.cs.

object Utilities.Configuration.Manager.Default.SystemConfig.this[string SectionName]
get

Gets the configuration section based on the name specified

Parameters
SectionNameSection name
Returns
The configuration section specified

Definition at line 103 of file SystemConfig.cs.


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