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