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

Prune() public méthode

Removes instances from the cache which should no longer be re-used.
public Prune ( ) : void
Résultat void
        public void Prune()
        {
            lock (_entries)
            {
                _entries.SelectMany(e => e.Value).Where(e => !e.Scope.IsAlive).ToArray().Map(Forget);
            }
        }