1 implementation of RemoveExtenderProvider
System.Windows.Forms.Design (1)
System\ComponentModel\Design\ExtenderProviderService.cs (1)
45
void IExtenderProviderService.
RemoveExtenderProvider
(IExtenderProvider provider)
28 references to RemoveExtenderProvider
System.Windows.Forms.Design (6)
System\ComponentModel\Design\DesignerHost.cs (2)
648
eps.
RemoveExtenderProvider
(extenderComponent);
656
eps.
RemoveExtenderProvider
(extenderDesigner);
System\ComponentModel\Design\Serialization\CodeDomDesignerLoader.cs (1)
114
_extenderProviderService.
RemoveExtenderProvider
(provider);
System\ComponentModel\Design\Serialization\CodeDomLocalizationProvider.cs (1)
62
_providerService.
RemoveExtenderProvider
(_extender);
System\Windows\Forms\Design\ComponentTray.cs (1)
858
es?.
RemoveExtenderProvider
(this);
System\Windows\Forms\Design\DesignerExtenders.cs (1)
46
_extenderService.
RemoveExtenderProvider
(_providers[i]);
System.Windows.Forms.Design.Tests (22)
System\ComponentModel\Design\DesignerHostTests.cs (8)
405
.Setup(s => s.
RemoveExtenderProvider
(component as IExtenderProvider));
476
.Setup(s => s.
RemoveExtenderProvider
(component as IExtenderProvider));
2595
.Setup(s => s.
RemoveExtenderProvider
(component as IExtenderProvider))
2629
mockExtenderProviderService.Verify(s => s.
RemoveExtenderProvider
(component as IExtenderProvider), Times.Exactly(expectedRemoveCallCount));
2636
mockExtenderProviderService.Verify(s => s.
RemoveExtenderProvider
(component as IExtenderProvider), Times.Exactly(expectedRemoveCallCount));
2666
.Setup(s => s.
RemoveExtenderProvider
(component as IExtenderProvider));
2699
mockExtenderProviderService.Verify(s => s.
RemoveExtenderProvider
(component as IExtenderProvider), Times.Never());
2706
mockExtenderProviderService.Verify(s => s.
RemoveExtenderProvider
(component as IExtenderProvider), Times.Never());
System\ComponentModel\Design\ExtenderProviderServiceTests.cs (5)
72
providerService.
RemoveExtenderProvider
(mockExtenderProvider1.Object);
76
providerService.
RemoveExtenderProvider
(mockExtenderProvider1.Object);
80
providerService.
RemoveExtenderProvider
(mockExtenderProvider2.Object);
92
providerService.
RemoveExtenderProvider
(mockExtenderProvider.Object);
102
Assert.Throws<ArgumentNullException>("provider", () => providerService.
RemoveExtenderProvider
(null));
System\ComponentModel\Design\SiteNestedContainerTests.cs (8)
309
.Setup(s => s.
RemoveExtenderProvider
(component as IExtenderProvider));
385
.Setup(s => s.
RemoveExtenderProvider
(component as IExtenderProvider));
731
.Setup(s => s.
RemoveExtenderProvider
(component as IExtenderProvider))
760
mockExtenderProviderService.Verify(s => s.
RemoveExtenderProvider
(component as IExtenderProvider), Times.Exactly(expectedRemoveCallCount));
767
mockExtenderProviderService.Verify(s => s.
RemoveExtenderProvider
(component as IExtenderProvider), Times.Exactly(expectedRemoveCallCount));
797
.Setup(s => s.
RemoveExtenderProvider
(component as IExtenderProvider));
825
mockExtenderProviderService.Verify(s => s.
RemoveExtenderProvider
(component as IExtenderProvider), Times.Never());
832
mockExtenderProviderService.Verify(s => s.
RemoveExtenderProvider
(component as IExtenderProvider), Times.Never());
System\Windows\Forms\Design\DesignerExtendersTests.cs (1)
27
extenderServiceMock.Verify(s => s.
RemoveExtenderProvider
(It.IsAny<IExtenderProvider>()), Times.Exactly(2));