Andrey Bykiev

Results 271 comments of Andrey Bykiev

Can you please help with running tests in FEC in VS? I see there is `TestRunner` project, but how to run them with VS? There is no tests in VS...

Converted into draft for now... It seems I was wrong `type.GetProperties(BindingFlags.DeclaredOnly);` is equal to these binding flags: `BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static | BindingFlags.DeclaredOnly | BindingFlags.NonPublic` and if all of...

@dadhi, should be ok now, can you please rerun tests on CI?

The performance still should be better, let's measure it

I need some more time to research if it can be replaced... As I can see we can support it only when event handlers are not used. Upd. we can...

I did some research and finally it's not possible to implement our use case without event handlers. We have a formula created by the user and we don't know which...

> Should be possible to recover other arguments using `ExpressionContext`? > > Like > > ```cs > expression.Functions["Foo"] = (args)=>{ > args.Context.DynamicParameters // Bar is here > } > >...

This doesn't seems to be correct, because I need to get the same value with `"p1 + GetValue(p1*2)"` and `"GetValue(p1*2) + p1"`

I think the global class variable should solve the issue: ``` private static DateTime Dt = DateTime.Now; static void Main(string[] args) { var expr = new Expression("p1 + GetValue(p1*2)"); expr.DynamicParameters["p1"]...

But still this is not very user friendly, I've a common method to get the value of any dynamic parameter but without event handler I need to add all of...