Skip to content

Translation of captured values #86

Closed
@viclang

Description

@viclang

I have tried using the TranslateConstantsUsing option, but it does not seem to change the string. Am I doing something wrong? I was using this code for testing:
expression.ToReadableString(c => c.TranslateConstantsUsing((type, value) => "Hello");

Maybe I didn't understand what this setting is doing. I have an Expression like this: x => x.Property.Equals(value)) and I want to translate the variable name value to the actual value in the variable. How can I translate this value?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions