2 writes to _selectionService
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\Behavior\SelectionManager.cs (2)
49
_selectionService
= serviceProvider.GetRequiredService<ISelectionService>();
199
_selectionService
= null!;
6 references to _selectionService
System.Windows.Forms.Design (6)
System\Windows\Forms\Design\Behavior\SelectionManager.cs (6)
58
_selectionService
.SelectionChanged += OnSelectionChanged;
196
if (
_selectionService
is not null)
198
_selectionService
.SelectionChanged -= OnSelectionChanged;
287
if (
_selectionService
.GetComponentSelected(ce.Component!))
415
List<IComponent> selComps =
_selectionService
.GetSelectedComponents().Cast<IComponent>().ToList();
416
object? primarySelection =
_selectionService
.PrimarySelection;