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.
public static string Test(string arg1) => ""abc"" + arg1;
public static Expression<Func<string,string>> Test_Expression => (string arg1) => ""abc"" + arg1;
Install-Package FeralExpressions.Generator -Version 1.2.0-alpha
dotnet add 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"
- Fixed a bug where dotnet build command couldnt find Microsoft Build assemblies
This package has no dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on FeralExpressions.Generator:
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
This package is not used by any popular GitHub repositories.