Пример #1
0
        protected internal override Expression VisitDynamicBinary(BinaryDynamicCSharpExpression node)
        {
            var args = new List <object>();

            args.Add(new XAttribute(nameof(node.OperationNodeType), node.OperationNodeType));

            VisitDynamicCSharpExpression(node, args);

            args.Add(new XElement(nameof(node.Left), Visit(node.Left)));
            args.Add(new XElement(nameof(node.Right), Visit(node.Right)));

            return(Push(node, args));
        }
 protected internal virtual Expression VisitDynamicBinary(BinaryDynamicCSharpExpression node) =>
 node.Update(
     VisitDynamicArgument(node.Left),
     VisitDynamicArgument(node.Right)
     );
 public BinaryDynamicCSharpExpressionProxy(BinaryDynamicCSharpExpression node)
 {
     _node = node;
 }
 protected internal virtual Expression VisitDynamicBinary(BinaryDynamicCSharpExpression node)
 {
     return node.Update(VisitDynamicArgument(node.Left), VisitDynamicArgument(node.Right));
 }
 public BinaryDynamicCSharpExpressionProxy(BinaryDynamicCSharpExpression node)
 {
     _node = node;
 }