28 references to ActivityCollectionType
System.Activities (28)
System\Activities\Activity.cs (6)
950
internal bool InitializeRelationship(ActivityDelegate activityDelegate,
ActivityCollectionType
collectionType, ref IList<ValidationError> validationErrors)
962
if (InitializeRelationship(activityDelegate.Owner, collectionType !=
ActivityCollectionType
.Implementation, RelationshipType.DelegateHandler, ref validationErrors))
982
internal bool InitializeRelationship(Activity parent,
ActivityCollectionType
collectionType, ref IList<ValidationError> validationErrors)
985
if (collectionType ==
ActivityCollectionType
.Imports)
989
else if (collectionType ==
ActivityCollectionType
.Implementation)
994
return InitializeRelationship(parent, collectionType !=
ActivityCollectionType
.Implementation, relationshipType, ref validationErrors);
System\Activities\ActivityDelegate.cs (5)
44
ActivityCollectionType
parentCollectionType;
89
internal
ActivityCollectionType
ParentCollectionType
145
return this.parentCollectionType !=
ActivityCollectionType
.Imports;
153
internal bool InitializeRelationship(Activity parent,
ActivityCollectionType
collectionType, ref IList<ValidationError> validationErrors)
213
if (collectionType ==
ActivityCollectionType
.Implementation)
System\Activities\ActivityUtilities.cs (14)
528
static void ProcessChildren(Activity parent, IList<Activity> children,
ActivityCollectionType
collectionType, bool addChildren, ref ChildActivity nextActivity, ref Stack<ChildActivity> activitiesRemaining, ref IList<ValidationError> validationErrors)
537
SetupForProcessing(childActivity, collectionType !=
ActivityCollectionType
.Imports, ref nextActivity, ref activitiesRemaining);
576
static void ProcessVariables(Activity parent, IList<Variable> variables,
ActivityCollectionType
collectionType, bool addChildren, ref ActivityLocationReferenceEnvironment environment, ref int nextEnvironmentId, ref ChildActivity nextActivity, ref Stack<ChildActivity> activitiesRemaining, ref IList<ValidationError> validationErrors)
588
if (variable.InitializeRelationship(parent, collectionType ==
ActivityCollectionType
.Public, ref validationErrors))
607
static void ProcessDelegates(Activity parent, IList<ActivityDelegate> delegates,
ActivityCollectionType
collectionType, bool addChildren, ref ChildActivity nextActivity, ref Stack<ChildActivity> activitiesRemaining, ref IList<ValidationError> validationErrors)
616
SetupForProcessing(activityDelegate, collectionType !=
ActivityCollectionType
.Imports, ref nextActivity, ref activitiesRemaining);
664
ProcessChildren(activity, activity.Children,
ActivityCollectionType
.Public, true, ref nextActivity, ref activitiesRemaining, ref tempValidationErrors);
665
ProcessChildren(activity, activity.ImportedChildren,
ActivityCollectionType
.Imports, true, ref nextActivity, ref activitiesRemaining, ref tempValidationErrors);
666
ProcessChildren(activity, activity.ImplementationChildren,
ActivityCollectionType
.Implementation, !options.SkipPrivateChildren, ref nextActivity, ref activitiesRemaining, ref tempValidationErrors);
670
ProcessVariables(activity, activity.RuntimeVariables,
ActivityCollectionType
.Public, true, ref newPublicEnvironment, ref nextEnvironmentId, ref nextActivity, ref activitiesRemaining, ref tempValidationErrors);
671
ProcessVariables(activity, activity.ImplementationVariables,
ActivityCollectionType
.Implementation, !options.SkipPrivateChildren, ref newImplementationEnvironment, ref nextEnvironmentId, ref nextActivity, ref activitiesRemaining, ref tempValidationErrors);
718
ProcessDelegates(activity, activity.Delegates,
ActivityCollectionType
.Public, true, ref nextActivity, ref activitiesRemaining, ref tempValidationErrors);
719
ProcessDelegates(activity, activity.ImportedDelegates,
ActivityCollectionType
.Imports, true, ref nextActivity, ref activitiesRemaining, ref tempValidationErrors);
720
ProcessDelegates(activity, activity.ImplementationDelegates,
ActivityCollectionType
.Implementation, !options.SkipPrivateChildren, ref nextActivity, ref activitiesRemaining, ref tempValidationErrors);
System\Activities\DynamicUpdate\ActivityComparer.cs (1)
156
bool isImplementation = currentDelegate.ParentCollectionType ==
ActivityCollectionType
.Implementation;
System\Activities\DynamicUpdate\NativeActivityUpdateMapMetadata.cs (2)
73
return child.HandlerOf.ParentCollectionType ==
ActivityCollectionType
.Public ||
74
child.HandlerOf.ParentCollectionType ==
ActivityCollectionType
.Imports;