Class ExpressionParser
Parse lambda expressions from strings.
Inheritance
ExpressionParser
Assembly: Radzen.Blazor.dll
Syntax
public class ExpressionParser
Methods
ParseLambda(string, Type, Func<string, Type?>?)
Parses a lambda expression that returns untyped result.
Declaration
public static LambdaExpression ParseLambda(string expression, Type type, Func<string, Type?>? typeResolver = null)
Parameters
Returns
ParseLambda<T>(string, Func<string, Type?>?)
Parses a lambda expression that returns untyped result.
Declaration
public static LambdaExpression ParseLambda<T>(string expression, Func<string, Type?>? typeLocator = null)
Parameters
Returns
Type Parameters
ParseLambda<T, TResult>(string, Func<string, Type?>?)
Parses a lambda expression that returns a typed result.
Declaration
public static Expression<Func<T, TResult>> ParseLambda<T, TResult>(string expression, Func<string, Type?>? typeResolver = null)
Parameters
Returns
Type Parameters
Name |
Description |
T |
|
TResult |
|
ParsePredicate<T>(string, Func<string, Type?>?)
Parses a lambda expression that returns a boolean value.
Declaration
public static Expression<Func<T, bool>> ParsePredicate<T>(string expression, Func<string, Type?>? typeResolver = null)
Parameters
Returns
Type Parameters