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)
121
if (
_serviceProvider
is not null)
123
if (
_serviceProvider
.TryGetService(out IComponentChangeService? cs))
130
IMenuCommandService? mcs =
_serviceProvider
.GetService<IMenuCommandService>();
185
DesignerActionBehavior dab = new(
_serviceProvider
, comp, dalColl, this);
192
ComponentTray? componentTray =
_serviceProvider
.GetService<ComponentTray>();
279
IDesignerHost? host =
_serviceProvider
.GetService<IDesignerHost>();
302
IDesignerHost host =
_serviceProvider
.GetRequiredService<IDesignerHost>();
350
ComponentTray? compTray =
_serviceProvider
.GetService<ComponentTray>();
531
_serviceProvider
.GetService<ComponentTray>()?.SelectionGlyphs?.Remove(glyph);
538
if (
_serviceProvider
.TryGetService(out IDesignerHost? host) && host.InTransaction)
549
if (
_serviceProvider
.TryGetService(out IDesignerHost? host))
681
if (
_serviceProvider
.GetService(typeof(ComponentTray)) is ComponentTray compTray)
739
_designerActionKeyboardBehavior = new DesignerActionKeyboardBehavior(_designerActionHost.CurrentPanel,
_serviceProvider
, _behaviorService);