using System.Collections.Generic;
using System.Linq.Dynamic.Core;
using System.Linq.Dynamic.Core.CustomTypeProviders;
public static void Main()
ParsingConfig parsingConfig = new() { CustomTypeProvider = new CustomTypeProvider() };
const string filter = "value == @0";
var substitutions = new object?[] { null };
var expression = DynamicExpressionParser.ParseLambda<View, bool>(
createParameterCtor: false,
Console.WriteLine(expression);
private sealed class CustomTypeProvider : IDynamicLinkCustomTypeProvider
public HashSet<Type> GetCustomTypes() => new() { };
public Dictionary<Type, List<MethodInfo>>? GetExtensionMethods() => null;
public Type ResolveType(string? typeName) => null;
public Type ResolveTypeBySimpleName(string? simpleTypeName) => null!;
private sealed class View
public string? Value { get; set; }