3 implementations of AddService
System.ComponentModel.TypeConverter (1)
System\ComponentModel\Design\ServiceContainer.cs (1)
99public void AddService(Type serviceType, ServiceCreatorCallback callback)
System.Windows.Forms.Design (2)
System\ComponentModel\Design\DesignerHost.cs (1)
1277void IServiceContainer.AddService(Type serviceType, ServiceCreatorCallback callback)
System\ComponentModel\Design\DesignerHost.Site.cs (1)
116void IServiceContainer.AddService(Type serviceType, ServiceCreatorCallback callback)
6 references to AddService
System.Windows.Forms.Design (3)
System\ComponentModel\Design\DesignerHost.cs (1)
1280sc.AddService(serviceType, callback);
System\ComponentModel\Design\DesignerHost.Site.cs (1)
118SiteServiceContainer.AddService(serviceType, callback);
System\ComponentModel\Design\ServiceContainerExtensions.cs (1)
12serviceContainer.AddService(typeof(T), callback);
System.Windows.Forms.Design.Tests (3)
System\ComponentModel\Design\DesignerHostTests.cs (3)
1167container.AddService(typeof(object), callback); 1758host.AddService(typeof(object), callback); 1789Assert.Throws<ObjectDisposedException>(() => host.AddService(typeof(object), callback));