CacheExtensions.Get CacheExtensions.Get CacheExtensions.Get Method

Definition

Overloads

Get(IMemoryCache, Object) Get(IMemoryCache, Object) Get(IMemoryCache, Object)
Get<TItem>(IMemoryCache, Object) Get<TItem>(IMemoryCache, Object) Get<TItem>(IMemoryCache, Object)

Get(IMemoryCache, Object) Get(IMemoryCache, Object) Get(IMemoryCache, Object)

public static object Get (this Microsoft.Extensions.Caching.Memory.IMemoryCache cache, object key);
static member Get : Microsoft.Extensions.Caching.Memory.IMemoryCache * obj -> obj
<Extension()>
Public Function Get (cache As IMemoryCache, key As Object) As Object
Parameters
Returns

Get<TItem>(IMemoryCache, Object) Get<TItem>(IMemoryCache, Object) Get<TItem>(IMemoryCache, Object)

public static TItem Get<TItem> (this Microsoft.Extensions.Caching.Memory.IMemoryCache cache, object key);
static member Get : Microsoft.Extensions.Caching.Memory.IMemoryCache * obj -> 'Item
<Extension()>
Public Function Get(Of TItem) (cache As IMemoryCache, key As Object) As TItem
Type Parameters
TItem
Parameters
Returns

Applies to