1 implementation of GetSelectedComponents
System.Windows.Forms.Design (1)
System\ComponentModel\Design\SelectionService.cs (1)
339
ICollection ISelectionService.
GetSelectedComponents
()
74 references to GetSelectedComponents
System.Windows.Forms.Design (43)
System\ComponentModel\Design\ComponentDesigner.cs (1)
256
ICollection components = selectionService.
GetSelectedComponents
();
System\ComponentModel\Design\DesignerHost.cs (1)
1174
foreach (object item in ss.
GetSelectedComponents
())
System\ComponentModel\Design\UndoEngine.UndoUnit.cs (1)
34
ICollection selection = ss.
GetSelectedComponents
();
System\Windows\Forms\Design\Behavior\ContainerSelectorBehavior.cs (1)
217
ICollection selComps = selSvc.
GetSelectedComponents
();
System\Windows\Forms\Design\Behavior\ResizeBehavior.cs (1)
325
foreach (object component in selSvc.
GetSelectedComponents
())
System\Windows\Forms\Design\Behavior\SelectionManager.cs (1)
415
List<IComponent> selComps = [.._selectionService.
GetSelectedComponents
().Cast<IComponent>()];
System\Windows\Forms\Design\CommandSet.cs (13)
480
ICollection selectedComponents = SelectionService!.
GetSelectedComponents
();
807
List<IComponent> selComps = [..SelectionService.
GetSelectedComponents
().Cast<IComponent>()];
915
foreach (IComponent component in SelectionService.
GetSelectedComponents
())
983
ICollection comps = SelectionService.
GetSelectedComponents
();
1130
ICollection selectedComponents = SelectionService.
GetSelectedComponents
();
1251
ICollection selectedComponents = SelectionService.
GetSelectedComponents
();
1595
ICollection comps = SelectionService.
GetSelectedComponents
();
2288
ICollection sel = SelectionService.
GetSelectedComponents
();
2389
ICollection sel = SelectionService.
GetSelectedComponents
();
2530
ICollection sel = SelectionService.
GetSelectedComponents
();
2919
ICollection selection = SelectionService.
GetSelectedComponents
();
2998
ICollection selectedComponents = selSvc.
GetSelectedComponents
();
3051
ICollection selectedComponents = selSvc.
GetSelectedComponents
();
System\Windows\Forms\Design\ComponentTray.cs (1)
240
_selectedObjects = ((ISelectionService)sender).
GetSelectedComponents
();
System\Windows\Forms\Design\ControlCommandSet.cs (5)
295
ICollection sel = SelectionService.
GetSelectedComponents
();
626
List<IComponent> selComps = (List<IComponent>)selSvc.
GetSelectedComponents
();
753
foreach (IComponent component in selSvc.
GetSelectedComponents
())
992
ICollection sel = SelectionService.
GetSelectedComponents
();
1314
ICollection selectedComponents = SelectionService.
GetSelectedComponents
();
System\Windows\Forms\Design\ControlDesigner.cs (1)
1410
ICollection selComps = selectionService.
GetSelectedComponents
();
System\Windows\Forms\Design\DocumentDesigner.cs (2)
604
ICollection sels = s.
GetSelectedComponents
();
1153
ICollection selComponents = svc.
GetSelectedComponents
();
System\Windows\Forms\Design\OleDragDropHandler.ComponentDataObject.cs (1)
95
selectedComponents = selectionService.
GetSelectedComponents
();
System\Windows\Forms\Design\SelectionUIService.cs (2)
396
ICollection selection = _selSvc!.
GetSelectedComponents
();
972
ICollection col = _selSvc.
GetSelectedComponents
();
System\Windows\Forms\Design\SplitContainerDesigner.cs (1)
406
ICollection selComponents = svc.
GetSelectedComponents
();
System\Windows\Forms\Design\TabControlDesigner.cs (2)
406
ICollection selComponents = svc.
GetSelectedComponents
();
438
ICollection selComponents = svc.
GetSelectedComponents
();
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (1)
1475
ICollection selectedComps = selSvc.
GetSelectedComponents
();
System\Windows\Forms\Design\ToolStripContainerDesigner.cs (2)
245
ICollection selComponents = _selectionService!.
GetSelectedComponents
();
464
ICollection selectedComponents = _selectionService.
GetSelectedComponents
();
System\Windows\Forms\Design\ToolStripDesigner.cs (1)
1347
ICollection selComponents = SelectionService.
GetSelectedComponents
();
System\Windows\Forms\Design\ToolStripDropDownDesigner.cs (1)
201
ICollection selComponents = selectionService.
GetSelectedComponents
();
System\Windows\Forms\Design\ToolStripItemBehavior.cs (2)
300
originalSelComps = selSvc.
GetSelectedComponents
();
586
ICollection selComps = selSvc.
GetSelectedComponents
();
System\Windows\Forms\Design\ToolStripKeyboardHandlingService.cs (1)
2046
ICollection originalSelComps = selSvc.
GetSelectedComponents
();
System\Windows\Forms\Design\ToolStripMenuItemDesigner.cs (1)
2179
originalSelComps = selectionSvc.
GetSelectedComponents
();
System.Windows.Forms.Design.Tests (31)
System\ComponentModel\Design\ComponentDesignerTests.cs (31)
793
.Setup(s => s.
GetSelectedComponents
())
908
.Setup(s => s.
GetSelectedComponents
())
959
mockSelectionService.Verify(s => s.
GetSelectedComponents
(), Times.Once());
972
mockSelectionService.Verify(s => s.
GetSelectedComponents
(), Times.Exactly(2));
1017
.Setup(s => s.
GetSelectedComponents
())
1072
mockSelectionService.Verify(s => s.
GetSelectedComponents
(), Times.Once());
1096
mockSelectionService.Verify(s => s.
GetSelectedComponents
(), Times.Exactly(2));
1125
.Setup(s => s.
GetSelectedComponents
())
1178
mockSelectionService.Verify(s => s.
GetSelectedComponents
(), Times.Once());
1189
mockSelectionService.Verify(s => s.
GetSelectedComponents
(), Times.Exactly(2));
1218
.Setup(s => s.
GetSelectedComponents
())
1271
mockSelectionService.Verify(s => s.
GetSelectedComponents
(), Times.Once());
1282
mockSelectionService.Verify(s => s.
GetSelectedComponents
(), Times.Exactly(2));
1309
.Setup(s => s.
GetSelectedComponents
())
1361
mockSelectionService.Verify(s => s.
GetSelectedComponents
(), Times.Once());
1372
mockSelectionService.Verify(s => s.
GetSelectedComponents
(), Times.Exactly(2));
1403
.Setup(s => s.
GetSelectedComponents
())
1456
mockSelectionService.Verify(s => s.
GetSelectedComponents
(), Times.Once());
1469
mockSelectionService.Verify(s => s.
GetSelectedComponents
(), Times.Exactly(2));
1510
.Setup(s => s.
GetSelectedComponents
())
1563
mockSelectionService.Verify(s => s.
GetSelectedComponents
(), Times.Once());
1576
mockSelectionService.Verify(s => s.
GetSelectedComponents
(), Times.Exactly(2));
1608
.Setup(s => s.
GetSelectedComponents
())
1660
mockSelectionService.Verify(s => s.
GetSelectedComponents
(), Times.Once());
1670
mockSelectionService.Verify(s => s.
GetSelectedComponents
(), Times.Exactly(2));
1691
.Setup(s => s.
GetSelectedComponents
())
1738
mockSelectionService.Verify(s => s.
GetSelectedComponents
(), Times.Once());
1745
mockSelectionService.Verify(s => s.
GetSelectedComponents
(), Times.Exactly(2));
1881
.Setup(s => s.
GetSelectedComponents
())
1932
mockSelectionService.Verify(s => s.
GetSelectedComponents
(), Times.Once());
1944
mockSelectionService.Verify(s => s.
GetSelectedComponents
(), Times.Exactly(2));