25 references to Name
System.Workflow.Activities (1)
ConstrainedGroup.cs (1)
173
Activity contextActivity = Helpers.ParseActivityForBind(activity, activityBind.
Name
);
System.Workflow.ComponentModel (24)
AuthoringOM\Bind.cs (7)
644
Activity referencedActivity = Helpers.ParseActivityForBind(activity, this.
Name
);
672
Activity referencedActivity = Helpers.ParseActivityForBind(activity, this.
Name
);
752
if (!string.IsNullOrEmpty(
Name
))
753
bindString = Helpers.ParseActivityForBind(activity,
Name
).QualifiedName;
841
Activity resolvedActivity = Helpers.ParseActivityForBind(contextActivity, contextBind.
Name
);
906
if (string.Equals(context.PropertyDescriptor.Name, "Path", StringComparison.Ordinal) && !String.IsNullOrEmpty(
Name
) && context.PropertyDescriptor is ActivityBindPathPropertyDescriptor)
914
Activity targetActivity = Helpers.ParseActivityForBind(activity,
Name
);
AuthoringOM\Compiler\Validation\BindValidator.cs (11)
597
if (string.IsNullOrEmpty(bind.
Name
))
605
Activity refActivity = Helpers.ParseActivityForBind(activity, bind.
Name
);
608
if (bind.
Name
.StartsWith("/"))
609
error = new ValidationError(SR.GetString(SR.Error_CannotResolveRelativeActivity, bind.
Name
), ErrorNumbers.Error_CannotResolveRelativeActivity);
611
error = new ValidationError(SR.GetString(SR.Error_CannotResolveActivity, bind.
Name
), ErrorNumbers.Error_CannotResolveActivity);
671
string qualifier = (!String.IsNullOrEmpty(refActivity.QualifiedName)) ? refActivity.QualifiedName : bind.
Name
;
803
Activity refActivity = Helpers.ParseActivityForBind(activity, bind.
Name
);
806
error = (bind.
Name
.StartsWith("/", StringComparison.Ordinal)) ? new ValidationError(SR.GetString(SR.Error_CannotResolveRelativeActivity, bind.
Name
), ErrorNumbers.Error_CannotResolveRelativeActivity) : new ValidationError(SR.GetString(SR.Error_CannotResolveActivity, bind.
Name
), ErrorNumbers.Error_CannotResolveActivity);
818
if (!bind.
Name
.StartsWith("/", StringComparison.Ordinal) && !ValidationHelpers.IsActivitySourceInOrder(refActivity, activity))
AuthoringOM\Design\Dialogs\ActivityBindForm.cs (1)
192
Activity previousBindActivity = Helpers.ParseActivity(Helpers.GetRootActivity(activity), previousBinding.
Name
);
AuthoringOM\Design\PropertyDescriptors.cs (2)
532
activity = Helpers.ParseActivityForBind(activity, activityBind.
Name
);
664
throw new InvalidOperationException(SR.GetString(SR.Error_InvalidActivityIdentifier, activityBind.
Name
));
AuthoringOM\Design\TypeConverters.cs (2)
230
activity = (activity != null) ? Helpers.ParseActivityForBind(activity, activityBind.
Name
) : null;
231
convertedValue = String.Format(CultureInfo.InvariantCulture, ("Activity={0}, Path={1}"), (activity != null) ? activity.QualifiedName : activityBind.
Name
, activityBind.Path);
AuthoringOM\Serializer\BindMarkupExtensionSerializer.cs (1)
22
new object[] { activityBind.
Name
});