| ContextCacheTClassGetInstanceT Method |
获取当前实例
Namespace: Adf.WebAssembly: Adf.Web (in Adf.Web.dll) Version: 4.1.5463.29815
Syntaxprotected static T GetInstance<T>(
string cacheName
)
where T : new(), ContextCache<TClass>
Protected Shared Function GetInstance(Of T As {New, ContextCache(Of TClass)}) (
cacheName As String
) As Tprotected:
generic<typename T>
where T : gcnew(), ContextCache<TClass>
static T GetInstance(
String^ cacheName
)
static member GetInstance :
cacheName : string -> 'T when 'T : new() and ContextCache<'TClass>
Parameters
- cacheName
- Type: SystemString
缓存名
Type Parameters
- T
[Missing <typeparam name="T"/> documentation for "M:Adf.Web.ContextCache`1.GetInstance``1(System.String)"]
Return Value
Type:
T[Missing <returns> documentation for "M:Adf.Web.ContextCache`1.GetInstance``1(System.String)"]
See Also