mparlak / Flee

Fast Lightweight Expression Evaluator
607 stars 119 forks source link

Import type with ctor that take some parameters #71

Open Jerac102 opened 4 years ago

Jerac102 commented 4 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.