FeralExpressionsCore.Generator 3.0.1-preview2

This is a prerelease version of FeralExpressionsCore.Generator.
There is a newer version of this package available.
See the version list below for details.
dotnet add package FeralExpressionsCore.Generator --version 3.0.1-preview2                
NuGet\Install-Package FeralExpressionsCore.Generator -Version 3.0.1-preview2                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="FeralExpressionsCore.Generator" Version="3.0.1-preview2" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add FeralExpressionsCore.Generator --version 3.0.1-preview2                
#r "nuget: FeralExpressionsCore.Generator, 3.0.1-preview2"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install FeralExpressionsCore.Generator as a Cake Addin
#addin nuget:?package=FeralExpressionsCore.Generator&version=3.0.1-preview2&prerelease

// Install FeralExpressionsCore.Generator as a Cake Tool
#tool nuget:?package=FeralExpressionsCore.Generator&version=3.0.1-preview2&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&lt;Func&lt;string,string&gt;&gt; Test_Expression => (string arg1) => ""abc"" + arg1;

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

  • .NETCoreApp 3.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

supports efcore 3.x preview (not backward compatible. Do not use with Efcore 2.x)
-rewrote the providers to have common codebase, and reuse the provider for multiple visitors
- exposed WithExpressionVisitors to make it far easier to extend the functionality