Beispiel #1
0
        protected internal override MemberMemberBindingSlim VisitMemberMemberBinding(MemberMemberBindingSlim node)
        {
            Append("MemberBinding(");
            Append(node.Member);
            Append(", ");
            Visit(", ", node.Bindings, VisitMemberBinding);
            Append(')');

            return(node);
        }
        /// <summary>
        /// Visits a member member binding slim tree node, produces a member member binding.
        /// </summary>
        /// <param name="node">Node to visit.</param>
        /// <param name="bindings">Member bindings.</param>
        /// <returns>The member member binding represented by the member binding slim node.</returns>
        protected override MemberMemberBinding MakeMemberMemberBinding(MemberMemberBindingSlim node, ReadOnlyCollection <MemberBinding> bindings)
        {
            var member = MakeMember(node.Member);

            return(_factory.MemberBind(member, bindings));
        }
 /// <summary>
 /// Visits a member member binding node.
 /// </summary>
 /// <param name="node">Node to visit.</param>
 /// <returns>Result of visiting the node.</returns>
 protected internal virtual MemberMemberBindingSlim VisitMemberMemberBinding(MemberMemberBindingSlim node)
 {
     return(node.Update(Visit(node.Bindings, VisitMemberBinding)));
 }