ekonbenefits / impromptu-interface

Static interface to dynamic implementation (duck casting). Uses the DLR combined with Reflect.Emit.
Apache License 2.0
655 stars 67 forks source link

Possible and desired enum usage #32

Closed Dzoay closed 8 months ago

Dzoay commented 6 years ago

Illustrates through a few tests that it is possible to work with enum parameters / return values from a dynamically loaded library. For enum parameters, the instance is created using reflection - does impromtu-interface support a more convenient way I have missed?