public override void GetData(object target, Stream outgoingData) { Expression expr = (Expression)target; ExpressionTreeNode browser = new ExpressionTreeNode(expr); ExpressionTreeContainer container = new ExpressionTreeContainer(browser, expr.ToString()); VisualizerObjectSource.Serialize(outgoingData, container); }
public ExpressionTreeContainer(ExpressionTreeNode tree, string expression) { this.tree = tree; this.expression = expression; }