MemoryCacheExtensionMethodsGetOrCreateByKeywordListT Method
Namespace: Centralpoint.WebAssembly: Centralpoint.Web (in Centralpoint.Web.dll) Version: 1.0.0.0 (1.0.0.0)
public static T GetOrCreateByKeywordList<T>(
this Cache cache,
string key,
Func<T> create,
params string[] modules
)
<ExtensionAttribute>
Public Shared Function GetOrCreateByKeywordList(Of T) (
cache As Cache,
key As String,
create As Func(Of T),
ParamArray modules As String()
) As T
- cache Cache
-
- key String
-
- create FuncT
-
- modules String
-
- T
TIn Visual Basic and C#, you can call this method as an instance method on any object of type
Cache. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).