public void Dispose() { _allControllers?.GetEnumerator().Dispose(); _cache.Dispose(); //_typeActivatorCache.Dispose(); }
public void Dispose() { if (_allControllers != null) { _allControllers.GetEnumerator().Dispose(); } _cache.Dispose(); _typeActivatorCache.Dispose(); }