CoreGetConfiguration(String) Method

取得設定檔

Definition

Namespace: eBizprise.Framework
Assembly: eBizprise.Framework.Core (in eBizprise.Framework.Core.dll) Version: 26.0.0.0+6e92afb880fa099fdfe407c9aa8d1b17eaaf3625
C#
public static IConfiguration GetConfiguration(
	string configurationFileName = null
)

Parameters

configurationFileName  String  (Optional)
設定檔名稱

Return Value

IConfiguration
IConfiguration

Example

C#
IConfiguration configuration = Core.GetConfiguration("eBizprise.Framework.json");

Revision History

DateVersionDescription
2025/05/272.2.3.0修正設定檔非預設時異常
2025/05/272.2.4.0修正讀取包含環境之預設設定檔時檔名錯誤
2025/09/1925.0.0.0彙整2025年度初版
2025/12/0525.0.2.0增加支援.config副檔名,優先處理.json

See Also