Wednesday, 15 May 2013

c# - Prism Dependent Modules -



c# - Prism Dependent Modules -

this should easy one,

i have domainmodule , servicesmodule domainmodule uses servicesmodule.

domainmodule --> servicesmodule

module's definitions :

[moduledependency("servicesmodule")] [module(modulename = "domainmodule")] public class domainmodule : modulebase ... [module(modulename = "servicesmodule")] public class servicesmodule : modulebase

the error i'm getting :

a module declared dependency on module not declared loaded. missing module(s): servicesmodule

not sure if add together reference servicesmodule lose loose coupling rule or not, tried not that, if i'm wrong on tell me please.

what suggestions/hints on ?

the current release of composite application library not bring back upwards loading modules on demand dependencies.

but there workaround creating extension method load dependent modules can found here.

c# wpf prism

No comments:

Post a Comment