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