public object GetService(Type serviceType) { if (_container == null) throw new ObjectDisposedException("this", "This scope has already been disposed."); return _container.TryGetInstance(serviceType); }