21 references to ActivityCollectionChangeAction
System.Workflow.ComponentModel (21)
AuthoringOM\ActivitiesCollection.cs (11)
63
ActivityCollectionChangeEventArgs args = new ActivityCollectionChangeEventArgs(index, item, null, this.owner,
ActivityCollectionChangeAction
.Remove);
76
ActivityCollectionChangeEventArgs args = new ActivityCollectionChangeEventArgs(index, null, item, this.owner,
ActivityCollectionChangeAction
.Add);
94
ActivityCollectionChangeEventArgs args = new ActivityCollectionChangeEventArgs(index, oldItem, value, this.owner,
ActivityCollectionChangeAction
.Replace);
129
ActivityCollectionChangeEventArgs args = new ActivityCollectionChangeEventArgs(index, item, null, this.owner,
ActivityCollectionChangeAction
.Remove);
141
ActivityCollectionChangeEventArgs args = new ActivityCollectionChangeEventArgs(-1, children, null, this.owner,
ActivityCollectionChangeAction
.Remove);
152
ActivityCollectionChangeEventArgs args = new ActivityCollectionChangeEventArgs(base.Count, null, item, this.owner,
ActivityCollectionChangeAction
.Add);
375
private
ActivityCollectionChangeAction
action =
ActivityCollectionChangeAction
.Add;
377
public ActivityCollectionChangeEventArgs(int index, ICollection<Activity> removedItems, ICollection<Activity> addedItems, object owner,
ActivityCollectionChangeAction
action)
386
public ActivityCollectionChangeEventArgs(int index, Activity removedActivity, Activity addedActivity, object owner,
ActivityCollectionChangeAction
action)
435
public
ActivityCollectionChangeAction
Action
AuthoringOM\Activity.cs (6)
2342
if (e.Action ==
ActivityCollectionChangeAction
.Add && e.AddedItems != null)
2361
if (e.Action ==
ActivityCollectionChangeAction
.Add && e.AddedItems != null)
2389
if ((e.Action ==
ActivityCollectionChangeAction
.Replace || e.Action ==
ActivityCollectionChangeAction
.Remove) &&
2397
if ((e.Action ==
ActivityCollectionChangeAction
.Replace || e.Action ==
ActivityCollectionChangeAction
.Add) &&
AuthoringOM\Design\ActivityPreviewDesigner.cs (2)
767
if (listChangeArgs.Action ==
ActivityCollectionChangeAction
.Add && listChangeArgs.AddedItems.Count > 0 && !Helpers.IsAlternateFlowActivity(listChangeArgs.AddedItems[0]))
776
else if (listChangeArgs.Action ==
ActivityCollectionChangeAction
.Remove && listChangeArgs.RemovedItems.Count > 0)
AuthoringOM\Design\FreeFormDesigner.cs (1)
667
if (listChangeArgs.Action ==
ActivityCollectionChangeAction
.Remove)
AuthoringOM\Design\StructuredCompositeActivityDesigner.cs (1)
461
if (listChangeArgs.Action ==
ActivityCollectionChangeAction
.Remove && listChangeArgs.RemovedItems[0] != null)