1.5.0.0
Metadata
Authors | Eamon Nerbonne |
---|---|
Copyrights | Copyright 2015 © Eamon Nerbonne |
Description | 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. |
LicenseUrl | http://www.apache.org/licenses/LICENSE-2.0 |
Owners | Eamon Nerbonne |
ProjectUrl | https://github.com/EamonNerbonne/ExpressionToCode |
ReleaseNotes | Added experimental API in the Unstable_v2_Api namespace; jagged arrays with varying rank now work correctly; in some simple cases explicit generic type arguments are generated when necessary (issue #13); arrays of delegates now work. |
RequireLicenseAcceptance | False |
Summary | Create readable C# assertions (or other code) from an expression tree; can annotate subexpressions with their runtime value. Integrates with xUnit.NET, NUnit and MSTest. |
Tags | code-generation NUnit xUnit.NET mstest expression-tree unit-test PowerAssert ExpressionToCode |
Title | ExpressionToCodeLib |
PackageSize | 93115 |
PackageHashAlgorithm | SHA512 |
PackageHash | qUbLcUduBhGw3JMOKjzEd9XKwfa1xFKyH0fVQQVgNTXN2xqel6hcry2wy27iquv8Evcy+XbEE5lr97QC/h5/Ew== |
DownloadCount | 000000 |
CreatedDate | 2015-03-07T19:37:02 |
Access
You can access data for this version using the tools and addresses described below.
NuGet (nuget.exe)
- Installing the package (HTTP Basic authentication):
-
nuget install ExpressionToCodeLib -Version 1.5.0.0 -Source http://nuget.gw.symbolsource.org/Public/NuGet/FeedService.mvc
- Installing the package (pre-authenticated):
-
nuget install ExpressionToCodeLib -Version 1.5.0.0 -Source http://nuget.gw.symbolsource.org/Public/%login%/%key%/NuGet/FeedService.mvc
- Deleting the package from the server (for each registered key):
-
nuget delete ExpressionToCodeLib 1.5.0.0 %key% -Source http://nuget.gw.symbolsource.org/Public/NuGet
NuGet (Package Manager Console)
- Installing the package (HTTP Basic authentication):
-
Install-Package ExpressionToCodeLib -Version 1.5.0.0 -Source http://nuget.gw.symbolsource.org/Public/NuGet/FeedService.mvc
- Installing the package (pre-authenticated):
-
Install-Package ExpressionToCodeLib -Version 1.5.0.0 -Source http://nuget.gw.symbolsource.org/Public/%login%/%key%/NuGet/FeedService.mvc
OpenWrap
- Installing the package:
-
o add-wrap ExpressionToCodeLib -Version 1.5.0.0
- Uninstalling the package:
-
o remove-wrap ExpressionToCodeLib
Compilations
A compilation is created for every set of binaries produced from a single unchanged set of sources in different compilation modes (Debug, Release), for different platforms (x86, x64) or targetting different frameworks.
Profile | Mode | Platform | Related |
---|---|---|---|
AnyCPU | Release | .NETFramework,Version=v4.0,Profile=Client | Binaries |