C# Class Argentini.Halide.H3Config

]]>
Afficher le fichier Open project: argentini/Halide

Méthodes publiques

Méthode Description
ConnectionString ( String connectionStringName ) : String

Return a SQL connection string by name, from the Web.config file.

GetKeyAsBoolean ( String keyName, System.Boolean defaultValue ) : System.Boolean

Retrieve the value of an application setting from the Web.config file. Returns the default value if the key is not found.

GetKeyAsBoolean ( String keyName, System.Boolean defaultValue, String sectionName ) : System.Boolean

Retrieve the value of an application setting from the Web.config file.

GetKeyAsBoolean ( String keyName, String defaultValue ) : System.Boolean

Retrieve the value of an application setting from the Web.config file. Returns the default value if the key is not found.

GetKeyAsBoolean ( String keyName, String defaultValue, String sectionName ) : System.Boolean

Retrieve the value of an application setting from the Web.config file.

GetKeyAsBoolean ( String keyName ) : Boolean?

Retrieve the value of an application setting from the Web.config file.

GetKeyAsDateTime ( String keyName, System.DateTime defaultValue ) : System.DateTime

Retrieve the value of an application setting from the Web.config file. Returns the default value if the key is not found.

GetKeyAsDateTime ( String keyName, System.DateTime defaultValue, String sectionName ) : System.DateTime

Retrieve the value of an application setting from the Web.config file.

GetKeyAsDateTime ( String keyName, String defaultValue ) : System.DateTime

Retrieve the value of an application setting from the Web.config file. Returns the default value if the key is not found.

GetKeyAsDateTime ( String keyName, String defaultValue, String sectionName ) : System.DateTime

Retrieve the value of an application setting from the Web.config file.

GetKeyAsDateTime ( String keyName ) : DateTime?

Retrieve the value of an application setting from the Web.config file.

GetKeyAsDouble ( String keyName, Double defaultValue ) : Double

Retrieve the value of an application setting from the Web.config file. Returns the default value if the key is not found.

GetKeyAsDouble ( String keyName, Double defaultValue, String sectionName ) : Double

Retrieve the value of an application setting from the Web.config file.

GetKeyAsDouble ( String keyName, String defaultValue ) : Double

Retrieve the value of an application setting from the Web.config file. Returns the default value if the key is not found.

GetKeyAsDouble ( String keyName, String defaultValue, String sectionName ) : Double

Retrieve the value of an application setting from the Web.config file.

GetKeyAsDouble ( String keyName ) : Double?

Retrieve the value of an application setting from the Web.config file.

GetKeyAsInt32 ( String keyName, Int32 defaultValue ) : Int32

Retrieve the value of an application setting from the Web.config file. Returns the default value if the key is not found.

GetKeyAsInt32 ( String keyName, Int32 defaultValue, String sectionName ) : Int32

Retrieve the value of an application setting from the Web.config file.

GetKeyAsInt32 ( String keyName, String defaultValue ) : Int32

Retrieve the value of an application setting from the Web.config file. Returns the default value if the key is not found.

GetKeyAsInt32 ( String keyName, String defaultValue, String sectionName ) : Int32

Retrieve the value of an application setting from the Web.config file.

GetKeyAsInt32 ( String keyName ) : Int32?

Retrieve the value of an application setting from the Web.config file.

GetKeyAsInt64 ( String keyName, System.Int64 defaultValue ) : System.Int64

Retrieve the value of an application setting from the Web.config file. Returns the default value if the key is not found.

GetKeyAsInt64 ( String keyName, System.Int64 defaultValue, String sectionName ) : System.Int64

Retrieve the value of an application setting from the Web.config file.

GetKeyAsInt64 ( String keyName, String defaultValue ) : System.Int64

Retrieve the value of an application setting from the Web.config file. Returns the default value if the key is not found.

GetKeyAsInt64 ( String keyName, String defaultValue, String sectionName ) : System.Int64

Retrieve the value of an application setting from the Web.config file.

GetKeyAsInt64 ( String keyName ) : Int64?

Retrieve the value of an application setting from the Web.config file.

GetKeyAsSingle ( String keyName, System.Single defaultValue ) : System.Single

Retrieve the value of an application setting from the Web.config file. Returns the default value if the key is not found.

GetKeyAsSingle ( String keyName, System.Single defaultValue, String sectionName ) : System.Single

Retrieve the value of an application setting from the Web.config file.

GetKeyAsSingle ( String keyName, String defaultValue ) : System.Single

Retrieve the value of an application setting from the Web.config file. Returns the default value if the key is not found.

GetKeyAsSingle ( String keyName, String defaultValue, String sectionName ) : System.Single

Retrieve the value of an application setting from the Web.config file.

GetKeyAsSingle ( String keyName ) : Single?

Retrieve the value of an application setting from the Web.config file.

GetKeyAsString ( String keyName ) : String

Retrieve the value of an application setting from the Web.config file.

GetKeyAsString ( String keyName, String defaultValue ) : String

Retrieve the value of an application setting from the Web.config file. Returns the default value if the key is not found.

GetKeyAsString ( String keyName, String defaultValue, String sectionName ) : String

Retrieve the value of an application setting from the Web.config file.

Private Methods

Méthode Description
H3Config ( ) : System

Method Details

ConnectionString() public static méthode

Return a SQL connection string by name, from the Web.config file.
public static ConnectionString ( String connectionStringName ) : String
connectionStringName String Name of a connection string within the Web.config file.
Résultat String

GetKeyAsBoolean() public static méthode

Retrieve the value of an application setting from the Web.config file. Returns the default value if the key is not found.
public static GetKeyAsBoolean ( String keyName, System.Boolean defaultValue ) : System.Boolean
keyName String Key name for which a value should be returned.
defaultValue System.Boolean Default value to use if the key is not found.
Résultat System.Boolean

GetKeyAsBoolean() public static méthode

Retrieve the value of an application setting from the Web.config file.
public static GetKeyAsBoolean ( String keyName, System.Boolean defaultValue, String sectionName ) : System.Boolean
keyName String Key name for which a value should be returned.
defaultValue System.Boolean Default value to use if the key is not found.
sectionName String Section name within the Web.config file.
Résultat System.Boolean

GetKeyAsBoolean() public static méthode

Retrieve the value of an application setting from the Web.config file. Returns the default value if the key is not found.
public static GetKeyAsBoolean ( String keyName, String defaultValue ) : System.Boolean
keyName String Key name for which a value should be returned.
defaultValue String Default value to use if the key is not found.
Résultat System.Boolean

GetKeyAsBoolean() public static méthode

Retrieve the value of an application setting from the Web.config file.
public static GetKeyAsBoolean ( String keyName, String defaultValue, String sectionName ) : System.Boolean
keyName String Key name for which a value should be returned.
defaultValue String Default value to use if the key is not found.
sectionName String Section name within the Web.config file.
Résultat System.Boolean

GetKeyAsBoolean() public static méthode

Retrieve the value of an application setting from the Web.config file.
public static GetKeyAsBoolean ( String keyName ) : Boolean?
keyName String Key name for which a value should be returned.
Résultat Boolean?

GetKeyAsDateTime() public static méthode

Retrieve the value of an application setting from the Web.config file. Returns the default value if the key is not found.
public static GetKeyAsDateTime ( String keyName, System.DateTime defaultValue ) : System.DateTime
keyName String Key name for which a value should be returned.
defaultValue System.DateTime Default value to use if the key is not found.
Résultat System.DateTime

GetKeyAsDateTime() public static méthode

Retrieve the value of an application setting from the Web.config file.
public static GetKeyAsDateTime ( String keyName, System.DateTime defaultValue, String sectionName ) : System.DateTime
keyName String Key name for which a value should be returned.
defaultValue System.DateTime Default value to use if the key is not found.
sectionName String Section name within the Web.config file.
Résultat System.DateTime

GetKeyAsDateTime() public static méthode

Retrieve the value of an application setting from the Web.config file. Returns the default value if the key is not found.
public static GetKeyAsDateTime ( String keyName, String defaultValue ) : System.DateTime
keyName String Key name for which a value should be returned.
defaultValue String Default value to use if the key is not found.
Résultat System.DateTime

GetKeyAsDateTime() public static méthode

Retrieve the value of an application setting from the Web.config file.
public static GetKeyAsDateTime ( String keyName, String defaultValue, String sectionName ) : System.DateTime
keyName String Key name for which a value should be returned.
defaultValue String Default value to use if the key is not found.
sectionName String Section name within the Web.config file.
Résultat System.DateTime

GetKeyAsDateTime() public static méthode

Retrieve the value of an application setting from the Web.config file.
public static GetKeyAsDateTime ( String keyName ) : DateTime?
keyName String Key name for which a value should be returned.
Résultat DateTime?

GetKeyAsDouble() public static méthode

Retrieve the value of an application setting from the Web.config file. Returns the default value if the key is not found.
public static GetKeyAsDouble ( String keyName, Double defaultValue ) : Double
keyName String Key name for which a value should be returned.
defaultValue Double Default value to use if the key is not found.
Résultat Double

GetKeyAsDouble() public static méthode

Retrieve the value of an application setting from the Web.config file.
public static GetKeyAsDouble ( String keyName, Double defaultValue, String sectionName ) : Double
keyName String Key name for which a value should be returned.
defaultValue Double Default value to use if the key is not found.
sectionName String Section name within the Web.config file.
Résultat Double

GetKeyAsDouble() public static méthode

Retrieve the value of an application setting from the Web.config file. Returns the default value if the key is not found.
public static GetKeyAsDouble ( String keyName, String defaultValue ) : Double
keyName String Key name for which a value should be returned.
defaultValue String Default value to use if the key is not found.
Résultat Double

GetKeyAsDouble() public static méthode

Retrieve the value of an application setting from the Web.config file.
public static GetKeyAsDouble ( String keyName, String defaultValue, String sectionName ) : Double
keyName String Key name for which a value should be returned.
defaultValue String Default value to use if the key is not found.
sectionName String Section name within the Web.config file.
Résultat Double

GetKeyAsDouble() public static méthode

Retrieve the value of an application setting from the Web.config file.
public static GetKeyAsDouble ( String keyName ) : Double?
keyName String Key name for which a value should be returned.
Résultat Double?

GetKeyAsInt32() public static méthode

Retrieve the value of an application setting from the Web.config file. Returns the default value if the key is not found.
public static GetKeyAsInt32 ( String keyName, Int32 defaultValue ) : Int32
keyName String Key name for which a value should be returned.
defaultValue System.Int32 Default value to use if the key is not found.
Résultat System.Int32

GetKeyAsInt32() public static méthode

Retrieve the value of an application setting from the Web.config file.
public static GetKeyAsInt32 ( String keyName, Int32 defaultValue, String sectionName ) : Int32
keyName String Key name for which a value should be returned.
defaultValue System.Int32 Default value to use if the key is not found.
sectionName String Section name within the Web.config file.
Résultat System.Int32

GetKeyAsInt32() public static méthode

Retrieve the value of an application setting from the Web.config file. Returns the default value if the key is not found.
public static GetKeyAsInt32 ( String keyName, String defaultValue ) : Int32
keyName String Key name for which a value should be returned.
defaultValue String Default value to use if the key is not found.
Résultat System.Int32

GetKeyAsInt32() public static méthode

Retrieve the value of an application setting from the Web.config file.
public static GetKeyAsInt32 ( String keyName, String defaultValue, String sectionName ) : Int32
keyName String Key name for which a value should be returned.
defaultValue String Default value to use if the key is not found.
sectionName String Section name within the Web.config file.
Résultat System.Int32

GetKeyAsInt32() public static méthode

Retrieve the value of an application setting from the Web.config file.
public static GetKeyAsInt32 ( String keyName ) : Int32?
keyName String Key name for which a value should be returned.
Résultat Int32?

GetKeyAsInt64() public static méthode

Retrieve the value of an application setting from the Web.config file. Returns the default value if the key is not found.
public static GetKeyAsInt64 ( String keyName, System.Int64 defaultValue ) : System.Int64
keyName String Key name for which a value should be returned.
defaultValue System.Int64 Default value to use if the key is not found.
Résultat System.Int64

GetKeyAsInt64() public static méthode

Retrieve the value of an application setting from the Web.config file.
public static GetKeyAsInt64 ( String keyName, System.Int64 defaultValue, String sectionName ) : System.Int64
keyName String Key name for which a value should be returned.
defaultValue System.Int64 Default value to use if the key is not found.
sectionName String Section name within the Web.config file.
Résultat System.Int64

GetKeyAsInt64() public static méthode

Retrieve the value of an application setting from the Web.config file. Returns the default value if the key is not found.
public static GetKeyAsInt64 ( String keyName, String defaultValue ) : System.Int64
keyName String Key name for which a value should be returned.
defaultValue String Default value to use if the key is not found.
Résultat System.Int64

GetKeyAsInt64() public static méthode

Retrieve the value of an application setting from the Web.config file.
public static GetKeyAsInt64 ( String keyName, String defaultValue, String sectionName ) : System.Int64
keyName String Key name for which a value should be returned.
defaultValue String Default value to use if the key is not found.
sectionName String Section name within the Web.config file.
Résultat System.Int64

GetKeyAsInt64() public static méthode

Retrieve the value of an application setting from the Web.config file.
public static GetKeyAsInt64 ( String keyName ) : Int64?
keyName String Key name for which a value should be returned.
Résultat Int64?

GetKeyAsSingle() public static méthode

Retrieve the value of an application setting from the Web.config file. Returns the default value if the key is not found.
public static GetKeyAsSingle ( String keyName, System.Single defaultValue ) : System.Single
keyName String Key name for which a value should be returned.
defaultValue System.Single Default value to use if the key is not found.
Résultat System.Single

GetKeyAsSingle() public static méthode

Retrieve the value of an application setting from the Web.config file.
public static GetKeyAsSingle ( String keyName, System.Single defaultValue, String sectionName ) : System.Single
keyName String Key name for which a value should be returned.
defaultValue System.Single Default value to use if the key is not found.
sectionName String Section name within the Web.config file.
Résultat System.Single

GetKeyAsSingle() public static méthode

Retrieve the value of an application setting from the Web.config file. Returns the default value if the key is not found.
public static GetKeyAsSingle ( String keyName, String defaultValue ) : System.Single
keyName String Key name for which a value should be returned.
defaultValue String Default value to use if the key is not found.
Résultat System.Single

GetKeyAsSingle() public static méthode

Retrieve the value of an application setting from the Web.config file.
public static GetKeyAsSingle ( String keyName, String defaultValue, String sectionName ) : System.Single
keyName String Key name for which a value should be returned.
defaultValue String Default value to use if the key is not found.
sectionName String Section name within the Web.config file.
Résultat System.Single

GetKeyAsSingle() public static méthode

Retrieve the value of an application setting from the Web.config file.
public static GetKeyAsSingle ( String keyName ) : Single?
keyName String Key name for which a value should be returned.
Résultat Single?

GetKeyAsString() public static méthode

Retrieve the value of an application setting from the Web.config file.
public static GetKeyAsString ( String keyName ) : String
keyName String Key name for which a value should be returned.
Résultat String

GetKeyAsString() public static méthode

Retrieve the value of an application setting from the Web.config file. Returns the default value if the key is not found.
public static GetKeyAsString ( String keyName, String defaultValue ) : String
keyName String Key name for which a value should be returned.
defaultValue String Default value to use if the key is not found.
Résultat String

GetKeyAsString() public static méthode

Retrieve the value of an application setting from the Web.config file.
public static GetKeyAsString ( String keyName, String defaultValue, String sectionName ) : String
keyName String Key name for which a value should be returned.
defaultValue String Default value to use if the key is not found.
sectionName String Section name within the Web.config file.
Résultat String