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