1 implementation of AddExtenderProvider
System.Windows.Forms.Design (1)
System\ComponentModel\Design\ExtenderProviderService.cs (1)
28void IExtenderProviderService.AddExtenderProvider(IExtenderProvider provider)
39 references to AddExtenderProvider
System.Windows.Forms.Design (7)
System\ComponentModel\Design\DesignerHost.cs (3)
237eps.AddExtenderProvider(extenderComponent); 291eps.AddExtenderProvider(extenderProvider); 323eps.AddExtenderProvider(extenderProvider);
System\ComponentModel\Design\Serialization\CodeDomDesignerLoader.cs (1)
617_extenderProviderService.AddExtenderProvider(p);
System\ComponentModel\Design\Serialization\CodeDomLocalizationProvider.cs (1)
79_providerService.AddExtenderProvider(_extender);
System\Windows\Forms\Design\ComponentTray.cs (1)
88es?.AddExtenderProvider(this);
System\Windows\Forms\Design\DesignerExtenders.cs (1)
32ex.AddExtenderProvider(_providers[i]);
System.Windows.Forms.Design.Tests (32)
System\ComponentModel\Design\DesignerHostTests.cs (11)
402.Setup(s => s.AddExtenderProvider(component as IExtenderProvider)) 432mockExtenderProviderService.Verify(s => s.AddExtenderProvider(component as IExtenderProvider), Times.Exactly(expectedCallCount)); 439mockExtenderProviderService.Verify(s => s.AddExtenderProvider(component as IExtenderProvider), Times.Exactly(expectedCallCount)); 446mockExtenderProviderService.Verify(s => s.AddExtenderProvider(component as IExtenderProvider), Times.Exactly(expectedCallCount)); 473.Setup(s => s.AddExtenderProvider(component as IExtenderProvider)) 502mockExtenderProviderService.Verify(s => s.AddExtenderProvider(component as IExtenderProvider), Times.Never()); 509mockExtenderProviderService.Verify(s => s.AddExtenderProvider(component as IExtenderProvider), Times.Never()); 516mockExtenderProviderService.Verify(s => s.AddExtenderProvider(component as IExtenderProvider), Times.Never()); 2593.Setup(s => s.AddExtenderProvider(component as IExtenderProvider)); 2663.Setup(s => s.AddExtenderProvider(component as IExtenderProvider)) 2692mockExtenderProviderService.Verify(s => s.AddExtenderProvider(component as IExtenderProvider), Times.Never());
System\ComponentModel\Design\DesignSurfaceTests.cs (3)
648.Setup(s => s.AddExtenderProvider(It.IsAny<IExtenderProvider>())) 673mockExtenderProviderService.Verify(s => s.AddExtenderProvider(mockExtenderProvider.Object), Times.Once()); 681mockExtenderProviderService.Verify(s => s.AddExtenderProvider(mockExtenderProvider.Object), Times.Once());
System\ComponentModel\Design\ExtenderProviderServiceTests.cs (7)
29providerService.AddExtenderProvider(mockExtenderProvider1.Object); 33providerService.AddExtenderProvider(mockExtenderProvider2.Object); 43Assert.Throws<ArgumentNullException>("provider", () => providerService.AddExtenderProvider(null)); 55providerService.AddExtenderProvider(mockExtenderProvider.Object); 56Assert.Throws<ArgumentException>("provider", () => providerService.AddExtenderProvider(mockExtenderProvider.Object)); 69providerService.AddExtenderProvider(mockExtenderProvider1.Object); 70providerService.AddExtenderProvider(mockExtenderProvider2.Object);
System\ComponentModel\Design\SiteNestedContainerTests.cs (11)
306.Setup(s => s.AddExtenderProvider(component as IExtenderProvider)) 341mockExtenderProviderService.Verify(s => s.AddExtenderProvider(component as IExtenderProvider), Times.Exactly(expectedCallCount)); 348mockExtenderProviderService.Verify(s => s.AddExtenderProvider(component as IExtenderProvider), Times.Exactly(expectedCallCount * 2)); 355mockExtenderProviderService.Verify(s => s.AddExtenderProvider(component as IExtenderProvider), Times.Exactly(expectedCallCount * 3)); 382.Setup(s => s.AddExtenderProvider(component as IExtenderProvider)) 412mockExtenderProviderService.Verify(s => s.AddExtenderProvider(component as IExtenderProvider), Times.Never()); 429mockExtenderProviderService.Verify(s => s.AddExtenderProvider(component as IExtenderProvider), Times.Never()); 444mockExtenderProviderService.Verify(s => s.AddExtenderProvider(component as IExtenderProvider), Times.Never()); 729.Setup(s => s.AddExtenderProvider(component as IExtenderProvider)); 794.Setup(s => s.AddExtenderProvider(component as IExtenderProvider)) 818mockExtenderProviderService.Verify(s => s.AddExtenderProvider(component as IExtenderProvider), Times.Never());