1.5.2.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 | Automatically deduce when generic methods need explicit type parameters |
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 | 95407 |
PackageHashAlgorithm | SHA512 |
PackageHash | zWpVyV+fTLGuyEGBPeyW1uZ/OrBZE0NgMZORJ2dy97U+PpL68b9k4ZMBA13wCHWKwRxLI8H2MK+QscI++th9MA== |
DownloadCount | 000000 |
CreatedDate | 2015-03-22T11:00:08 |
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.2.0 -Source http://nuget.gw.symbolsource.org/Public/NuGet/FeedService.mvc
- Installing the package (pre-authenticated):
-
nuget install ExpressionToCodeLib -Version 1.5.2.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.2.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.2.0 -Source http://nuget.gw.symbolsource.org/Public/NuGet/FeedService.mvc
- Installing the package (pre-authenticated):
-
Install-Package ExpressionToCodeLib -Version 1.5.2.0 -Source http://nuget.gw.symbolsource.org/Public/%login%/%key%/NuGet/FeedService.mvc
OpenWrap
- Installing the package:
-
o add-wrap ExpressionToCodeLib -Version 1.5.2.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 |