public MemberBindExpression(ExpNode sourceProperty, TypedMemberExpression targetProperty) : base("MemberBindExpression") { SourceProperty = sourceProperty; TargetProperty = targetProperty; //SourceProperty = new PropertyExpression( }
private static MemberBindExpression BindProperty(ResourceType resourceType, string LeftHandSide, string RightHandSide) { PropertyExpression sourceProperty = new PropertyExpression(resourceType.Properties[RightHandSide] as ResourceProperty); TypedMemberExpression targetProperty = new TypedMemberExpression(resourceType.ClientClrType, resourceType.Properties[LeftHandSide].Name); return(new MemberBindExpression(sourceProperty, targetProperty)); }
public MemberBindExpression(TypedMemberExpression targetProperty) : base("MemberBindExpression") { TargetProperty = targetProperty; //SourceProperty = new PropertyExpression( }
public static MemberBindExpression Bind(this ResourceType resourceType, string LeftHandSide, ExpNode RightHandSide) { TypedMemberExpression targetProperty = new TypedMemberExpression(resourceType.ClientClrType, resourceType.Properties[LeftHandSide].Name); return(new MemberBindExpression(RightHandSide, targetProperty)); }