Toggle navigation
Hot Examples
FR
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Rechercher
Accueil
Ninject
Activation
Caching
Cache
Clear
Ninject.Activation.Caching.Cache.Clear C# (CSharp) Méthode
Cache Class Documentation
Afficher le fichier
Open project: Haacked/ninject
Clear()
public
méthode
Immediately deactivates and removes all instances in the cache, regardless of scope.
public
Clear
( ) :
void
Résultat
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