public object GetService(Type serviceType) { if (!_container.Kernel.HasComponent(serviceType)) return null; return _container.Resolve(serviceType); }