IMemoryCache Interface
Definition
Represents a local in-memory cache whose values are not serialized.
public interface class IMemoryCache : IDisposable
public interface IMemoryCache : IDisposable
type IMemoryCache = interface
interface IDisposable
Public Interface IMemoryCache
Implements IDisposable
- Derived
- Implements
Methods
CreateEntry(Object) |
Create or overwrite an entry in the cache. |
Dispose() |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable) |
Remove(Object) |
Removes the object associated with the given key. |
TryGetValue(Object, Object) |
Gets the item associated with this key if present. |