Closed snakorse closed 6 years ago
LambdaParser cannot evaluate expressions like that. Usually LambdaParser is used for expressions that can be entered by the user - like formulas or custom conditions. As for me, ability to define nested lambdas is overkill, as you always provide 'helper' functions that can be used in the expression like "List.RemoveEmptyEntries(list)".
Got it, thanks.
Is it possible to support nested expression parsing like this:
lambdaParser.Parse("(List<string> list) => list.Where(o => !string.IsNullOrEmpty(o))");