我有一個DLL至極露出型等 public class MyDbContext {
[...]
}
這個庫裏面我也有一個IPackage實現這在容器註冊MyDbContext等 public void RegisterServices(Container container) {
container.Register<MyDbContext>(Lifestyle.Scope
SimpleInjectorContainerAdapter是否支持通過SimpleInjector容器註冊的Sagas,使用下面的代碼我總是得到異常; 型RebusPlaypen.MyMessageA,RebusPlaypen不能被分派到任何HANDL ERS 下面的代碼演示了這個問題。這可能是因爲我錯誤地實施了Saga註冊,還是SimpleInjectorContainerAdapter