How to control the order of module initialization in Prism

后端 未结 7 830
暖寄归人
暖寄归人 2020-12-28 21:34

I\'m using Prism V2 with a DirectoryModuleCatalog and I need the modules to be initialized in a certain order. The desired order is specified with an attribute on each IModu

相关标签:
7条回答
  • 2020-12-28 22:21

    I resolved this by using the ModuleDependency attribute and it worked like a charm

    0 讨论(0)
提交回复
热议问题