Implemented interface member:
method
AddService
System.ComponentModel.Design.IServiceContainer.AddService(System.Type, System.Object)
9 references to AddService
Aspire.Hosting.Tests (1)
Utils\TestServiceProvider.cs (1)
16
_serviceContainer.
AddService
(typeof(IDcpDependencyCheckService), new TestDcpDependencyCheckService());
DesignSurfaceExt (6)
DesignSurfaceExt.cs (6)
310
ServiceContainer.
AddService
(typeof(INameCreationService), _nameCreationService);
315
ServiceContainer.
AddService
(typeof(ComponentSerializationService), _codeDomComponentSerializationService);
320
ServiceContainer.
AddService
(typeof(IDesignerSerializationService), _designerSerializationService);
330
ServiceContainer.
AddService
(typeof(UndoEngine), _undoEngine);
333
ServiceContainer.
AddService
(typeof(IMenuCommandService), new MenuCommandService(this));
336
ServiceContainer.
AddService
(typeof(ITypeDiscoveryService), new TypeDiscoveryService());
System.Windows.Forms.Design (1)
System\ComponentModel\Design\DesignSurfaceServiceContainer.cs (1)
26
AddService
(serviceType, serviceInstance);
System.Windows.Forms.UI.IntegrationTests (1)
DesignBehaviorsTests.cs (1)
64
serviceContainer.
AddService
(typeof(IToolboxService), new SampleToolboxService(designerHost));