C# Class Omikron.FactFinder.Core.Configuration.ConnectionSection

Inheritance: System.Configuration.ConfigurationSection
Datei anzeigen Open project: FACT-Finder/FACT-Finder-.NET-Library Class Usage Examples

Private Properties

Property Type Description
ConnectionSection System

Public Methods

Method Description
GetSection ( ) : ConnectionSection

Gets the configuration section using the default element name.

If an HttpContext exists, uses the WebConfigurationManager to get the configuration section from web.config.

GetSection ( string definedName ) : ConnectionSection

Gets the configuration section using the specified element name.

If an HttpContext exists, uses the WebConfigurationManager to get the configuration section from web.config.

Private Methods

Method Description
ConnectionSection ( ) : System

Method Details

GetSection() public static method

Gets the configuration section using the default element name.
If an HttpContext exists, uses the WebConfigurationManager to get the configuration section from web.config.
public static GetSection ( ) : ConnectionSection
return ConnectionSection

GetSection() public static method

Gets the configuration section using the specified element name.
If an HttpContext exists, uses the WebConfigurationManager to get the configuration section from web.config.
public static GetSection ( string definedName ) : ConnectionSection
definedName string
return ConnectionSection