AddOrGetExisting(MemoryCache, string, TValue) Method

A MemoryCache extension method that adds an or get existing.
Namespace: Z.Caching.Extensions
Assembly: Z.ExtensionMethods.WithNamespace.dll

Syntax

public static TValue AddOrGetExisting(this MemoryCache cache, string key, TValue value)

Parameters

cache
Type:  MemoryCache
The cache to act on.
key
Type:  String
The key.
value
Type:  TValue
The value.

Return Value

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