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)
310ServiceContainer.AddService(typeof(INameCreationService), _nameCreationService); 315ServiceContainer.AddService(typeof(ComponentSerializationService), _codeDomComponentSerializationService); 320ServiceContainer.AddService(typeof(IDesignerSerializationService), _designerSerializationService); 330ServiceContainer.AddService(typeof(UndoEngine), _undoEngine); 333ServiceContainer.AddService(typeof(IMenuCommandService), new MenuCommandService(this)); 336ServiceContainer.AddService(typeof(ITypeDiscoveryService), new TypeDiscoveryService());
System.Windows.Forms.Design (1)
System\ComponentModel\Design\DesignSurfaceServiceContainer.cs (1)
26AddService(serviceType, serviceInstance);
System.Windows.Forms.UI.IntegrationTests (1)
DesignBehaviorsTests.cs (1)
64serviceContainer.AddService(typeof(IToolboxService), new SampleToolboxService(designerHost));