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