276 references to Services
System.Data (276)
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\WorkflowDesignerXamlSchemaContext.cs (2)
101MultiTargetingSupportService multiTargetingService = editingContext.Services.GetService<IMultiTargetingSupportService>() as MultiTargetingSupportService; 102DesignerConfigurationService config = editingContext.Services.GetService<DesignerConfigurationService>();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\ActivityDelegatePresenter.cs (1)
167ModelItem modelItem = this.EditingContext.Services.GetService<ModelTreeManager>().WrapAsModelItem(instance);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\ActivityDesigner.cs (2)
194DesignerView designerView = this.Context.Services.GetService<DesignerView>(); 236DesignerView designerView = this.Context.Services.GetService<DesignerView>();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Annotations\AnnotationAdorner.cs (1)
138DesignerView designerView = ((WorkflowViewElement)AdornedElement).Context.Services.GetService<DesignerView>();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Annotations\AnnotationManager.cs (4)
68return this.EditingContext.Services.GetService<AnnotationAdornerService>(); 160return this.EditingContext.Services.GetService<ViewStateService>(); 235this.helpService = this.EditingContext.Services.GetService<IIntegratedHelpService>(); 468this.EditingContext.Services.GetService<DesignerConfigurationService>().AnnotationEnabled;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Annotations\WorkflowAnnotationAdornerService.cs (3)
63this.enabled = editingContext.Services.GetService<DesignerConfigurationService>().AnnotationEnabled; 70AttachedPropertiesService attachedPropertiesService = editingContext.Services.GetService<AttachedPropertiesService>(); 92ModelTreeManager treeManager = modelItem.GetEditingContext().Services.GetService<ModelTreeManager>();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\PropertyInspector.xaml.cs (1)
381this.designerPerfEventProvider = this.EditingContext.Services.GetService<DesignerPerfEventProvider>();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Interaction\Model\ModelFactory.cs (3)
64ModelService ms = context.Services.GetRequiredService<ModelService>(); 84ModelService ms = context.Services.GetRequiredService<ModelService>(); 109ModelService ms = context.Services.GetRequiredService<ModelService>();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\ContextMenuUtilities.cs (2)
105ViewStateService viewStateService = modelItem.GetEditingContext().Services.GetService<ViewStateService>(); 139ViewStateService viewStateService = modelItem.GetEditingContext().Services.GetService<ViewStateService>();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Converters\ArgumentToExpressionConverter.cs (1)
95return ((ModelServiceImpl)valueExpressionModelItem.GetEditingContext().Services.GetService<ModelService>()).WrapAsModelItem(target);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Converters\ModelItemToAnnotationEnabledConverter.cs (1)
23return editingContext.Services.GetService<DesignerConfigurationService>().AnnotationEnabled;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\CutCopyPasteHelper.cs (8)
215DesignerView view = context.Services.GetService<DesignerView>(); 253if (context.Services.GetService<DesignerView>() == null) 277UIElement breadCrumbRootView = ((DesignerView)context.Services.GetService<DesignerView>()).RootDesigner; 353FrameworkName targetFramework = context.Services.GetService<DesignerConfigurationService>().TargetFrameworkName; 394UIElement breadcrumbRoot = childElement.Context.Services.GetService<DesignerView>().RootDesigner; 617MultiTargetingSupportService multiTargetingService = editingContext.Services.GetService<IMultiTargetingSupportService>() as MultiTargetingSupportService; 618DesignerConfigurationService config = editingContext.Services.GetService<DesignerConfigurationService>(); 729DesignerView designerView = context.Services.GetService<DesignerView>();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Debugger\DebuggerService.cs (4)
80this.context.Services.Subscribe<ViewService>(new SubscribeServiceCallback<ViewService>(this.OnViewServiceAvailable)); 81this.context.Services.Subscribe<ModelSearchService>(new SubscribeServiceCallback<ModelSearchService>(this.OnModelSearchServiceAvailable)); 82this.context.Services.Subscribe<AttachedPropertiesService>(new SubscribeServiceCallback<AttachedPropertiesService>(this.OnAttachedPropertiesServiceAvailable)); 83this.context.Services.Subscribe<ModelTreeManager>(new SubscribeServiceCallback<ModelTreeManager>(this.OnModelTreeManagerServiceAvailable));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\DeleteHelper.cs (3)
24DesignerView designerView = context.Services.GetService<DesignerView>(); 42DesignerView designerView = context.Services.GetService<DesignerView>(); 71DesignerView view = context.Services.GetService<DesignerView>();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\DesignerConfigurationServiceUtilities.cs (2)
14DesignerConfigurationService config = editingContext.Services.GetService<DesignerConfigurationService>(); 27DesignerConfigurationService config = editingContext.Services.GetService<DesignerConfigurationService>();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\DesignObjectWrapper.cs (2)
133ModelTreeManager manager = this.Context.Services.GetService<ModelTreeManager>(); 551return null != this.Context && this.Context.Services.GetService<UndoEngine>().IsUndoRedoInProgress;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\DesignTimeValidationFeature.cs (1)
23ValidationService validationService = context.Services.GetService<ValidationService>();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\DialogWindow.cs (1)
84IIntegratedHelpService help = this.Context.Services.GetService<IIntegratedHelpService>();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\DragDropHelper.cs (7)
111DesignerView designerView = viewElement.Context.Services.GetService<DesignerView>(); 158DesignerView view = draggedViewElement.Context.Services.GetService<DesignerView>(); 357context.Services.GetService<DesignerPerfEventProvider>().WorkflowDesignerDrop(); 362context.Services.GetService<DesignerPerfEventProvider>().WorkflowDesignerIdleAfterDrop(); 437ActivityUsageCounter.ReportUsage(context.Services.GetService<IVSSqmService>(), type); 473WindowHelperService service = context.Services.GetService<WindowHelperService>(); 738designerView = viewElement.Context.Services.GetService<DesignerView>();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\Connector.cs (1)
184this.designerConfigurationService = view.Context.Services.GetService<DesignerConfigurationService>();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\FreeFormPanel.cs (1)
155this.designerConfigurationService = view.Context.Services.GetService<DesignerConfigurationService>();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Hosting\WindowHelperService.cs (1)
144WindowHelperService service = editingContext.Services.GetService<WindowHelperService>();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Metadata\ActivityArgumentHelper.cs (1)
85ValidationService validationService = args.Context.Services.GetRequiredService<ValidationService>();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\EditingScope.cs (2)
223ValidationService validationService = this.modelTreeManager.Context.Services.GetService<ValidationService>(); 232ValidationService validationService = this.modelTreeManager.Context.Services.GetService<ValidationService>();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\FakeModelPropertyImpl.cs (1)
170if (null != context && !context.Services.GetService<UndoEngine>().IsUndoRedoInProgress)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\GenericArgumentsUpdater.cs (2)
36this.context.Services.GetService<AttachedPropertiesService>().AddProperty(typeArgumentProperty); 59DesignerView designerView = modelItem.GetEditingContext().Services.GetService<DesignerView>();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemDictionaryImpl.cs (1)
1272AttachedPropertiesService AttachedPropertiesService = this.modelTreeManager.Context.Services.GetService<AttachedPropertiesService>();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemExtensions.cs (3)
627this.containerService = this.Context.Services.GetService<VirtualizedContainerService>(); 638this.viewService = (WorkflowViewService)this.Context.Services.GetService<ViewService>(); 649this.designerView = this.Context.Services.GetService<DesignerView>();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemHelper.cs (2)
15if (shouldApplyChangesImmediately && modelTreeManager.Context.Services.GetService<UndoEngine>().IsBookmarkInPlace) 42ModelTreeManager manager = context.Services.GetRequiredService<ModelTreeManager>();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemImpl.cs (1)
395AttachedPropertiesService AttachedPropertiesService = this.modelTreeManager.Context.Services.GetService<AttachedPropertiesService>();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelPropertyCollectionImpl.cs (1)
98AttachedPropertiesService AttachedPropertiesService = this.parent.GetEditingContext().Services.GetService<AttachedPropertiesService>();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelSearchServiceImpl.cs (11)
63this.editingContext.Services.Subscribe<ModelService>(new SubscribeServiceCallback<ModelService>(this.OnModelServiceAvailable)); 64this.editingContext.Services.Subscribe<DesignerView>(new SubscribeServiceCallback<DesignerView>(this.OnDesignerViewAvailable)); 65this.editingContext.Services.Subscribe<ModelTreeManager>(new SubscribeServiceCallback<ModelTreeManager>(this.OnModelTreeManagerAvailable)); 307if (this.editingContext.Services.GetService<DesignerConfigurationService>().AnnotationEnabled) 383if (this.editingContext.Services.GetService<DesignerConfigurationService>().AnnotationEnabled) 646var designerView = this.editingContext.Services.GetService<DesignerView>(); 655var designerView = this.editingContext.Services.GetService<DesignerView>(); 666ICommandService commandService = this.editingContext.Services.GetService<ICommandService>(); 684DesignerView designerView = this.editingContext.Services.GetService<DesignerView>(); 709DesignerView designerView = this.editingContext.Services.GetService<DesignerView>(); 761return (WorkflowViewService)this.editingContext.Services.GetService<ViewService>();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelTreeManager.cs (7)
87this.featureManager = this.context.Services.GetService<FeatureManager>(); 213this.context.Services.Publish<ModelService>(modelService); 396WorkflowViewService viewService = startingItem.GetEditingContext().Services.GetService<ViewService>() as WorkflowViewService; 680return this.editingScopes.Count == 0 && !this.Context.Services.GetService<UndoEngine>().IsBookmarkInPlace; 694this.immediateEditingScope = context.Services.GetRequiredService<UndoEngine>().CreateImmediateEditingScope(description, this); 796UndoEngine undoEngine = this.Context.Services.GetService<UndoEngine>(); 818ValidationService validationService = this.Context.Services.GetService<ValidationService>();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelTypeDescriptorContextWrapper.cs (1)
106service = this.modelTreeManager.Context.Services.GetService(serviceType);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\NamespaceHelper.cs (1)
105IMultiTargetingSupportService multiTargetingService = context.Services.GetService<IMultiTargetingSupportService>();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\NamespaceSettingsHandler.cs (2)
31DesignerConfigurationService configService = args.Context.Services.GetService<DesignerConfigurationService>(); 40args.Context.Services.Subscribe<ModelTreeManager>(manager => manager.Root.PropertyChanged += new PropertyChangedEventHandler(OnRootPropertyChanged));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\NonTextualExpressionMorphHelper.cs (1)
39string expressionEditor = ExpressionHelper.GetRootEditorSetting(context.Services.GetService<ModelTreeManager>(), WorkflowDesigner.GetTargetFramework(context));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\ObjectReferenceService.cs (2)
39this.context.Services.Subscribe<ModelSearchService>(new SubscribeServiceCallback<ModelSearchService>(this.OnModelSearchServiceAvailable)); 40this.context.Services.Subscribe<ModelTreeManager>(new SubscribeServiceCallback<ModelTreeManager>(this.OnModelTreeManagerAvailable));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Toolbox\ToolboxControl.cs (1)
379DesignerView target = this.AssociatedDesigner.Context.Services.GetService<DesignerView>();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\UndoUnit.cs (2)
32DesignerView designerView = context.Services.GetService<DesignerView>(); 41DesignerView designerView = context.Services.GetService<DesignerView>();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\UpdatableGenericsFeature.cs (2)
14GenericArgumentUpdater genericArgumentUpdater = context.Services.GetService<GenericArgumentUpdater>(); 18context.Services.Publish<GenericArgumentUpdater>(genericArgumentUpdater);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Validation\ValidationService.cs (8)
133this.context.Services.Subscribe<ModelService>(new SubscribeServiceCallback<ModelService>(OnModelServiceAvailable)); 134this.context.Services.Subscribe<ModelSearchService>(new SubscribeServiceCallback<ModelSearchService>(OnModelSearchServiceAvailable)); 135this.context.Services.Subscribe<ObjectReferenceService>(new SubscribeServiceCallback<ObjectReferenceService>(OnObjectReferenceServiceAvailable)); 136this.context.Services.Subscribe<ModelTreeManager>(new SubscribeServiceCallback<ModelTreeManager>(OnModelTreeManagerAvailable)); 137this.context.Services.Subscribe<IValidationErrorService>(new SubscribeServiceCallback<IValidationErrorService>(OnErrorServiceAvailable)); 138this.context.Services.Subscribe<AttachedPropertiesService>(new SubscribeServiceCallback<AttachedPropertiesService>(OnAttachedPropertiesServiceAvailable)); 202this.viewService = (WorkflowViewService)this.context.Services.GetService<ViewService>(); 445DesignerPerfEventProvider perfProvider = this.context.Services.GetService<DesignerPerfEventProvider>();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\ValidationErrorSourceLocatorFeature.cs (1)
22ValidationService validationService = context.Services.GetRequiredService<ValidationService>();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ActivityTypeDesigner.xaml.cs (2)
100AttachedPropertiesService attachedPropertiesService = context.Services.GetService<AttachedPropertiesService>(); 103context.Services.GetService<ModelService>().ModelChanged += new EventHandler<ModelChangedEventArgs>(ModelChanged);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ArgumentDesigner.xaml.cs (5)
355bool isUndoRedoInProgress = this.Context.Services.GetService<UndoEngine>().IsUndoRedoInProgress; 389bool isUndoRedoInProgress = this.Context.Services.GetService<UndoEngine>().IsUndoRedoInProgress; 576DesignerConfigurationService configurationService = this.Context.Services.GetService<DesignerConfigurationService>(); 665WindowHelperService service = this.Context.Services.GetService<WindowHelperService>(); 706WindowHelperService service = this.Context.Services.GetService<WindowHelperService>();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\DataGridHelper.cs (1)
1191this.DesignerView = helper.Context.Services.GetService<DesignerView>();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.Commands.cs (29)
220return null != this.Context.Services.GetService<ICommandService>(); 225return null != this.Context.Services.GetService<IDesignerDebugView>() && this.isCommandServiceEnabled(); 230return this.Context.Services.GetService<ICommandService>().IsCommandSupported(commandId); 242WorkflowViewService viewService = (WorkflowViewService)this.Context.Services.GetService<ViewService>(); 270WorkflowViewService viewService = (WorkflowViewService)this.Context.Services.GetService<ViewService>(); 282IDesignerDebugView debugView = this.Context.Services.GetService<IDesignerDebugView>(); 411shouldDisplayMenu = Context.Services.GetService<DesignerConfigurationService>().MultipleItemsContextMenuEnabled; 759this.Context.Services.GetService<DesignerPerfEventProvider>().WorkflowDesignerCopyStart(); 762this.Context.Services.GetService<DesignerPerfEventProvider>().WorkflowDesignerCopyEnd(); 774context.Services.GetService<DesignerPerfEventProvider>().WorkflowDesignerPasteStart(); 786context.Services.GetService<DesignerPerfEventProvider>().WorkflowDesignerPasteEnd(); 974this.Context.Services.GetService<UndoEngine>().Undo(); 986this.Context.Services.GetService<UndoEngine>().Redo(); 1047VirtualizedContainerService virtualizingContainerService = this.Context.Services.GetService<VirtualizedContainerService>(); 1119VirtualizedContainerService virtualizingContainerService = this.Context.Services.GetService<VirtualizedContainerService>(); 1542if (this.context.Services.GetService<DesignerConfigurationService>().AnnotationEnabled == true) 1589if (this.context.Services.GetService<DesignerConfigurationService>().AnnotationEnabled != true) 1601ModelTreeManager modelTreeManager = this.Context.Services.GetService<ModelTreeManager>(); 1602AnnotationAdornerService annotationService = this.Context.Services.GetService<AnnotationAdornerService>(); 1603ViewStateService viewStateService = this.Context.Services.GetService<ViewStateService>(); 1613if (this.context.Services.GetService<DesignerConfigurationService>().AnnotationEnabled != true) 1625ModelTreeManager modelTreeManager = this.Context.Services.GetService<ModelTreeManager>(); 1626AnnotationAdornerService annotationService = this.Context.Services.GetService<AnnotationAdornerService>(); 1627ViewStateService viewStateService = this.Context.Services.GetService<ViewStateService>(); 1642ModelTreeManager modelTreeManager = this.Context.Services.GetService<ModelTreeManager>(); 1643AnnotationAdornerService annotationService = this.Context.Services.GetService<AnnotationAdornerService>(); 1644ViewStateService viewStateService = this.Context.Services.GetService<ViewStateService>(); 1691IDesignerDebugView debuggerService = this.Context.Services.GetService<IDesignerDebugView>(); 1692ICommandService commandService = this.Context.Services.GetService<ICommandService>();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.xaml.cs (24)
122this.sqmService = this.Context.Services.GetService<IVSSqmService>(); 166ViewStateService viewStateService = this.Context.Services.GetService<ViewStateService>(); 167ModelTreeManager modelTreeManager = this.context.Services.GetService<ModelTreeManager>(); 256ViewStateService viewStateService = this.Context.Services.GetService<ViewStateService>(); 257ModelTreeManager modelTreeManager = this.context.Services.GetService<ModelTreeManager>(); 385DesignerConfigurationService configurationService = this.Context.Services.GetService<DesignerConfigurationService>(); 398DesignerConfigurationService configurationService = this.Context.Services.GetService<DesignerConfigurationService>(); 449ModelTreeManager modelTreeManager = this.Context.Services.GetService<ModelTreeManager>(); 452WorkflowViewService viewService = this.Context.Services.GetService<ViewService>() as WorkflowViewService; 475this.Context.Services.GetService<WindowHelperService>().RegisterWindowMessageHandler(new WindowMessage(OnMessage)); 485this.Context.Services.GetService<WindowHelperService>().UnregisterWindowMessageHandler(new WindowMessage(OnMessage)); 549WorkflowViewService viewService = this.Context.Services.GetService<ViewService>() as WorkflowViewService; 1062VirtualizedContainerService containerService = this.Context.Services.GetService<VirtualizedContainerService>(); 1351IWorkflowDesignerStorageService service = this.Context.Services.GetService<IWorkflowDesignerStorageService>(); 1352ModelTreeManager modelTreeManager = this.Context.Services.GetService<ModelTreeManager>(); 1377IWorkflowDesignerStorageService service = this.Context.Services.GetService<IWorkflowDesignerStorageService>(); 1378ModelTreeManager modelTreeManager = this.Context.Services.GetService<ModelTreeManager>(); 1403IWorkflowDesignerStorageService service = this.Context.Services.GetService<IWorkflowDesignerStorageService>(); 1404DesignerView designerView = this.Context.Services.GetService<DesignerView>(); 1424IWorkflowDesignerStorageService service = this.Context.Services.GetService<IWorkflowDesignerStorageService>(); 1425ModelTreeManager modelTreeManager = this.Context.Services.GetService<ModelTreeManager>(); 1426DesignerView designerView = this.context.Services.GetService<DesignerView>(); 1443IWorkflowDesignerStorageService service = this.Context.Services.GetService<IWorkflowDesignerStorageService>(); 1459IWorkflowDesignerStorageService service = this.Context.Services.GetService<IWorkflowDesignerStorageService>();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ErrorView.xaml.cs (1)
59IIntegratedHelpService help = this.Context.Services.GetService<IIntegratedHelpService>();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ExpressionTextBox.xaml.cs (1)
471ModelItem rootItem = this.Context.Services.GetService<ModelService>().Root;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ExpressionValueEditor.cs (1)
33DependencyObject owner = ctx.Services.GetService<DesignerView>();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ImportDesigner.xaml.cs (9)
166IIntegratedHelpService helpService = this.Context.Services.GetService<IIntegratedHelpService>(); 337IExpressionEditorService expressionEditorService = this.Context.Services.GetService<IExpressionEditorService>(); 438AttachedPropertiesService attachedPropertyService = this.Context.Services.GetService<AttachedPropertiesService>(); 445ModelService modelService = this.Context.Services.GetService<ModelService>(); 466if ((!this.Context.Services.GetService<UndoEngine>().IsUndoRedoInProgress) && (!this.isSelectionChangedInternally)) 532IMultiTargetingSupportService multiTargetingService = this.Context.Services.GetService<IMultiTargetingSupportService>(); 673IMultiTargetingSupportService multiTargetingService = this.Context.Services.GetService<IMultiTargetingSupportService>(); 681ModelTreeManager modelTreeManager = this.Context.Services.GetService<ModelTreeManager>(); 753ModelService modelService = editingContext.Services.GetService<ModelService>();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ImportedNamespaceContextItem.cs (1)
42ModelService modelService = context.Services.GetService<ModelService>();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\RubberBandSelector.cs (1)
82return this.context.Services.GetService<DesignerView>();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\Selection.cs (1)
237DesignerPerfEventProvider designerPerfEventProvider = context.Services.GetService<DesignerPerfEventProvider>();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\TreeView\TreeViewItemModelItemViewModel.cs (1)
350ViewService service = context.Services.GetService<ViewService>();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\TreeView\TreeViewItemViewModel.cs (1)
159provider = context.Services.GetService<DesignerPerfEventProvider>();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\TypeBrowser.xaml.cs (4)
132IMultiTargetingSupportService multiTargetingSupportService = this.Context.Services.GetService<IMultiTargetingSupportService>(); 163IMultiTargetingSupportService multiTargetingSupportService = this.Context.Services.GetService<IMultiTargetingSupportService>(); 231IMultiTargetingSupportService multiTargetingSupport = this.Context.Services.GetService<IMultiTargetingSupportService>(); 574IMultiTargetingSupportService multiTargetingSupport = this.context.Services.GetService<IMultiTargetingSupportService>();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\VariableDesigner.xaml.cs (7)
221var treeManager = this.Context.Services.GetService<ModelTreeManager>(); 349if (this.Context.Services.GetService<UndoEngine>().IsUndoRedoInProgress) 412var isUndoRedoInProgress = this.Context.Services.GetService<UndoEngine>().IsUndoRedoInProgress; 471bool isUndoRedoInProgress = this.Context.Services.GetService<UndoEngine>().IsUndoRedoInProgress; 586DesignerConfigurationService configurationService = this.Context.Services.GetService<DesignerConfigurationService>(); 675WindowHelperService service = this.Context.Services.GetService<WindowHelperService>(); 716WindowHelperService service = this.Context.Services.GetService<WindowHelperService>();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ViewUtilities.cs (4)
111DesignerView designerView = context.Services.GetService<DesignerView>(); 119DesignerView designerView = context.Services.GetService<DesignerView>(); 153return context.Services.GetService<ViewService>() as WorkflowViewService; 158return context.Services.GetService<ViewStateService>();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\VirtualizedContainerService.cs (4)
55this.context.Services.Subscribe<DesignerView>((designerView) => 77this.viewStateService = this.context.Services.GetService<ViewStateService>(); 90this.viewService = this.context.Services.GetService<ViewService>(); 104this.designerView = this.context.Services.GetService<DesignerView>();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\VisualBasicEditor.xaml.cs (9)
419DesignerView designerView = this.Context.Services.GetService<DesignerView>(); 446this.expressionEditorService = this.Context.Services.GetService<IExpressionEditorService>(); 474if (this.Context.Services.Contains<Dictionary<string, object>>()) 476Dictionary<string, object> sessionObjects = this.Context.Services.GetService<Dictionary<string, object>>(); 835perfProvider = this.Context.Services.GetService<DesignerPerfEventProvider>(); 847return this.Context.Services.GetService<ValidationService>(); 917ModelServiceImpl modelService = (ModelServiceImpl)this.Context.Services.GetService<ModelService>(); 1365ValidationService validationService = context.Services.GetService<ValidationService>(); 1729IIntegratedHelpService help = this.Context.Services.GetService<IIntegratedHelpService>();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\VisualBasicReferenceValidationFeature.cs (1)
25ValidationService validationService = context.Services.GetService<ValidationService>();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\VisualBasicValueValidationFeature.cs (1)
25ValidationService validationService = context.Services.GetService<ValidationService>();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\WorkflowViewManager.cs (9)
48AttachedPropertiesService propertiesService = this.context.Services.GetService<AttachedPropertiesService>(); 49helpService = this.context.Services.GetService<IIntegratedHelpService>(); 73if (this.context.Services.GetService<ViewService>() == null) 78this.context.Services.Publish<ViewService>(viewService); 79this.context.Services.Publish<VirtualizedContainerService>(new VirtualizedContainerService(this.context)); 80this.context.Services.Publish<ViewStateService>(viewStateService); 81this.context.Services.Publish<DesignerView>(view); 85this.context.Services.Publish<AnnotationAdornerService>(annotationService); 87this.context.Services.Subscribe<ModelService>(delegate(ModelService modelService)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\WorkflowViewStateService.cs (2)
31return this.context.Services.GetService<UndoEngine>(); 157ModelTreeManager modelTreeManager = this.context.Services.GetService<ModelTreeManager>();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\ViewStateAttachedPropertyFeature.cs (2)
23context.Services.Subscribe<ViewStateService>(delegate(ViewStateService viewStateService) 32context.Services.Subscribe<AttachedPropertiesService>(delegate(AttachedPropertiesService attachedPropertiesService)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowDesigner.cs (27)
127this.context.Services.Publish(typeof(AttachedPropertiesService), propertiesService); 130this.context.Services.Publish(typeof(UndoEngine), undoEngine); 133this.context.Services.Publish<ValidationService>(this.ValidationService); 134this.context.Services.Publish<ObjectReferenceService>(this.ObjectReferenceService); 135this.context.Services.Publish<DesignerPerfEventProvider>(this.perfEventProvider); 136this.context.Services.Publish<FeatureManager>(new FeatureManager(this.context)); 137this.context.Services.Publish<DesignerConfigurationService>(new DesignerConfigurationService()); 143this.context.Services.Publish<Dictionary<string, object>>(new Dictionary<string, object>()); 146this.context.Services.Subscribe<ICommandService>((s) => 151DesignerConfigurationService service = this.context.Services.GetService<DesignerConfigurationService>(); 159this.context.Services.Subscribe<IVSSqmService>((service) => 164DesignerConfigurationService configurationService = this.context.Services.GetService<DesignerConfigurationService>(); 191this.context.Services.Subscribe<IXamlLoadErrorService>(s => this.xamlLoadErrorService = s); 197if (!this.context.Services.Contains<WindowHelperService>()) 206this.Context.Services.Publish<WindowHelperService>(new WindowHelperService(hWND)); 208WindowHelperService whs = this.context.Services.GetService<WindowHelperService>(); 317this.context.Services.Subscribe<ModelService>(delegate(ModelService modelService) 344DesignerView designerView = this.context.Services.GetService<DesignerView>(); 453DesignerConfigurationService service = this.Context.Services.GetService<DesignerConfigurationService>(); 462IDocumentPersistenceService documentPersistenceService = this.Context.Services.GetService<IDocumentPersistenceService>(); 515DesignerConfigurationService configurationService = this.context.Services.GetService<DesignerConfigurationService>(); 541this.context.Services.Publish(typeof(ModelTreeManager), modelTreeManager); 543this.context.Services.Publish<ModelSearchService>(this.ModelSearchService); 552WorkflowViewStateService wfViewStateService = this.Context.Services.GetService(typeof(ViewStateService)) as WorkflowViewStateService; 584if (this.Context.Services.GetService<ModelService>() != null) 623IDocumentPersistenceService documentPersistenceService = this.Context.Services.GetService<IDocumentPersistenceService>(); 658var designerView = this.Context.Services.GetService<DesignerView>();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowDesigner.Debugger.cs (1)
32this.context.Services.Publish<IDesignerDebugView>(this.debuggerService);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowDesigner.Helpers.cs (4)
26DesignerConfigurationService designerConfigurationService = context.Services.GetService<DesignerConfigurationService>(); 84IModalService modalService = Context.Services.GetService<IModalService>(); 93IModalService modalService = Context.Services.GetService<IModalService>(); 150IDocumentPersistenceService documentPersistenceService = this.Context.Services.GetService<IDocumentPersistenceService>();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowElementDialog.cs (1)
138WindowHelperService srv = this.Context.Services.GetService<WindowHelperService>();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowItemPresenter.cs (8)
102&& this.Context.Services.GetService<DesignerConfigurationService>().AutoSurroundWithSequenceEnabled 172using (ModelEditingScope scope = this.Context.Services.GetService<ModelService>().Root.BeginEdit(SR.WrapInSequenceDescription)) 192ModelTreeManager manager = this.Context.Services.GetRequiredService<ModelTreeManager>(); 483VirtualizedContainerService containerService = this.Context.Services.GetService<VirtualizedContainerService>(); 509ModelServiceImpl modelService = (ModelServiceImpl)this.Context.Services.GetService<ModelService>(); 515using (ModelEditingScope editingScope = this.Context.Services.GetService<ModelService>().Root.BeginEdit(SR.PropertyChangeEditingScopeDescription)) 562ModelTreeManager manager = this.Context.Services.GetService<ModelTreeManager>(); 796ModelItem sequence = editingContext.Services.GetService<ModelTreeManager>().CreateModelItem(null, new Sequence());
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowItemsPresenter.cs (2)
248VirtualizedContainerService containerService = this.Context.Services.GetService<VirtualizedContainerService>(); 398VirtualizedContainerService containerService = this.Context.Services.GetService<VirtualizedContainerService>();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowViewElement.cs (7)
217DesignerView view = this.Context.Services.GetService<DesignerView>(); 362ViewService viewService = this.Context.Services.GetService<ViewService>(); 373ViewStateService viewStateService = this.Context.Services.GetService<ViewStateService>(); 383DesignerView designer = this.Context.Services.GetService<DesignerView>(); 401get { return this.Context.Services.GetService<DesignerConfigurationService>().MultipleItemsDragDropEnabled; } 514DesignerView designerView = this.Context.Services.GetService<DesignerView>(); 573DesignerView designerView = this.Context.Services.GetService<DesignerView>();