Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
Home
Ninject
Activation
Caching
Cache
Clear
Ninject.Activation.Caching.Cache.Clear C# (CSharp) Method
Cache Class Documentation
显示文件
Open project: Haacked/ninject
Clear()
public
method
Immediately deactivates and removes all instances in the cache, regardless of scope.
public
Clear
( ) :
void
return
void
public void Clear() { lock (_entries) { _entries.SelectMany(e => e.Value).ToArray().Map(Forget); } }
Cache
Cache
Clear
Dispose
DisposeRequestScoped
Forget
GetEntriesCache
GetItemFromCache
GetRequestScopedDisposables
Prune
Remember
TryGet