protected System.Object GetService(System.Type service) { return host.GetService (service); }
public object GetService(Type serviceType) { if (serviceType == typeof(IDictionaryService)) { if (dict == null) { dict = new Hashtable(); } return(this); } return(container.GetService(serviceType)); }