FeralExpressions.Generator
1.0.0
See the version list below for details.
dotnet add package FeralExpressions.Generator --version 1.0.0
NuGet\Install-Package FeralExpressions.Generator -Version 1.0.0
<PackageReference Include="FeralExpressions.Generator" Version="1.0.0" />
paket add FeralExpressions.Generator --version 1.0.0
#r "nuget: FeralExpressions.Generator, 1.0.0"
// Install FeralExpressions.Generator as a Cake Addin #addin nuget:?package=FeralExpressions.Generator&version=1.0.0 // Install FeralExpressions.Generator as a Cake Tool #tool nuget:?package=FeralExpressions.Generator&version=1.0.0
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,269 | 2/2/2018 |
1.1.2-alpha | 1,125 | 2/1/2018 |
1.1.1-alpha.1 | 713 | 2/1/2018 |
1.1.1-alpha | 990 | 2/1/2018 |
1.1.0-alpha | 1,281 | 1/30/2018 |
1.0.3 | 1,251 | 1/7/2018 |
1.0.2 | 1,182 | 1/7/2018 |
1.0.1 | 1,611 | 7/27/2017 |
1.0.0 | 1,220 | 7/27/2017 |
0.0.1-alpha | 995 | 7/25/2017 |
Initial Release