2 writes to HandlerOf
System.Activities (2)
System\Activities\Activity.cs (2)
964
this.
HandlerOf
= activityDelegate;
1041
this.
HandlerOf
= null;
36 references to HandlerOf
System.Activities (36)
System\Activities\Activity.cs (2)
932
Fx.Assert(this.
HandlerOf
!= null, "Must have the parent delegate set");
934
parentEnvironment = this.
HandlerOf
.Environment;
System\Activities\ActivityUtilities.cs (3)
673
if (activity.
HandlerOf
!= null)
680
for (int i = 0; i < activity.
HandlerOf
.RuntimeDelegateArguments.Count; i++)
682
RuntimeDelegateArgument delegateArgument = activity.
HandlerOf
.RuntimeDelegateArguments[i];
System\Activities\Debugger\DebugInfo.cs (2)
208
if (activity.
HandlerOf
!= null)
211
activity.
HandlerOf
.RuntimeDelegateArguments.Select(delegateArgument =>
System\Activities\DynamicUpdate\DynamicUpdateMapBuilder.cs (14)
565
Fx.Assert((originalElement.
HandlerOf
== null && currentElement.
HandlerOf
== null)
566
|| (originalElement.
HandlerOf
.RuntimeDelegateArguments.Count == currentElement.
HandlerOf
.RuntimeDelegateArguments.Count),
568
envMap.RuntimeDelegateArgumentCount = originalElement.
HandlerOf
== null ? 0 : originalElement.
HandlerOf
.RuntimeDelegateArguments.Count;
815
if (newActivity.
HandlerOf
== null)
817
Fx.Assert(oldActivity.
HandlerOf
== null, "Once two activities have been matched, either both must be handlers or both must not be handlers.");
821
Fx.Assert(oldActivity.
HandlerOf
!= null, "Once two activities have been matched, either both must be handlers or both must not be handlers.");
823
return !ActivityComparer.ListEquals(newActivity.
HandlerOf
.RuntimeDelegateArguments, oldActivity.
HandlerOf
.RuntimeDelegateArguments);
1107
(currentActivity.
HandlerOf
!= null && currentActivity.
HandlerOf
.ParentCollectionType != originalActivity.
HandlerOf
.ParentCollectionType))
System\Activities\DynamicUpdate\NativeActivityUpdateMapMetadata.cs (3)
66
if (child.
HandlerOf
== null)
73
return child.
HandlerOf
.ParentCollectionType == ActivityCollectionType.Public ||
74
child.
HandlerOf
.ParentCollectionType == ActivityCollectionType.Imports;
System\Activities\DynamicUpdate\UpdateMapMetadata.cs (5)
81
bool updatedIsDelegate = updatedChild.
HandlerOf
!= null;
85
bool originalIsDelegate = result.
HandlerOf
!= null;
179
if (child.
HandlerOf
== null)
186
isImport = parent.ImportedDelegates.Contains(child.
HandlerOf
);
187
return isImport || parent.Delegates.Contains(child.
HandlerOf
);
System\Activities\NativeActivityContext.cs (1)
561
if (activity.
HandlerOf
!= null)
System\Activities\Runtime\DelegateCompletionCallbackWrapper.cs (2)
36
if (completedInstance.Activity.
HandlerOf
!= null)
38
IList<RuntimeDelegateArgument> runtimeArguments = completedInstance.Activity.
HandlerOf
.RuntimeDelegateArguments;
System\Activities\Runtime\FuncCompletionCallbackWrapper.cs (2)
61
if (completedInstance.Activity.
HandlerOf
!= null)
63
DelegateOutArgument resultArgument = completedInstance.Activity.
HandlerOf
.GetResultArgument();
System\Activities\Runtime\LocationEnvironment.cs (2)
528
int actualRuntimeDelegateArgumentCount = activity.
HandlerOf
== null ? 0 : activity.
HandlerOf
.RuntimeDelegateArguments.Count;