2 writes to _serviceProvider
System.Windows.Forms.Design (2)
System\ComponentModel\Design\DesignerActionUI.cs (2)
54_serviceProvider = serviceProvider; 135_serviceProvider = null!;
13 references to _serviceProvider
System.Windows.Forms.Design (13)
System\ComponentModel\Design\DesignerActionUI.cs (13)
121if (_serviceProvider is not null) 123if (_serviceProvider.TryGetService(out IComponentChangeService? cs)) 130IMenuCommandService? mcs = _serviceProvider.GetService<IMenuCommandService>(); 185DesignerActionBehavior dab = new(_serviceProvider, comp, dalColl, this); 192ComponentTray? componentTray = _serviceProvider.GetService<ComponentTray>(); 279IDesignerHost? host = _serviceProvider.GetService<IDesignerHost>(); 302IDesignerHost host = _serviceProvider.GetRequiredService<IDesignerHost>(); 350ComponentTray? compTray = _serviceProvider.GetService<ComponentTray>(); 531_serviceProvider.GetService<ComponentTray>()?.SelectionGlyphs?.Remove(glyph); 538if (_serviceProvider.TryGetService(out IDesignerHost? host) && host.InTransaction) 549if (_serviceProvider.TryGetService(out IDesignerHost? host)) 681if (_serviceProvider.GetService(typeof(ComponentTray)) is ComponentTray compTray) 739_designerActionKeyboardBehavior = new DesignerActionKeyboardBehavior(_designerActionHost.CurrentPanel, _serviceProvider, _behaviorService);