IM は NHibernate で NCommon を使用しており、StruceMap を IOC として使用したいと考えています。NCommon を StructureMap に登録する方法を知っている人はいませんか?
NCommon に関する情報は次のとおりです。
https://github.com/riteshrao/ncommon/
Castle Windsorでの方法は次のとおりです
foreach (var type in types)
container.Register(Component.For<IController>().ImplementedBy(type)
.LifeStyle.Transient
.Named(type.Name.Replace("Controller", "")));
var containerAdapter = new NCommon.ContainerAdapter.CastleWindsor.WindsorContainerAdapter(container);