On 10/20/2014 12:32 AM, MrSmith wrote:
Than any module can search for registered modules and try to cast them to concrete type (upcast).
That can't work because the notion of types only exists during compilation. Therefor it's not possible to load new types at runtime and use them in code that was compiled without knowing those types.
You should simply use interfaces to achieve your goal.
