IMemoryCache インターフェイス
定義
値がシリアル化されないローカルのメモリ内キャッシュを表します。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
- 派生
- 実装
メソッド
CreateEntry(Object) |
キャッシュ内のエントリを作成または上書きします。Create or overwrite an entry in the cache. |
Dispose() |
アンマネージ リソースの解放またはリセットに関連付けられているアプリケーション定義のタスクを実行します。Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (継承元 IDisposable) |
Remove(Object) |
指定されたキーに関連付けられているオブジェクトを削除します。Removes the object associated with the given key. |
TryGetValue(Object, Object) |
このキーに関連付けられている項目 (存在する場合) を取得します。Gets the item associated with this key if present. |