Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
NServicebusパイプラインに追加したい複数のメッセージミューテーターがあります。IoCコンテナとしてStructuremapを使用しています。それらをStructuremapとNServicebusの両方に登録する適切な方法は何ですか?
例で答えを見つけました。
Configure.Instance.Configurer.ConfigureComponent<Mutator1>(DependencyLifecycle.InstancePerCall); Configure.Instance.Configurer.ConfigureComponent<Mutator2>(DependencyLifecycle.InstancePerCall);