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