ExpressionToCodeLib 1.5.2
dotnet add package ExpressionToCodeLib --version 1.5.2
NuGet\Install-Package ExpressionToCodeLib -Version 1.5.2
<PackageReference Include="ExpressionToCodeLib" Version="1.5.2" />
paket add ExpressionToCodeLib --version 1.5.2
#r "nuget: ExpressionToCodeLib, 1.5.2"
// Install ExpressionToCodeLib as a Cake Addin #addin nuget:?package=ExpressionToCodeLib&version=1.5.2 // Install ExpressionToCodeLib as a Cake Tool #tool nuget:?package=ExpressionToCodeLib&version=1.5.2
Generates valid, readable C# from an expression tree, and can annotate that code with runtime values. This can
be useful for code generation and for unit testing: ExpressionToCode detects NUnit, xUnit.NET and MSTest and
uses their assertions if available, and a normal Exception otherwise (so it runs fine outside those specific unit
testing frameworks too).
ExpressionToCode was inspired by Power Asssert.NET. It differs from PowerAssert.NET by supporting a much larger
portion of the lambda syntax and to respect C#'s normal operator precedence, in addition to general polish.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net40-client is compatible. |
This package has no dependencies.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.5.2 | 297 | 3/22/2015 |
1.5.1 | 74 | 3/10/2015 |
1.5.0 | 139 | 3/7/2015 |
1.4.8 | 219 | 1/21/2015 |
1.4.7 | 80 | 1/11/2015 |
1.4.6 | 193 | 8/30/2014 |
1.4.5 | 153 | 5/29/2014 |
1.4.4 | 95 | 4/9/2013 |
1.4.3 | 56 | 4/5/2013 |
1.4.2 | 52 | 3/29/2013 |
1.4.1 | 53 | 3/26/2013 |
1.4.0 | 56 | 3/12/2013 |
1.3.0 | 58 | 3/11/2013 |
1.2.0 | 56 | 3/8/2013 |
1.1.0.1 | 53 | 3/7/2013 |
1.1.0 | 54 | 3/7/2013 |
Automatically deduce when generic methods need explicit type parameters