public object GetService(Type serviceType) { if (this.serviceProvider == null) { return null; } return this.serviceProvider.GetService(serviceType); } #endregion