Hi guys,
I was doing some polishing of my in-game scripting API and got to a point where I would really appreciate ability to instantiate generic types with argumented constructors (That argumented part is important). Under normal circumstances it's no big deal and Single call to Activator solves the problem but understandably that's not possible for in-game scripts because of security reasons. With latest update Expressions are gone too and reflection of ConstructorInfo is prohibited for...
Generic type construction
I was doing some polishing of my in-game scripting API and got to a point where I would really appreciate ability to instantiate generic types with argumented constructors (That argumented part is important). Under normal circumstances it's no big deal and Single call to Activator solves the problem but understandably that's not possible for in-game scripts because of security reasons. With latest update Expressions are gone too and reflection of ConstructorInfo is prohibited for...
Generic type construction