197 references to ISelectionService
System (1)
compmod\system\componentmodel\design\ISelectionService.cs (1)
40
/// Adds a <see cref='System.ComponentModel.Design.
ISelectionService
.SelectionChanged'/> event handler to the selection service.
System.Windows.Forms (19)
winforms\Managed\System\WinForms\AxHost.cs (10)
1208
private
ISelectionService
GetSelectionService() {
1212
private static
ISelectionService
GetSelectionService(Control ctl) {
1215
Object o = site.GetService(typeof(
ISelectionService
));
1216
Debug.Assert(o == null || o is
ISelectionService
, "service must implement ISelectionService");
1218
return o as
ISelectionService
;
1225
ISelectionService
iss = GetSelectionService();
1253
ISelectionService
iss = GetSelectionService();
1360
ISelectionService
iss = GetSelectionService();
2665
ISelectionService
iss = GetSelectionService();
5551
ISelectionService
iss = GetSelectionService(ctl);
winforms\Managed\System\WinForms\WebBrowserBase.cs (4)
799
ISelectionService
iss = WebBrowserHelper.GetSelectionService(this);
816
ISelectionService
iss = WebBrowserHelper.GetSelectionService(this);
828
ISelectionService
iss = WebBrowserHelper.GetSelectionService(this);
1122
ISelectionService
iss = WebBrowserHelper.GetSelectionService(this);
winforms\Managed\System\WinForms\WebBrowserHelper.cs (5)
151
internal static
ISelectionService
GetSelectionService(Control ctl) {
154
Object o = site.GetService(typeof(
ISelectionService
));
155
Debug.Assert(o == null || o is
ISelectionService
, "service must implement ISelectionService");
156
if (o is
ISelectionService
) {
157
return(
ISelectionService
) o;
System.Workflow.Activities (7)
Designers\StateDesigner.cs (7)
65
private
ISelectionService
_selectionService;
753
internal
ISelectionService
SelectionService
759
_selectionService = (
ISelectionService
)this.GetService(typeof(
ISelectionService
));
1794
ISelectionService
selectionService = this.GetService(typeof(
ISelectionService
)) as
ISelectionService
;
System.Workflow.ComponentModel (161)
AuthoringOM\Design\ActivityDesigner.cs (15)
135
ISelectionService
selectionService = GetService(typeof(
ISelectionService
)) as
ISelectionService
;
147
ISelectionService
selectionService = GetService(typeof(
ISelectionService
)) as
ISelectionService
;
1556
ISelectionService
selectionService = GetService(typeof(
ISelectionService
)) as
ISelectionService
;
2265
ISelectionService
selectionService = (
ISelectionService
)GetService(typeof(
ISelectionService
));
2516
ISelectionService
selectionService = GetService(typeof(
ISelectionService
)) as
ISelectionService
;
AuthoringOM\Design\ActivityDesignerAccessibleObject.cs (6)
150
ISelectionService
selectionService = GetService(typeof(
ISelectionService
)) as
ISelectionService
;
193
ISelectionService
selectionService = GetService(typeof(
ISelectionService
)) as
ISelectionService
;
AuthoringOM\Design\ActivityPreviewDesigner.cs (15)
325
ISelectionService
selectionService = GetService(typeof(
ISelectionService
)) as
ISelectionService
;
496
ISelectionService
selectionService = GetService(typeof(
ISelectionService
)) as
ISelectionService
;
505
ISelectionService
selectionService = GetService(typeof(
ISelectionService
)) as
ISelectionService
;
805
ISelectionService
selectionService = GetService(typeof(
ISelectionService
)) as
ISelectionService
;
944
ISelectionService
selectionService = this.parentDesigner.GetService(typeof(
ISelectionService
)) as
ISelectionService
;
AuthoringOM\Design\CommandSet.cs (4)
33
private
ISelectionService
selectionService;
59
this.selectionService = (
ISelectionService
)this.serviceProvider.GetService(typeof(
ISelectionService
));
61
throw new InvalidOperationException(SR.GetString(SR.General_MissingService, typeof(
ISelectionService
).FullName));
AuthoringOM\Design\CompositeActivityDesigner.cs (9)
543
ISelectionService
selectionService = nextSelectableActivity.Site.GetService(typeof(
ISelectionService
)) as
ISelectionService
;
1350
ISelectionService
selectionService = GetService(typeof(
ISelectionService
)) as
ISelectionService
;
1540
ISelectionService
selectionService = compositeActivity.Site.GetService(typeof(
ISelectionService
)) as
ISelectionService
;
AuthoringOM\Design\DesignerWidgets.cs (9)
3073
ISelectionService
selectionService = GetService(typeof(
ISelectionService
)) as
ISelectionService
;
3094
ISelectionService
selectionService = GetService(typeof(
ISelectionService
)) as
ISelectionService
;
3138
ISelectionService
selectionService = GetService(typeof(
ISelectionService
)) as
ISelectionService
;
AuthoringOM\Design\Dialogs\ThemeConfigurationDialog.cs (3)
1042
ISelectionService
selectionService = host.GetService(typeof(
ISelectionService
)) as
ISelectionService
;
AuthoringOM\Design\DocumentOutline.cs (15)
56
ISelectionService
selectionService = GetService(typeof(
ISelectionService
)) as
ISelectionService
;
90
ISelectionService
selectionService = GetService(typeof(
ISelectionService
)) as
ISelectionService
;
155
ISelectionService
selectionService = GetService(typeof(
ISelectionService
)) as
ISelectionService
;
238
ISelectionService
selectionService = GetService(typeof(
ISelectionService
)) as
ISelectionService
;
408
ISelectionService
selectionService = GetService(typeof(
ISelectionService
)) as
ISelectionService
;
AuthoringOM\Design\FreeFormDesigner.cs (6)
367
ISelectionService
selectionService = GetService(typeof(
ISelectionService
)) as
ISelectionService
;
960
ISelectionService
selectionService = GetService(typeof(
ISelectionService
)) as
ISelectionService
;
AuthoringOM\Design\MessageFilters\ConnectionManager.cs (12)
232
ISelectionService
selectionService = GetService(typeof(
ISelectionService
)) as
ISelectionService
;
268
ISelectionService
selectionService = GetService(typeof(
ISelectionService
)) as
ISelectionService
;
293
ISelectionService
selectionService = GetService(typeof(
ISelectionService
)) as
ISelectionService
;
446
ISelectionService
selectionService = GetService(typeof(
ISelectionService
)) as
ISelectionService
;
AuthoringOM\Design\MessageFilters\DragDropManager.cs (12)
524
ISelectionService
selectionService = (
ISelectionService
)GetService(typeof(
ISelectionService
));
767
ISelectionService
selectionService = (
ISelectionService
)GetService(typeof(
ISelectionService
));
801
ISelectionService
selectionService = (
ISelectionService
)GetService(typeof(
ISelectionService
));
817
ISelectionService
selectionService = (
ISelectionService
)GetService(typeof(
ISelectionService
));
AuthoringOM\Design\MessageFilters\DragSelectionMessageFilter.cs (3)
220
ISelectionService
selectionService = GetService(typeof(
ISelectionService
)) as
ISelectionService
;
AuthoringOM\Design\MessageFilters\ResizingMessageFilter.cs (3)
156
ISelectionService
selectionService = GetService(typeof(
ISelectionService
)) as
ISelectionService
;
AuthoringOM\Design\MessageFilters\WindowManager.cs (12)
46
ISelectionService
selectionService = GetService(typeof(
ISelectionService
)) as
ISelectionService
;
141
ISelectionService
selectionService = GetService(typeof(
ISelectionService
)) as
ISelectionService
;
226
ISelectionService
selectionService = ((IServiceProvider)this.ParentView).GetService(typeof(
ISelectionService
)) as
ISelectionService
;
398
ISelectionService
selectionService = GetService(typeof(
ISelectionService
)) as
ISelectionService
;
AuthoringOM\Design\SequenceDesignerAccessibleObject.cs (9)
175
ISelectionService
selectionService = GetService(typeof(
ISelectionService
)) as
ISelectionService
;
188
ISelectionService
selectionService = GetService(typeof(
ISelectionService
)) as
ISelectionService
;
228
ISelectionService
selectionService = GetService(typeof(
ISelectionService
)) as
ISelectionService
;
AuthoringOM\Design\SequentialActivityDesigner.cs (3)
265
ISelectionService
selectionService = GetService(typeof(
ISelectionService
)) as
ISelectionService
;
AuthoringOM\Design\StructuredCompositeActivityDesigner.cs (3)
782
ISelectionService
selectionService = GetService(typeof(
ISelectionService
)) as
ISelectionService
;
AuthoringOM\Design\WorkflowInlining.cs (1)
228
ServiceContainer.RemoveService(typeof(
ISelectionService
));
AuthoringOM\Design\WorkflowView.cs (12)
208
ISelectionService
selectionService = GetService(typeof(
ISelectionService
)) as
ISelectionService
;
257
ISelectionService
selectionService = GetService(typeof(
ISelectionService
)) as
ISelectionService
;
1504
ISelectionService
selectionService = GetService(typeof(
ISelectionService
)) as
ISelectionService
;
1706
ISelectionService
selectionService = (
ISelectionService
)GetService(typeof(
ISelectionService
));
AuthoringOM\Design\XomlDesignerLoader.cs (9)
580
ISelectionService
selectionService = this.serviceProvider.GetService(typeof(
ISelectionService
)) as
ISelectionService
;
624
ISelectionService
selectionService = this.serviceProvider.GetService(typeof(
ISelectionService
)) as
ISelectionService
;
844
ISelectionService
selectionService = this.serviceProvider.GetService(typeof(
ISelectionService
)) as
ISelectionService
;
System.Workflow.Runtime (3)
CorrelationToken.cs (3)
95
ISelectionService
selectionService = context.GetService(typeof(
ISelectionService
)) as
ISelectionService
;
System.WorkflowServices (6)
System\Workflow\Activities\ChannelToken.cs (3)
112
ISelectionService
selectionService = context.GetService(typeof(
ISelectionService
)) as
ISelectionService
;
System\Workflow\Activities\ContextToken.cs (3)
115
ISelectionService
selectionService = context.GetService(typeof(
ISelectionService
)) as
ISelectionService
;