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