Core Class

核心類別

Definition

Namespace: eBizprise.Framework
Assembly: eBizprise.Framework.Core (in eBizprise.Framework.Core.dll) Version: 25.0.3.0+adf38c4ccb2bf98d8ad258a6278302b5e05a94ed
C#
public class Core
Inheritance
Object    Core

Constructors

CoreInitializes a new instance of the Core class

Methods

AsciiToHex(Byte) 轉換Ascii文字為Hex文字
AsciiToHex(String) 轉換Ascii文字為Hex文字
Copy 複製檔案
DirectoryExists 資料匣是否存在
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FileExists 檔案是否存在
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetAppSetting(String) 取得設定值
GetAppSetting(String, String) 取得設定值
GetBooleanAppSetting(String) 取得布林設定值
GetBooleanAppSetting(String, String) 取得布林設定值
GetBooleanEncodeSetting(String) 取得加密布林設定值
GetBooleanEncodeSetting(String, String) 取得加密布林設定值
GetConfiguration 取得設定檔
GetConfiguration(String) 取得設定檔
GetConnectionString(String) 取得連線字串
GetConnectionString(String, String) 取得連線字串
GetEncodeSetting(String) 取得加密設定值
GetEncodeSetting(String, String) 取得加密設定值
GetEnvironmentName`` 取得環境名稱
GetFileInfos 取得檔案清單
GetFiles 取得檔案清單
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetIntegerAppSetting(String) 取得整數設定值
GetIntegerAppSetting(String, String) 取得整數設定值
GetIntegerEncodeSetting(String) 取得加密整數設定值
GetIntegerEncodeSetting(String, String) 取得加密整數設定值
GetMD5 取得MD5加密字串
GetTypeGets the Type of the current instance.
(Inherited from Object)
Hash 取得SHA256 Base64雜湊值
Hash512 取得SHA512 Base64雜湊值
HMAC_SHA1 取得HMAC-SHA1加密字串
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Move 移動檔案
RandomString 亂數產生指定長度文字
ReadBytes 讀取檔案
ReadSize 讀取檔案大小
ReadStream 讀取檔案資料流
ReadString 讀取文字檔案
Remove 刪除檔案
Sha1Hash 取得SHA1 Base64雜湊值
ToStringReturns a string that represents the current object.
(Inherited from Object)
Utf8ToHex(Byte) 轉換Utf8文字為Hex文字
Utf8ToHex(String) 轉換Utf8文字為Hex文字
Write(String, String, Byte) 寫入檔案
Write(String, String, String) 寫入文字檔案

Extension Methods

ToBsonString 轉換Bson字串
(Defined by SerializeExtend)
ToBsonString 轉換Bson字串
(Defined by SerializeExtend)
ToJsonString 轉換Json字串
(Defined by SerializeExtend)
ToJsonString 轉換Json字串
(Defined by SerializeExtend)
ToXmlString 轉換Xml字串
(Defined by SerializeExtend)
WriteJsonFile 寫入Json格式檔案
(Defined by SerializeExtend)

Revision History

DateVersionDescription
2025/12/0925.0.3.0新增環境名稱偵測功能

See Also