Releases: zspitz/ExpressionTreeVisualizer
Releases · zspitz/ExpressionTreeVisualizer
1.3.52
1.3.51
1.3.50
1.3.49
1.3.41
1.3.35
1.3.34
The string rendering library now has a factory method formatter:
// using ExpressionToString;
var i = 5;
Expression<Func<int, int>> expr = j => (i + j + 17) * (i + j + 17);
Console.WriteLine(expr.ToString("Factory methods"));
prints:
// using static System.Linq.Expressions.Expression
Lambda(
Multiply(
Add(
Add(i, j),
Constant(17)
),
Add(
Add(i, j),
Constant(17)
)
),
var j = Parameter(
typeof(int),
"j"
)
)
It is also available in the visualizer.