Skip to main content

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
TypeName
System.Objectkey

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
TypeName
System.Objectkey

TryGetValue(object, out object)

Declaration
public bool TryGetValue(object key, out object value)
Returns

System.Boolean

Parameters
TypeName
System.Objectkey
System.Objectvalue

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

Was this page helpful?