namespace Bts.BooleanExpressions.Arguments; class Argument : IArgument { readonly Func, object?> getValue; public Argument(Func, object?> getValue) => this.getValue = getValue; public object? GetValue(IDictionary env) => getValue(env); } class Argument : IArgument { readonly Func, T> getValue; public Argument(Func, T> getValue) => this.getValue = getValue; public T GetValue(IDictionary env) => getValue(env); }