1 write to itemsAdded
System.Data (1)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\EditingScope.cs (1)
35
this.
itemsAdded
= new HashSet<ModelItem>();
6 references to itemsAdded
System.Data (6)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\EditingScope.cs (6)
90
return new ReadOnlyCollection<ModelItem>(this.
itemsAdded
.ToList());
139
Fx.Assert(!this.
itemsAdded
.Contains(addedItem), "One ModelItem should not be added more than once.");
140
this.
itemsAdded
.Add(addedItem);
149
if (this.
itemsAdded
.Contains(removedItem))
151
this.
itemsAdded
.Remove(removedItem);
163
Fx.Assert(this.
itemsAdded
.Count == 0 && this.itemsRemoved.Count == 0, "There should not be items changed before completed.");