1 write to context
System.Data (1)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowDesigner.cs (1)
110
this.
context
= new EditingContext();
42 references to context
System.Data (42)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowDesigner.cs (37)
112
this.
context
.Items.SetValue(new ReadOnlyState { IsReadOnly = false });
127
this.
context
.Services.Publish(typeof(AttachedPropertiesService), propertiesService);
129
undoEngine = new UndoEngine(
context
);
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>();
189
this.
context
.Items.Subscribe<ReadOnlyState>(new SubscribeContextCallback<ReadOnlyState>(OnReadonlyStateChanged));
191
this.
context
.Services.Subscribe<IXamlLoadErrorService>(s => this.xamlLoadErrorService = s);
197
if (!this.
context
.Services.Contains<WindowHelperService>())
208
WindowHelperService whs = this.
context
.Services.GetService<WindowHelperService>();
212
if (!this.
context
.Items.Contains<WorkflowCommandExtensionItem>())
215
this.
context
.Items.SetValue(item);
249
this.validationService = new ValidationService(this.
context
);
263
this.objectReferenceService = new ObjectReferenceService(this.
context
);
288
this.propertyInspector.DesignerContextItemManager = this.
context
.Items;
289
this.propertyInspector.EditingContext = this.
context
;
316
treeView.Initialize(
context
);
317
this.
context
.Services.Subscribe<ModelService>(delegate(ModelService modelService)
334
return this.
context
;
342
if (null != this.
context
)
344
DesignerView designerView = this.
context
.Services.GetService<DesignerView>();
384
ErrorItem errorItem = this.
context
.Items.GetValue<ErrorItem>();
474
this.
context
.Items.SetValue(fileItem);
515
DesignerConfigurationService configurationService = this.
context
.Services.GetService<DesignerConfigurationService>();
531
this.PreviewLoad(this, new PreviewLoadEventArgs(instance, this.
context
));
539
modelTreeManager = new ModelTreeManager(this.
context
);
541
this.
context
.Services.Publish(typeof(ModelTreeManager), modelTreeManager);
543
this.
context
.Services.Publish<ModelSearchService>(this.ModelSearchService);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowDesigner.Debugger.cs (2)
31
this.debuggerService = new DebuggerService(this.
context
);
32
this.
context
.Services.Publish<IDesignerDebugView>(this.debuggerService);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowDesigner.Helpers.cs (2)
61
viewManager.Initialize(this.
context
);
117
ErrorItem errorItem = this.
context
.Items.GetValue<ErrorItem>();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowDesigner.SerializationHelpers.cs (1)
26
get { return WorkflowDesigner.GetTargetFramework(this.
context
); }