6 instantiations of ActivityCollectionChangeEventArgs
System.Workflow.ComponentModel (6)
AuthoringOM\ActivitiesCollection.cs (6)
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);
38 references to ActivityCollectionChangeEventArgs
System.Workflow.Activities (1)
Designers\StateDesigner.cs (1)
1347
protected override void OnContainedActivitiesChanged(
ActivityCollectionChangeEventArgs
listChangeArgs)
System.Workflow.ComponentModel (37)
AuthoringOM\ActivitiesCollection.cs (10)
16
internal event EventHandler<
ActivityCollectionChangeEventArgs
> ListChanging;
17
public event EventHandler<
ActivityCollectionChangeEventArgs
> ListChanged;
29
private void FireListChanging(
ActivityCollectionChangeEventArgs
eventArgs)
35
private void FireListChanged(
ActivityCollectionChangeEventArgs
eventArgs)
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);
AuthoringOM\Activity.cs (10)
1928
this.activities.ListChanging += new EventHandler<
ActivityCollectionChangeEventArgs
>(OnListChangingEventHandler);
1929
this.activities.ListChanged += new EventHandler<
ActivityCollectionChangeEventArgs
>(OnListChangedEventHandler);
1948
this.activities.ListChanging += new EventHandler<
ActivityCollectionChangeEventArgs
>(OnListChangingEventHandler);
1949
this.activities.ListChanged += new EventHandler<
ActivityCollectionChangeEventArgs
>(OnListChangedEventHandler);
2286
this.activities.ListChanging += new EventHandler<
ActivityCollectionChangeEventArgs
>(OnListChangingEventHandler);
2287
this.activities.ListChanged += new EventHandler<
ActivityCollectionChangeEventArgs
>(OnListChangedEventHandler);
2324
private void OnListChangingEventHandler(object sender,
ActivityCollectionChangeEventArgs
e)
2357
protected virtual void OnListChanging(
ActivityCollectionChangeEventArgs
e)
2379
private void OnListChangedEventHandler(object sender,
ActivityCollectionChangeEventArgs
e)
2384
protected virtual void OnListChanged(
ActivityCollectionChangeEventArgs
e)
AuthoringOM\Design\ActivityDesigner.cs (1)
1802
if (!(e.OldValue is
ActivityCollectionChangeEventArgs
))
AuthoringOM\Design\ActivityPreviewDesigner.cs (1)
763
protected override void OnContainedActivitiesChanged(
ActivityCollectionChangeEventArgs
listChangeArgs)
AuthoringOM\Design\CompositeActivityDesigner.cs (8)
1127
protected virtual void OnContainedActivitiesChanging(
ActivityCollectionChangeEventArgs
listChangeArgs)
1137
protected virtual void OnContainedActivitiesChanged(
ActivityCollectionChangeEventArgs
listChangeArgs)
1169
compositeActivity.Activities.ListChanging += new EventHandler<
ActivityCollectionChangeEventArgs
>(OnActivityListChanging);
1170
compositeActivity.Activities.ListChanged += new EventHandler<
ActivityCollectionChangeEventArgs
>(OnActivityListChanged);
1191
compositeActivity.Activities.ListChanging -= new EventHandler<
ActivityCollectionChangeEventArgs
>(OnActivityListChanging);
1192
compositeActivity.Activities.ListChanged -= new EventHandler<
ActivityCollectionChangeEventArgs
>(OnActivityListChanged);
1497
private void OnActivityListChanging(object sender,
ActivityCollectionChangeEventArgs
e)
1502
private void OnActivityListChanged(object sender,
ActivityCollectionChangeEventArgs
e)
AuthoringOM\Design\DocumentOutline.cs (2)
376
ActivityCollectionChangeEventArgs
changeEventArgs = e.OldValue as
ActivityCollectionChangeEventArgs
;
AuthoringOM\Design\FreeFormDesigner.cs (1)
663
protected override void OnContainedActivitiesChanging(
ActivityCollectionChangeEventArgs
listChangeArgs)
AuthoringOM\Design\StructuredCompositeActivityDesigner.cs (1)
457
protected override void OnContainedActivitiesChanging(
ActivityCollectionChangeEventArgs
listChangeArgs)
AuthoringOM\ScheduleChanges.cs (3)
274
private void OnActivityListChanged(object sender,
ActivityCollectionChangeEventArgs
e)
307
compositeActivity.Activities.ListChanged += new EventHandler<
ActivityCollectionChangeEventArgs
>(this.OnActivityListChanged);
334
compositeActivity.Activities.ListChanged -= new EventHandler<
ActivityCollectionChangeEventArgs
>(this.OnActivityListChanged);