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