IMemoryCache Interfaz
Definición
Representa una caché local en memoria cuyos valores no se serializan.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
- Derivado
- Implementaciones
Métodos
| CreateEntry(Object) |
Crea o sobrescribe una entrada en la caché.Create or overwrite an entry in the cache. |
| Dispose() |
Realiza tareas definidas por la aplicación asociadas a la liberación o al restablecimiento de recursos no administrados.Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Heredado de IDisposable) |
| Remove(Object) |
Quita el objeto asociado a la clave dada.Removes the object associated with the given key. |
| TryGetValue(Object, Object) |
Obtiene el elemento asociado con esta clave si existe.Gets the item associated with this key if present. |