How to properly register a Func with autofac?

前端 未结 0 857
忘了有多久
忘了有多久 2020-12-10 17:26

Let\'s say i have a Func to create objects:

var myObjFactory = new Func(id => new MyObj(id));

And i pass it in a const

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