Ninject.Activation.Caching.Cache.Clear C# (CSharp) Method

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