Closed
Description
Hello. Thanks for the project
I have some problem. So the following problem occurs when I try to call with settings
public static string GetMemberName(this LambdaExpression memberSelector)
{
var i = new Func<ITranslationSettings, ITranslationSettings>(s => s.ShowCapturedValues);
return memberSelector.ToReadableString(i);
}
for the expression like
x => x.First().Currency
Stack Trace:
Expression.Constant(Object value, Type type)
MemberAccessTranslation.For(MemberExpression memberAccess, ITranslationContext context)
ExpressionTranslation.GetDefaultTranslation(Expression expression)
ExpressionTranslation.GetTranslationFor(Expression expression)
PublicTranslationContextExtensions.GetCodeBlockTranslationFor(ITranslationContext context, Expression expression)
LambdaTranslation.ctor(LambdaExpression lambda, ITranslationContext context)
ExpressionTranslation.GetDefaultTranslation(Expression expression)
ExpressionTranslation.GetTranslationFor(Expression expression)
ExpressionTranslation.GetTranslation()
ExpressionExtensions.ToReadableString(Expression expression, Func`2 configuration)
LambdaExpressionExtension.GetMemberName(LambdaExpression memberSelector) line 138
Can you tell me what kind of settings I need to use for this expression?
Thanks