ExpressionToString
ExpressionToString copied to clipboard
Expression.ToString() is not so nice to look at sometimes, this library will ToString your expression in the way you want
Unfortunately, I have a problem with `Array expressions`. I created a `dotnetfiddle` [here](https://dotnetfiddle.net/HFP4cM) ```cs Expression exp = () => new[] { "1","2" }; var str = ExpressionToString.ExpressionStringBuilder.ToString(exp); ``` The result...
Class not accessible in Razor context from MVC 5.2
Consider the following expression: ``` C# Expression func = text => text == "Hello"; var result = ExpressionStringBuilder.ToString(func); ``` It produces the following result: ``` (text) => (text == "Hello")...
Originally we would have written something like this: ``` c# Expression func = () => Console.WriteLine(); string result = func.ToString(); ``` I would like for `ExpressionToString` to offer an extension...
After releasing this I found out about https://github.com/jbevain/mono.linq.expressions/blob/master/Mono.Linq.Expressions/CSharpWriter.cs#L35 It looks more complete than this project, but I still like the simplicity of the code package. Lets have a look what...