Share via


Expression.Lambda(Func<Object,Object>) Method

Definition

Construct an expression from a lambda expression over the state.

public static AdaptiveExpressions.Expression Lambda (Func<object,object> function);
static member Lambda : Func<obj, obj> -> AdaptiveExpressions.Expression
Public Shared Function Lambda (function As Func(Of Object, Object)) As Expression

Parameters

function
Func<Object,Object>

Lambda expression to evaluate.

Returns

New expression.

Remarks

Exceptions will be caught and surfaced as an error string.

Applies to