Dynamically determine Structuremap dependency, change it without restart

后端 未结 0 674
悲哀的现实
悲哀的现实 2021-02-11 21:48

Need to change determination in runtime. Is it possible?

    bool isTest = true;
For().Use(
     ctx => isTest ? (IServiceProvider)ctx.         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题