A .NET Standard 1.0 library and set of Debugger Visualizers which translate expression trees into readable code
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
NuGet v1.12.1 visualizers installer, assemblies and NuGet package Jul 7, 2018
ReadableExpressions.UnitTests.Net35 Naming unnamed variables and parameters in translations - fixed issue #… Sep 17, 2018
ReadableExpressions.UnitTests Adding parentheses around equality test condition operands - re: issue Sep 17, 2018
ReadableExpressions.Visualizers.Core Consistently converting Quoted linq expressions Jul 7, 2018
ReadableExpressions.Visualizers.Installer.Custom Fixing WIX visualizers installer Apr 10, 2017
ReadableExpressions.Visualizers.Installer Updating to v1.12.1 Jul 7, 2018
ReadableExpressions.Visualizers.Vs10 Updating VS10 -> Vs12 projects to use NuGet packages for the VisualSt… Mar 23, 2017
ReadableExpressions.Visualizers.Vs11 Updating vs2012 debugger visualizers reference to the installed VS path May 3, 2017
ReadableExpressions.Visualizers.Vs12 Updating VS10 -> Vs12 projects to use NuGet packages for the VisualSt… Mar 23, 2017
ReadableExpressions.Visualizers.Vs14 Adding NetStandardPolyfills reference to .Net40 project / Adding NetS… Nov 11, 2016
ReadableExpressions.Visualizers.Vs15 Updating v15 DebuggerVisualizers reference Mar 24, 2017
ReadableExpressions Adding parentheses around equality test condition operands - re: issue Sep 17, 2018
.gitattributes 🎊 Added .gitattributes Aug 23, 2014
.gitignore Creating xproj for .NetStandard1.1 with polyfills, and Net40 project … Oct 4, 2016
AgileObjects.ReadableExpressions.Visualizers.Vs10.dll v1.12.1 visualizers installer, assemblies and NuGet package Jul 7, 2018
AgileObjects.ReadableExpressions.Visualizers.Vs11.dll v1.12.1 visualizers installer, assemblies and NuGet package Jul 7, 2018
AgileObjects.ReadableExpressions.Visualizers.Vs12.dll v1.12.1 visualizers installer, assemblies and NuGet package Jul 7, 2018
AgileObjects.ReadableExpressions.Visualizers.Vs14.dll v1.12.1 visualizers installer, assemblies and NuGet package Jul 7, 2018
AgileObjects.ReadableExpressions.Visualizers.Vs15.dll v1.12.1 visualizers installer, assemblies and NuGet package Jul 7, 2018
AgileObjects.ReadableExpressions.Visualizers.msi v1.12.1 visualizers installer, assemblies and NuGet package Jul 7, 2018
CommonAssemblyInfo.cs Updating to v1.11 Feb 6, 2018
LICENSE.md Create LICENSE.md Aug 30, 2016
NextVersion.txt Translating Goto statements which go to the final statement in a bloc… Dec 16, 2017
NuGetPack.bat Moving NuGet package / Updating NuGetPack output location Sep 16, 2017
README.md Update README.md Jul 14, 2018
ReadableExpressions.sln Adding .NET 3.5 test project + DLR <-> Linq Expression converters Jul 4, 2018
ReadableExpressions.sln.DotSettings Implementing expression converter Jul 5, 2018
ReadableExpressions.snk Signing library Nov 11, 2016
VersionInfo.cs Updating to v1.12.1 Jul 7, 2018

README.md

ReadableExpressions

NuGet

ReadableExpressions is an extension method for the Expression class and set of Debugger Visualizers to produce readable, source-code string versions of Expression Trees. It targets .NETStandard 1.0+ and .NET 3.5+.

Usage

The extension method (in the namespace AgileObjects.ReadableExpressions) is used like so:

string readable = myExpression.ToReadableString();

...it also works on DynamicLanguageRuntime expressions.

You can optionally maintain explicit generic arguments on method calls where they are implied like so:

string readable = myExpression.ToReadableString(c => c.UseExplicitGenericParameters);

Debugger Visualizers

An installer for a set of Debugger Visualizers which use the extension method for Expressions can be downloaded from the Visual Studio Gallery.

Download

You can download and install using the NuGet package, or clone the repository on GitHub.