C# Класс Argentini.Halide.H3Config

]]>
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
H3Config ( ) : System

Описание методов

ConnectionString() публичный статический Метод

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.
Результат String

GetKeyAsBoolean() публичный статический Метод

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.
Результат System.Boolean

GetKeyAsBoolean() публичный статический Метод

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.
Результат System.Boolean

GetKeyAsBoolean() публичный статический Метод

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.
Результат System.Boolean

GetKeyAsBoolean() публичный статический Метод

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.
Результат System.Boolean

GetKeyAsBoolean() публичный статический Метод

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.
Результат Boolean?

GetKeyAsDateTime() публичный статический Метод

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.
Результат System.DateTime

GetKeyAsDateTime() публичный статический Метод

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.
Результат System.DateTime

GetKeyAsDateTime() публичный статический Метод

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.
Результат System.DateTime

GetKeyAsDateTime() публичный статический Метод

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.
Результат System.DateTime

GetKeyAsDateTime() публичный статический Метод

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.
Результат DateTime?

GetKeyAsDouble() публичный статический Метод

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.
Результат Double

GetKeyAsDouble() публичный статический Метод

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.
Результат Double

GetKeyAsDouble() публичный статический Метод

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.
Результат Double

GetKeyAsDouble() публичный статический Метод

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.
Результат Double

GetKeyAsDouble() публичный статический Метод

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.
Результат Double?

GetKeyAsInt32() публичный статический Метод

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.
Результат System.Int32

GetKeyAsInt32() публичный статический Метод

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.
Результат System.Int32

GetKeyAsInt32() публичный статический Метод

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.
Результат System.Int32

GetKeyAsInt32() публичный статический Метод

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.
Результат System.Int32

GetKeyAsInt32() публичный статический Метод

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.
Результат Int32?

GetKeyAsInt64() публичный статический Метод

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.
Результат System.Int64

GetKeyAsInt64() публичный статический Метод

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.
Результат System.Int64

GetKeyAsInt64() публичный статический Метод

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.
Результат System.Int64

GetKeyAsInt64() публичный статический Метод

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.
Результат System.Int64

GetKeyAsInt64() публичный статический Метод

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.
Результат Int64?

GetKeyAsSingle() публичный статический Метод

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.
Результат System.Single

GetKeyAsSingle() публичный статический Метод

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.
Результат System.Single

GetKeyAsSingle() публичный статический Метод

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.
Результат System.Single

GetKeyAsSingle() публичный статический Метод

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.
Результат System.Single

GetKeyAsSingle() публичный статический Метод

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.
Результат Single?

GetKeyAsString() публичный статический Метод

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.
Результат String

GetKeyAsString() публичный статический Метод

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.
Результат String

GetKeyAsString() публичный статический Метод

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.
Результат String