FeralExpressionsCore.Generator
1.3.0-alpha
See the version list below for details.
dotnet add package FeralExpressionsCore.Generator --version 1.3.0-alpha
NuGet\Install-Package FeralExpressionsCore.Generator -Version 1.3.0-alpha
<PackageReference Include="FeralExpressionsCore.Generator" Version="1.3.0-alpha" />
paket add FeralExpressionsCore.Generator --version 1.3.0-alpha
#r "nuget: FeralExpressionsCore.Generator, 1.3.0-alpha"
// Install FeralExpressionsCore.Generator as a Cake Addin #addin nuget:?package=FeralExpressionsCore.Generator&version=1.3.0-alpha&prerelease // Install FeralExpressionsCore.Generator as a Cake Tool #tool nuget:?package=FeralExpressionsCore.Generator&version=1.3.0-alpha&prerelease
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.
-
.NETCoreApp 2.1
- Microsoft.CodeAnalysis.CSharp (>= 2.8.2)
- Microsoft.NETCore.App (>= 2.1.0)
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 | 129 | 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,179 | 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,383 | 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 |
- Rewrote the generator in .NET core. Later Versions of Microsoft.CodeAnalysis only support core, so this seemed easier. Passes the same tests as the old generator.