You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just published version 1.4.6.0 that implement a Context object in addition to the variables dictionary.
(See Context object on the wiki)
2 new constructors are available and a property Context.
It's an easy modification that allow this and I only made a few tests.
So don't hesitate to open new issues if you find some bugs with this.
For now I close this issue.
Thanks for this idea. I think it's a nice enhancement for ExpressionEvaluator.
Receiving a list of variables is helpfull, but it would be great if instead of this
var eval = new ExpressionEvaluator(variables);
the library could receive an object which would be the context. (similar to what roslyn does)
var eval = new ExpressionEvaluator(Person1);
then all the properties, variables and methods would be directly accessible
where Person1 is an instance of the class
The text was updated successfully, but these errors were encountered: