FeralExpressionsCore.Generator
5.3.2
dotnet add package FeralExpressionsCore.Generator --version 5.3.2
NuGet\Install-Package FeralExpressionsCore.Generator -Version 5.3.2
<PackageReference Include="FeralExpressionsCore.Generator" Version="5.3.2" />
paket add FeralExpressionsCore.Generator --version 5.3.2
#r "nuget: FeralExpressionsCore.Generator, 5.3.2"
// Install FeralExpressionsCore.Generator as a Cake Addin #addin nuget:?package=FeralExpressionsCore.Generator&version=5.3.2 // Install FeralExpressionsCore.Generator as a Cake Tool #tool nuget:?package=FeralExpressionsCore.Generator&version=5.3.2
This project supplies compile time support for FeralExpressionsCore.
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.
-
net8.0
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on FeralExpressionsCore.Generator:
Package | Downloads |
---|---|
FeralExpressionsCore
FeralExpressionsCore 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 |
---|---|---|
5.3.2 | 126 | 9/13/2024 |
5.3.1 | 109 | 9/3/2024 |
5.3.0 | 91 | 9/3/2024 |
5.2.0 | 94 | 7/24/2024 |
5.1.0 | 1,178 | 8/27/2022 |
5.0.0-efcore5.preview7-rc1 | 449 | 8/4/2020 |
5.0.0-efcore5.preview7 | 278 | 8/4/2020 |
3.1.0 | 1,072 | 8/27/2022 |
3.1.0-preview2 | 1,032 | 5/28/2021 |
3.1.0-preview1 | 1,411 | 2/14/2020 |
3.0.2 | 1,467 | 2/14/2020 |
3.0.1-preview2 | 1,263 | 10/2/2019 |
3.0.1-preview | 982 | 10/2/2019 |
3.0.0-preview | 993 | 7/1/2019 |
1.8.9 | 1,420 | 7/24/2019 |
1.7.0 | 1,394 | 5/30/2019 |
1.6.2 | 1,476 | 5/1/2019 |
1.6.1 | 1,482 | 3/14/2019 |
1.6.0 | 1,500 | 11/24/2018 |
1.5.1 | 1,686 | 11/23/2018 |
1.5.0 | 1,514 | 10/21/2018 |
1.4.0-alpha | 1,381 | 8/28/2018 |
1.3.3-alpha | 1,493 | 8/6/2018 |
1.3.1-alpha | 1,567 | 8/6/2018 |
1.3.0-alpha | 1,560 | 8/6/2018 |
- fixed a bug with the .targets file that was preventing updating .expressions.cs files
- fixed a warning about expressions files twice in Compile
- added using System to the .expressions file if it wasnt already there
- updated dependencies to dotnet8 and efcore 6
- fixed a bug where it errored if there were NO .expressions files
- incremental build improvements