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)
425surface.ServiceContainer.RemoveService(typeof(IExtenderProviderService)); 567surface.ServiceContainer.RemoveService(typeof(IExtenderProviderService)); 2616surface.ServiceContainer.RemoveService(typeof(IExtenderProviderService)); 2714surface.ServiceContainer.RemoveService(typeof(IExtenderProviderService));
System\ComponentModel\Design\DesignSurfaceTests.cs (6)
291Assert.Throws<InvalidOperationException>(() => container.RemoveService(serviceType)); 306container.RemoveService(serviceType); 310container.RemoveService(serviceType); 319Assert.Throws<ArgumentNullException>("serviceType", () => container.RemoveService(null)); 661surface.ServiceContainer.RemoveService(typeof(IExtenderProviderService)); 706surface.ServiceContainer.RemoveService(typeof(IExtenderProviderService));
System\ComponentModel\Design\SiteNestedContainerTests.cs (4)
332surface.ServiceContainer.RemoveService(typeof(IExtenderProviderService)); 483surface.ServiceContainer.RemoveService(typeof(IExtenderProviderService)); 746surface.ServiceContainer.RemoveService(typeof(IExtenderProviderService)); 840surface.ServiceContainer.RemoveService(typeof(IExtenderProviderService));