public static SimpleInjectorProvider Current() { lock (Locker) { return(_currentInjector ?? (_currentInjector = new SimpleInjectorProvider())); } }
protected virtual void Dispose(bool disposing) { if (disposing) { _container?.Dispose(); _currentInjector = null; } }