JHStaticCache(T).Get Method

DCSoft.DBUtilityGeneric

JHStaticCacheTGet Method
获取指定主键的缓存数据,如果不存在或过期则返回指定类型的默认值(default(T))

Namespace: DCSoft.Utility.Cache
Assembly: DCSoft.Utility (in DCSoft.Utility.dll) Version: 0.0.0.0 (1.0.0.0)
Syntax
C#
public static T Get(
	params string[] cacheKeys
)

Parameters

cacheKeys
Type: SystemString
缓存主键组成部分的列表

Return Value

Type: T
返回缓存中的数据,如果不存在或过期则返回指定类型的默认值
See Also