public static TResult FetchThrough<TKey, TResult>(
this ICache cache,
TKey key,
string tblCache,
ICacheParams caching,
Func<TKey, TResult> fFetch,
Func<TKey, TResult, TResult> fFilter = null
)
where TResult : class
public static TResult FetchThrough<TKey, TResult>(
this ICache cache,
TKey key,
string tblCache,
ICacheParams caching,
Func<TKey, TResult> fFetch,
Func<TKey, TResult, TResult> fFilter = null
)
where TResult : class
<ExtensionAttribute>
Public Shared Function FetchThrough(Of TKey, TResult As Class) (
cache As ICache,
key As TKey,
tblCache As String,
caching As ICacheParams,
fFetch As Func(Of TKey, TResult),
Optional fFilter As Func(Of TKey, TResult, TResult) = Nothing
) As TResult
<ExtensionAttribute>
Public Shared Function FetchThrough(Of TKey, TResult As Class) (
cache As ICache,
key As TKey,
tblCache As String,
caching As ICacheParams,
fFetch As Func(Of TKey, TResult),
Optional fFilter As Func(Of TKey, TResult, TResult) = Nothing
) As TResult
public:
[ExtensionAttribute]
generic<typename TKey, typename TResult>
where TResult : ref class
static TResult FetchThrough(
ICache^ cache,
TKey key,
String^ tblCache,
ICacheParams^ caching,
Func<TKey, TResult>^ fFetch,
Func<TKey, TResult, TResult>^ fFilter = nullptr
)
public:
[ExtensionAttribute]
generic<typename TKey, typename TResult>
where TResult : ref class
static TResult FetchThrough(
ICache^ cache,
TKey key,
String^ tblCache,
ICacheParams^ caching,
Func<TKey, TResult>^ fFetch,
Func<TKey, TResult, TResult>^ fFilter = nullptr
)
static member FetchThrough :
cache : ICache *
key : 'TKey *
tblCache : string *
caching : ICacheParams *
fFetch : Func<'TKey, 'TResult> *
?fFilter : Func<'TKey, 'TResult, 'TResult>
(* Defaults:
let _fFilter = defaultArg fFilter null
*)
-> 'TResult when 'TResult : not struct
static member FetchThrough :
cache : ICache *
key : 'TKey *
tblCache : string *
caching : ICacheParams *
fFetch : Func<'TKey, 'TResult> *
?fFilter : Func<'TKey, 'TResult, 'TResult>
(* Defaults:
let _fFilter = defaultArg fFilter null
*)
-> 'TResult when 'TResult : not struct