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)
36
RemoveService
(serviceType);
System.Windows.Forms.Design.Tests (14)
System\ComponentModel\Design\DesignerHostTests.cs (4)
427
surface.ServiceContainer.
RemoveService
(typeof(IExtenderProviderService));
569
surface.ServiceContainer.
RemoveService
(typeof(IExtenderProviderService));
2618
surface.ServiceContainer.
RemoveService
(typeof(IExtenderProviderService));
2716
surface.ServiceContainer.
RemoveService
(typeof(IExtenderProviderService));
System\ComponentModel\Design\DesignSurfaceTests.cs (6)
293
Assert.Throws<InvalidOperationException>(() => container.
RemoveService
(serviceType));
308
container.
RemoveService
(serviceType);
312
container.
RemoveService
(serviceType);
321
Assert.Throws<ArgumentNullException>("serviceType", () => container.
RemoveService
(null));
663
surface.ServiceContainer.
RemoveService
(typeof(IExtenderProviderService));
708
surface.ServiceContainer.
RemoveService
(typeof(IExtenderProviderService));
System\ComponentModel\Design\SiteNestedContainerTests.cs (4)
334
surface.ServiceContainer.
RemoveService
(typeof(IExtenderProviderService));
485
surface.ServiceContainer.
RemoveService
(typeof(IExtenderProviderService));
748
surface.ServiceContainer.
RemoveService
(typeof(IExtenderProviderService));
842
surface.ServiceContainer.
RemoveService
(typeof(IExtenderProviderService));