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, |
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, |
Retrieve the value of an application setting from the Web.config file.
|
|
GetKeyAsInt32 ( String keyName, String defaultValue ) : |
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 ) : |
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.
|
Méthode | Description | |
---|---|---|
H3Config ( ) : System |
public static ConnectionString ( String connectionStringName ) : String | ||
connectionStringName | String | Name of a connection string within the Web.config file. |
Résultat | String |
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 |
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 |
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 |
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 |
public static GetKeyAsBoolean ( String keyName ) : Boolean? | ||
keyName | String | Key name for which a value should be returned. |
Résultat | Boolean? |
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 |
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 |
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 |
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 |
public static GetKeyAsDateTime ( String keyName ) : DateTime? | ||
keyName | String | Key name for which a value should be returned. |
Résultat | DateTime? |
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 |
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 |
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 |
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 |
public static GetKeyAsDouble ( String keyName ) : Double? | ||
keyName | String | Key name for which a value should be returned. |
Résultat | Double? |
public static GetKeyAsInt32 ( String keyName, |
||
keyName | String | Key name for which a value should be returned. |
defaultValue | Default value to use if the key is not found. | |
Résultat |
public static GetKeyAsInt32 ( String keyName, |
||
keyName | String | Key name for which a value should be returned. |
defaultValue | Default value to use if the key is not found. | |
sectionName | String | Section name within the Web.config file. |
Résultat |
public static GetKeyAsInt32 ( String keyName, String defaultValue ) : |
||
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 |
public static GetKeyAsInt32 ( String keyName, String defaultValue, String sectionName ) : |
||
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 |
public static GetKeyAsInt32 ( String keyName ) : Int32? | ||
keyName | String | Key name for which a value should be returned. |
Résultat | Int32? |
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 |
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 |
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 |
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 |
public static GetKeyAsInt64 ( String keyName ) : Int64? | ||
keyName | String | Key name for which a value should be returned. |
Résultat | Int64? |
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 |
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 |
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 |
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 |
public static GetKeyAsSingle ( String keyName ) : Single? | ||
keyName | String | Key name for which a value should be returned. |
Résultat | Single? |
public static GetKeyAsString ( String keyName ) : String | ||
keyName | String | Key name for which a value should be returned. |
Résultat | String |
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 |
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 |