1 implementation of RemoveExtenderProvider
System.Windows.Forms.Design (1)
System\ComponentModel\Design\ExtenderProviderService.cs (1)
45void IExtenderProviderService.RemoveExtenderProvider(IExtenderProvider provider)
28 references to RemoveExtenderProvider
System.Windows.Forms.Design (6)
System\ComponentModel\Design\DesignerHost.cs (2)
648eps.RemoveExtenderProvider(extenderComponent); 656eps.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)
858es?.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)) 2629mockExtenderProviderService.Verify(s => s.RemoveExtenderProvider(component as IExtenderProvider), Times.Exactly(expectedRemoveCallCount)); 2636mockExtenderProviderService.Verify(s => s.RemoveExtenderProvider(component as IExtenderProvider), Times.Exactly(expectedRemoveCallCount)); 2666.Setup(s => s.RemoveExtenderProvider(component as IExtenderProvider)); 2699mockExtenderProviderService.Verify(s => s.RemoveExtenderProvider(component as IExtenderProvider), Times.Never()); 2706mockExtenderProviderService.Verify(s => s.RemoveExtenderProvider(component as IExtenderProvider), Times.Never());
System\ComponentModel\Design\ExtenderProviderServiceTests.cs (5)
72providerService.RemoveExtenderProvider(mockExtenderProvider1.Object); 76providerService.RemoveExtenderProvider(mockExtenderProvider1.Object); 80providerService.RemoveExtenderProvider(mockExtenderProvider2.Object); 92providerService.RemoveExtenderProvider(mockExtenderProvider.Object); 102Assert.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)) 760mockExtenderProviderService.Verify(s => s.RemoveExtenderProvider(component as IExtenderProvider), Times.Exactly(expectedRemoveCallCount)); 767mockExtenderProviderService.Verify(s => s.RemoveExtenderProvider(component as IExtenderProvider), Times.Exactly(expectedRemoveCallCount)); 797.Setup(s => s.RemoveExtenderProvider(component as IExtenderProvider)); 825mockExtenderProviderService.Verify(s => s.RemoveExtenderProvider(component as IExtenderProvider), Times.Never()); 832mockExtenderProviderService.Verify(s => s.RemoveExtenderProvider(component as IExtenderProvider), Times.Never());
System\Windows\Forms\Design\DesignerExtendersTests.cs (1)
27extenderServiceMock.Verify(s => s.RemoveExtenderProvider(It.IsAny<IExtenderProvider>()), Times.Exactly(2));