Apr 23, 2009 at 2:35 PM
Edited Apr 23, 2009 at 2:37 PM
Prism we can map one type to another:
But what if we have remote module? Then we know interface (IServiceInterface) and we don't know about concrete class (we haven't reference
to assembly with this type).
Of course we can get name of type via service or something else and use it like this:
container.RegisterType(typeof(IServiceInterface), Type.GetType("Here is the name of the concrete class"));
It's not work (Type.GetType returns
null, because module is still loading).
So, how I can map interface of remote module to concrete class of remote module using