Metadata >> NuGet >> ExpressionToCodeLib >> 1.4.0.0

1.4.0.0

Metadata

Authors Eamon Nerbonne
Copyrights Copyright 2013 © 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 http://code.google.com/p/expressiontocode/
ReleaseNotes Better layout in the face of non-fixed-width rendering: Although fixed-width rendering is the only way to be sure the subexpression annotations line up with the actual expression, ExpressionToCode now uses a mixture of normal spaces and en spaces in the subexpression annotation so that the alignment is roughly OK in many cases even with variable width fonts. Supports inferring char constants in expressions such as "someVar == 'b'" (C# compiles these as integer constants, heuristics are used to identify those integers that were likely chars in the original code).
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 NUnit xUnit.NET mstest expression-tree unit-test PowerAssert
Title ExpressionToCodeLib
PackageSize 76147
PackageHashAlgorithm SHA512
PackageHash jXMFWnbIhJ99hRfrjxevYQSfKXZ2R62201gNUGN09mOjaVnA4beD5BavpCFQYoV7SAvtWgwDKY0bCUbVHTf5sA==
DownloadCount 000000
CreatedDate 2013-03-12T14:26:46

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.4.0.0 -Source     http://nuget.gw.symbolsource.org/Public/NuGet/FeedService.mvc
Installing the package (pre-authenticated):
nuget install ExpressionToCodeLib -Version 1.4.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.4.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.4.0.0 -Source     http://nuget.gw.symbolsource.org/Public/NuGet/FeedService.mvc
Installing the package (pre-authenticated):
Install-Package ExpressionToCodeLib -Version 1.4.0.0 -Source     http://nuget.gw.symbolsource.org/Public/%login%/%key%/NuGet/FeedService.mvc

OpenWrap

Installing the package:
o add-wrap ExpressionToCodeLib -Version 1.4.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