1 write to editingScopes
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\Model\ModelTreeManager.cs (1)
54editingScopes = new Stack<ModelEditingScope>();
15 references to editingScopes
System.Activities.Presentation (15)
System.Activities.Presentation\System\Activities\Presentation\Model\ModelTreeManager.cs (15)
651if (editingScopes.Count > 0) 653editingScope = (EditingScope)editingScopes.Peek(); 680return this.editingScopes.Count == 0 && !this.Context.Services.GetService<UndoEngine>().IsBookmarkInPlace; 686EditingScope outerScope = editingScopes.Count > 0 ? (EditingScope)editingScopes.Peek() : null; 702editingScopes.Push(editingScope); 783if (editingScopes.Contains(modelEditingScopeImpl)) 785editingScopes.Pop(); 788if (editingScopes.Count == 0 && this.immediateEditingScope != null) 814if (editingScopes.Count == 0 && !(modelEditingScopeImpl is ImmediateEditingScope) && modelEditingScopeImpl.HasModelChanges) 832if (this.EditingScopeCompleted != null && editingScopes.Count == 0 && this.immediateEditingScope == null) 837Fx.Assert(editingScopes.Count == 0 || (modelEditingScopeImpl.ItemsAdded.Count == 0 && modelEditingScopeImpl.ItemsRemoved.Count == 0), "Inner editing scope shouldn't have changes applied."); 846return (modelEditingScopeImpl == editingScopes.Peek()) && (readOnlyState == null || !readOnlyState.IsReadOnly); 851if (editingScopes.Contains(modelEditingScopeImpl)) 853editingScopes.Pop();