FeralExpressions.Generator
1.2.0-alpha
dotnet add package FeralExpressions.Generator --version 1.2.0-alpha
NuGet\Install-Package FeralExpressions.Generator -Version 1.2.0-alpha
<PackageReference Include="FeralExpressions.Generator" Version="1.2.0-alpha" />
paket add FeralExpressions.Generator --version 1.2.0-alpha
#r "nuget: FeralExpressions.Generator, 1.2.0-alpha"
// Install FeralExpressions.Generator as a Cake Addin #addin nuget:?package=FeralExpressions.Generator&version=1.2.0-alpha&prerelease // Install FeralExpressions.Generator as a Cake Tool #tool nuget:?package=FeralExpressions.Generator&version=1.2.0-alpha&prerelease
This project supplies compile time support for FeralExpressions.
For every.cs file which contains a partial class with one or more expression bodied method, it creates an equivalent of that
method which has the same logic, but is a static Expression property.
For example,
public static string Test(string arg1) => ""abc"" + arg1;
would produce
public static Expression<Func<string,string>> Test_Expression => (string arg1) => ""abc"" + arg1;
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on FeralExpressions.Generator:
Package | Downloads |
---|---|
FeralExpressions
FeralExpressions defines the expansion method .Inline() which can be called on either an expression, or an IQueryable. It replaces method calls in the expression with the method body. In order for this to work, the method must (a) be declared in a partial class (b) have an expression body (c) have any references to this explicitly written |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.2.0-alpha | 1,271 | 2/2/2018 |
1.1.2-alpha | 1,127 | 2/1/2018 |
1.1.1-alpha.1 | 715 | 2/1/2018 |
1.1.1-alpha | 992 | 2/1/2018 |
1.1.0-alpha | 1,283 | 1/30/2018 |
1.0.3 | 1,261 | 1/7/2018 |
1.0.2 | 1,191 | 1/7/2018 |
1.0.1 | 1,618 | 7/27/2017 |
1.0.0 | 1,227 | 7/27/2017 |
0.0.1-alpha | 997 | 7/25/2017 |
- Fixed a bug where dotnet build command couldnt find Microsoft Build assemblies