CoreGetBooleanEncodeSetting(String) Method
取得加密布林設定值
Namespace: eBizprise.FrameworkAssembly: eBizprise.Framework.Core (in eBizprise.Framework.Core.dll) Version: 25.0.3.0+adf38c4ccb2bf98d8ad258a6278302b5e05a94ed
public static bool GetBooleanEncodeSetting(
string settingName
)
- settingName String
- 設定名稱
Booleanbool
讀取設定檔指定設定值並轉換為布林值
註:y、yes、true、t、1皆視為true
註:預設值為false
bool isSqlLog = Core.GetBooleanEncodeSetting("SqlLog");
| Date | Version | Description |
|---|
| 2020/02/19 | 1.0.0.1 | 初版 |
| 2020/02/24 | 1.0.0.2 | 增加指定設定檔功能 |
| 2020/03/27 | 1.0.1.0 | 增加支援預設值 |
| 2025/05/27 | 2.2.3.0 | 修正設定檔非預設時異常 |
| 2025/09/19 | 25.0.0.0 | 彙整2025年度初版 |