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 管道的消息转换器。我使用 Structuremap 作为我的 IoC 容器。使用 Structuremap 和 NServicebus 注册它们的正确方法是什么?
在示例中找到答案。
Configure.Instance.Configurer.ConfigureComponent<Mutator1>(DependencyLifecycle.InstancePerCall); Configure.Instance.Configurer.ConfigureComponent<Mutator2>(DependencyLifecycle.InstancePerCall);