35 references to Path
System.Workflow.ComponentModel (35)
AuthoringOM\Bind.cs (13)
648
MemberInfo memberInfo = ActivityBind.GetMemberInfo(referencedActivity.GetType(),
Path
, targetType);
651
runtimeValue = ActivityBind.GetMemberValue(referencedActivity, memberInfo,
Path
, targetType);
661
DependencyProperty dependencyProperty = DependencyProperty.FromName(this.
Path
, rootActivity.GetType());
675
MemberInfo memberInfo = ActivityBind.GetMemberInfo(referencedActivity.GetType(),
Path
, null);
678
ActivityBind bind = ActivityBind.GetMemberValue(referencedActivity, memberInfo,
Path
, null) as ActivityBind;
682
MemberBind.SetValue(referencedActivity, this.
Path
, value);
706
MemberInfo memberInfo = ActivityBind.GetMemberInfo(companionType, activityBind.
Path
, null);
755
if (!string.IsNullOrEmpty(
Path
))
757
string path =
Path
;
846
MemberInfo memberInfo = ActivityBind.GetMemberInfo(dataSourceObject.GetType(), contextBind.
Path
, null);
859
object value = MemberBind.GetValue(memberInfo, dataSourceObject, contextBind.
Path
);
952
if (prevBind.
Path
== bind.
Path
)
AuthoringOM\Compiler\Validation\BindValidator.cs (13)
616
if (String.IsNullOrEmpty(bind.
Path
))
625
string memberName = bind.
Path
;
652
string indexerPart = bind.
Path
.Substring(indexOfSeparator);
727
error = new ValidationError(SR.GetString(SR.Error_PathCouldNotBeResolvedToMember, bind.
Path
, (!string.IsNullOrEmpty(refActivity.QualifiedName)) ? refActivity.QualifiedName : refActivity.GetType().Name), ErrorNumbers.Error_PathCouldNotBeResolvedToMember);
809
else if (bind.
Path
== null || bind.
Path
.Length == 0)
844
MemberInfo memberInfo = MemberBind.GetMemberInfo(refActivityType, bind.
Path
);
847
error = new ValidationError(SR.GetString(SR.Error_InvalidMemberPath, refActivity.QualifiedName, bind.
Path
), ErrorNumbers.Error_InvalidMemberPath);
864
error = new ValidationError(SR.GetString(SR.Warning_ParameterBinding, bind.
Path
, refActivity.QualifiedName, validationContext.TargetType.FullName), ErrorNumbers.Warning_ParameterBinding, true);
878
MemberInfo memberInfo = MemberBind.GetMemberInfo(refActivity.GetType(), bind.
Path
);
881
error = new ValidationError(SR.GetString(SR.Error_InvalidMemberPath, refActivity.QualifiedName, bind.
Path
), ErrorNumbers.Error_InvalidMemberPath);
887
object value = BindHelpers.ResolveActivityPath(refActivity, bind.
Path
);
902
error = new ValidationError(SR.GetString(SR.Warning_ParameterBinding, bind.
Path
, refActivity.QualifiedName, validationContext.TargetType.FullName), ErrorNumbers.Warning_ParameterBinding, true);
AuthoringOM\Design\Dialogs\ActivityBindForm.cs (1)
194
this.workflowOutline.SelectActivity(previousBindActivity, ParseStringPath(GetActivityType(previousBindActivity), previousBinding.
Path
));
AuthoringOM\Design\PropertyDescriptors.cs (7)
526
if (!String.IsNullOrEmpty(activityBind.
Path
))
544
string fieldName = activityBind.
Path
;
577
if (pathWalker.TryWalkPropertyPath(designedType, activityBind.
Path
))
586
throw new InvalidOperationException(SR.GetString(SR.Error_MemberWithSameNameExists, activityBind.
Path
, designedType.FullName));
601
throw new InvalidOperationException(SR.GetString(SR.Error_MemberWithSameNameExists, activityBind.
Path
, designedType.FullName));
632
throw new InvalidOperationException(SR.GetString(SR.Error_MemberWithSameNameExists, activityBind.
Path
, designedType.FullName));
654
memberCreationService.CreateField(designerHost.RootComponentClassName, activityBind.
Path
, boundType, null, MemberAttributes.Public, null, false);
AuthoringOM\Design\TypeConverters.cs (1)
231
convertedValue = String.Format(CultureInfo.InvariantCulture, ("Activity={0}, Path={1}"), (activity != null) ? activity.QualifiedName : activityBind.Name, activityBind.
Path
);