Implemented interface member:
method
RemoveService
System.ComponentModel.Design.IServiceContainer.RemoveService(System.Type)
15 references to RemoveService
System.Windows.Forms.Design (1)
System\ComponentModel\Design\DesignSurfaceServiceContainer.cs (1)
36RemoveService(serviceType);
System.Windows.Forms.Design.Tests (14)
System\ComponentModel\Design\DesignerHostTests.cs (4)
427surface.ServiceContainer.RemoveService(typeof(IExtenderProviderService)); 569surface.ServiceContainer.RemoveService(typeof(IExtenderProviderService)); 2618surface.ServiceContainer.RemoveService(typeof(IExtenderProviderService)); 2716surface.ServiceContainer.RemoveService(typeof(IExtenderProviderService));
System\ComponentModel\Design\DesignSurfaceTests.cs (6)
293Assert.Throws<InvalidOperationException>(() => container.RemoveService(serviceType)); 308container.RemoveService(serviceType); 312container.RemoveService(serviceType); 321Assert.Throws<ArgumentNullException>("serviceType", () => container.RemoveService(null)); 663surface.ServiceContainer.RemoveService(typeof(IExtenderProviderService)); 708surface.ServiceContainer.RemoveService(typeof(IExtenderProviderService));
System\ComponentModel\Design\SiteNestedContainerTests.cs (4)
334surface.ServiceContainer.RemoveService(typeof(IExtenderProviderService)); 485surface.ServiceContainer.RemoveService(typeof(IExtenderProviderService)); 748surface.ServiceContainer.RemoveService(typeof(IExtenderProviderService)); 842surface.ServiceContainer.RemoveService(typeof(IExtenderProviderService));