Class ConfigValues
Inheritance
System.Object
ConfigValues
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: FChoice.Common.dll
Syntax
public static class ConfigValues
Fields
CACHE_FILE_PATH
Declaration
public static readonly string CACHE_FILE_PATH
Field Value
Type |
Description |
System.String |
|
CONNECT_STRING
Declaration
public static readonly string CONNECT_STRING
Field Value
Type |
Description |
System.String |
|
DB_TYPE
Declaration
public static readonly string DB_TYPE
Field Value
Type |
Description |
System.String |
|
DBPROVIDER_CONFIGFILE
Declaration
public static readonly string DBPROVIDER_CONFIGFILE
Field Value
Type |
Description |
System.String |
|
ENABLE_BATCH
Declaration
public static readonly string ENABLE_BATCH
Field Value
Type |
Description |
System.String |
|
LOG_CONFIG_FILE_PATH
Declaration
public static readonly string LOG_CONFIG_FILE_PATH
Field Value
Type |
Description |
System.String |
|
NO_CACHE_FILE
Declaration
public static readonly string NO_CACHE_FILE
Field Value
Type |
Description |
System.String |
|
PERF_ENABLED
Declaration
public static readonly string PERF_ENABLED
Field Value
Type |
Description |
System.String |
|
PERF_INSTANCE_NAME
Declaration
public static readonly string PERF_INSTANCE_NAME
Field Value
Type |
Description |
System.String |
|
SQL_BIG_QUERY_COUNT_THRESHOLD
Declaration
public static readonly string SQL_BIG_QUERY_COUNT_THRESHOLD
Field Value
Type |
Description |
System.String |
|
SQL_BIG_QUERY_TIME_THRESHOLD
Declaration
public static readonly string SQL_BIG_QUERY_TIME_THRESHOLD
Field Value
Type |
Description |
System.String |
|
SQL_COMMAND_TIMEOUT
Declaration
public static readonly string SQL_COMMAND_TIMEOUT
Field Value
Type |
Description |
System.String |
|
STATEMANAGER_CONFIGFILE
Declaration
public static readonly string STATEMANAGER_CONFIGFILE
Field Value
Type |
Description |
System.String |
|
Methods
GetConditionalString(Boolean, String, String, NameValueCollection)
Declaration
public static string GetConditionalString(bool isRequired, string defaultVal, string keyName, NameValueCollection settingsCol)
Parameters
Type |
Name |
Description |
System.Boolean |
isRequired |
|
System.String |
defaultVal |
|
System.String |
keyName |
|
System.Collections.Specialized.NameValueCollection |
settingsCol |
|
Returns
Type |
Description |
System.String |
|
GetConditionalString(Boolean, String, String, String)
Declaration
public static string GetConditionalString(bool isRequired, string defaultVal, string val, string keyName)
Parameters
Type |
Name |
Description |
System.Boolean |
isRequired |
|
System.String |
defaultVal |
|
System.String |
val |
|
System.String |
keyName |
|
Returns
Type |
Description |
System.String |
|
GetOptBool(Boolean, String)
Declaration
public static bool GetOptBool(bool defaultVal, string val)
Parameters
Type |
Name |
Description |
System.Boolean |
defaultVal |
|
System.String |
val |
|
Returns
Type |
Description |
System.Boolean |
|
GetOptBool(Boolean, String, NameValueCollection)
Declaration
public static bool GetOptBool(bool defaultVal, string keyName, NameValueCollection settingsCol)
Parameters
Type |
Name |
Description |
System.Boolean |
defaultVal |
|
System.String |
keyName |
|
System.Collections.Specialized.NameValueCollection |
settingsCol |
|
Returns
Type |
Description |
System.Boolean |
|
GetOptInt32(Int32, String, NameValueCollection)
Declaration
public static int GetOptInt32(int defaultVal, string keyName, NameValueCollection settingsCol)
Parameters
Type |
Name |
Description |
System.Int32 |
defaultVal |
|
System.String |
keyName |
|
System.Collections.Specialized.NameValueCollection |
settingsCol |
|
Returns
Type |
Description |
System.Int32 |
|
GetOptInt32(Int32, String, String)
Declaration
public static int GetOptInt32(int defaultVal, string val, string keyName)
Parameters
Type |
Name |
Description |
System.Int32 |
defaultVal |
|
System.String |
val |
|
System.String |
keyName |
|
Returns
Type |
Description |
System.Int32 |
|
GetOptString(String, String)
Declaration
public static string GetOptString(string defaultVal, string val)
Parameters
Type |
Name |
Description |
System.String |
defaultVal |
|
System.String |
val |
|
Returns
Type |
Description |
System.String |
|
GetOptString(String, String, NameValueCollection)
Declaration
public static string GetOptString(string defaultVal, string keyName, NameValueCollection settingsCol)
Parameters
Type |
Name |
Description |
System.String |
defaultVal |
|
System.String |
keyName |
|
System.Collections.Specialized.NameValueCollection |
settingsCol |
|
Returns
Type |
Description |
System.String |
|
GetReqString(String, NameValueCollection)
Declaration
public static string GetReqString(string keyName, NameValueCollection settingsCol)
Parameters
Type |
Name |
Description |
System.String |
keyName |
|
System.Collections.Specialized.NameValueCollection |
settingsCol |
|
Returns
Type |
Description |
System.String |
|
GetReqString(String, String)
Declaration
public static string GetReqString(string val, string keyName)
Parameters
Type |
Name |
Description |
System.String |
val |
|
System.String |
keyName |
|
Returns
Type |
Description |
System.String |
|
VerifyPositive(Object, String)
Declaration
public static void VerifyPositive(object value, string keyName)
Parameters
Type |
Name |
Description |
System.Object |
value |
|
System.String |
keyName |
|