Dynamically determine Structuremap dependency, change it without restart

后端 未结 0 1290
刺人心
刺人心 2021-02-11 21:18

Need to change determination in runtime. Is it possible?

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


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