Ninject.Activation.Caching.Cache.Clear C# (CSharp) Méthode

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);
            }
        }