IMemoryCache Arabirim
Tanım
Değerleri serileştirilmemiş olan yerel bir bellek içi önbelleği temsil eder.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
- Türetilmiş
- Uygulamalar
Yöntemler
| CreateEntry(Object) |
Önbellekte bir girdi oluşturun veya üzerine yazın.Create or overwrite an entry in the cache. |
| Dispose() |
Uygulama tarafından tanımlanan, yönetilmeyen kaynakları serbest bırakma, salma veya sıfırlama ile ilişkili görevleri gerçekleştirir.Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Devralındığı yer: IDisposable) |
| Remove(Object) |
Verilen anahtarla ilişkili nesneyi kaldırır.Removes the object associated with the given key. |
| TryGetValue(Object, Object) |
Varsa, bu anahtarla ilişkili öğeyi alır.Gets the item associated with this key if present. |