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