public override void GetData(Object target, Stream outgoingData)
        {
            var expr      = (Expression)target;
            var browser   = new ExpressionTreeNode(expr);
            var container = new ExpressionTreeContainer(browser, expr.ToString());

            Serialize(outgoingData, container);
        }
        public override void GetData(Object target, Stream outgoingData)
        {
            var expr = (Expression)target;
            var browser = new ExpressionTreeNode(expr);
            var container = new ExpressionTreeContainer(browser, expr.ToString());

            Serialize(outgoingData, container);
        }
예제 #3
0
 public ExpressionTreeContainer(ExpressionTreeNode treeNode, String expression)
 {
     this.TreeNode   = treeNode;
     this.Expression = expression;
 }