mparlak / Flee

Fast Lightweight Expression Evaluator
630 stars 121 forks source link

Import type with ctor that take some parameters #71

Open Jerac102 opened 5 years ago

Jerac102 commented 5 years ago

Hi,

the class that I want to import ExpressionContext.Imports.AddType(myType) has ctor that have to take some parameters. Ist there way to import this type with parameters? My workaround is to make my class static and then initalize static fields... but this is not best aproach for my project.