AddOrGetExisting(MemoryCache, string, Func`2, CacheItemPolicy, string) Method

Namespace: Z.Caching.Extensions
Assembly: Z.ExtensionMethods.WithNamespace.dll

Syntax

public static TValue AddOrGetExisting(this MemoryCache cache, string key, Func`2 valueFactory, CacheItemPolicy policy, string regionName = )

Parameters

cache
Type:  MemoryCache
key
Type:  String
valueFactory
Type:  Func`2
policy
regionName
Type:  String

Return Value

Type:  TValue
Powered by ZZZ Projects .NET Documentation Generator 0.0.2 (Alpha)