Autofact, how to resolve/inject Dispatcher in Wpf?

后端 未结 0 1479
心在旅途
心在旅途 2020-12-14 06:28

I need to pass the dispatcher to update the UI:

container.RegisterType().AsSelf();
container.Register(c => new MyViewModel(c.Resolve

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