Table of Contents

Class LambdaExtensions

Namespace
xFunc.Maths.Expressions
Assembly
xFunc.Maths.dll

Extension methods for Lambda and LambdaExpression.

public static class LambdaExtensions
Inheritance
LambdaExtensions
Inherited Members

Methods

ToLambda(IExpression)

Converts exp to Lambda without parameters.

public static Lambda ToLambda(this IExpression exp)

Parameters

exp IExpression

The expression to convert.

Returns

Lambda

The lambda.

ToLambda(IExpression, ImmutableArray<string>)

Converts exp to Lambda without parameters.

public static Lambda ToLambda(this IExpression exp, ImmutableArray<string> variables)

Parameters

exp IExpression

The expression to convert.

variables ImmutableArray<string>

The list of lambda parameters.

Returns

Lambda

The lambda.

ToLambda(IExpression, params string[])

Converts exp to Lambda without parameters.

public static Lambda ToLambda(this IExpression exp, params string[] variables)

Parameters

exp IExpression

The expression to convert.

variables string[]

The list of lambda parameters.

Returns

Lambda

The lambda.

ToLambdaExpression(IExpression)

Converts exp to LambdaExpression without parameters.

public static LambdaExpression ToLambdaExpression(this IExpression exp)

Parameters

exp IExpression

The expression to convert.

Returns

LambdaExpression

The lambda expression.

ToLambdaExpression(IExpression, params string[])

Converts exp to LambdaExpression without parameters.

public static LambdaExpression ToLambdaExpression(this IExpression exp, params string[] variables)

Parameters

exp IExpression

The expression to convert.

variables string[]

The list of lambda parameters.

Returns

LambdaExpression

The lambda expression.