22 references to ServiceContainer
DesignSurfaceExt (13)
DesignSurfaceExt.cs (13)
309ServiceContainer.RemoveService(typeof(INameCreationService), false); 310ServiceContainer.AddService(typeof(INameCreationService), _nameCreationService); 313_codeDomComponentSerializationService = new CodeDomComponentSerializationService(ServiceContainer); 314ServiceContainer.RemoveService(typeof(ComponentSerializationService), false); 315ServiceContainer.AddService(typeof(ComponentSerializationService), _codeDomComponentSerializationService); 318_designerSerializationService = new DesignerSerializationServiceImpl(ServiceContainer); 319ServiceContainer.RemoveService(typeof(IDesignerSerializationService), false); 320ServiceContainer.AddService(typeof(IDesignerSerializationService), _designerSerializationService); 323_undoEngine = new UndoEngineExt(ServiceContainer) 329ServiceContainer.RemoveService(typeof(UndoEngine), false); 330ServiceContainer.AddService(typeof(UndoEngine), _undoEngine); 333ServiceContainer.AddService(typeof(IMenuCommandService), new MenuCommandService(this)); 336ServiceContainer.AddService(typeof(ITypeDiscoveryService), new TypeDiscoveryService());
System.Windows.Forms.Design (6)
System\ComponentModel\Design\DesignSurface.cs (6)
38ServiceContainer.AddService<ISelectionService>(callback); 39ServiceContainer.AddService<IExtenderProviderService>(callback); 40ServiceContainer.AddService<IExtenderListService>(callback); 41ServiceContainer.AddService<ITypeDescriptorFilterService>(callback); 42ServiceContainer.AddService<IReferenceService>(callback); 44ServiceContainer.AddService(this);
System.Windows.Forms.Design.Tests (3)
System\ComponentModel\Design\DesignerHostTests.cs (1)
3157public new ServiceContainer ServiceContainer => base.ServiceContainer;
System\ComponentModel\Design\DesignSurfaceTests.cs (1)
1731public new ServiceContainer ServiceContainer => base.ServiceContainer;
System\ComponentModel\Design\SiteNestedContainerTests.cs (1)
1027public new ServiceContainer ServiceContainer => base.ServiceContainer;