1 write to itemsAdded
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\Model\EditingScope.cs (1)
35
this.
itemsAdded
= new HashSet<ModelItem>();
6 references to itemsAdded
System.Activities.Presentation (6)
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.");