Class NullMemoryCache
A null implementation of Microsoft.Extensions.Caching.Memory.IMemoryCache
that does nothing.
Namespace: Workspace.XBR.Xperiflow.Utilities.Cache
Assembly: Xperiflow.dll
Declaration
public class NullMemoryCache : IMemoryCache, IDisposable
Implements:
Microsoft.Extensions.Caching.Memory.IMemoryCache
, System.IDisposable
Methods
CreateEntry(object)
Declaration
public ICacheEntry CreateEntry(object key)
Returns
Microsoft.Extensions.Caching.Memory.ICacheEntry
Parameters
Type | Name |
---|---|
System.Object | key |
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
public void Dispose()
Remove(object)
Declaration
public void Remove(object key)
Parameters
Type | Name |
---|---|
System.Object | key |
TryGetValue(object, out object)
Declaration
public bool TryGetValue(object key, out object value)
Returns
System.Boolean
Parameters
Type | Name |
---|---|
System.Object | key |
System.Object | value |
Implements
Microsoft.Extensions.Caching.Memory.IMemoryCache
System.IDisposable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object,System.Object)
System.Object.GetHashCode
System.Object.GetType
System.Object.MemberwiseClone
System.Object.ReferenceEquals(System.Object,System.Object)
System.Object.ToString