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 ExpressionTreeContainer(ExpressionTreeNode treeNode, String expression) { this.TreeNode = treeNode; this.Expression = expression; }