ディクショナリアダプタを実装する複数のコンポーネントを登録したいのですが、AllTypes.From..はクラスタイプのみを選択します。私はこのようなことをしたい:
container.Register(AllTypes.FromAssemblyContaining<IFooSettings>()
.Where(type => type.IsInterface)
.Configure(component =>
component.UsingFactoryMethod((kernel, model, creationContext) => new DictionaryAdapterFactory().GetAdapter(creationContext.RequestedType, ConfigurationManager.AppSettings))));
FromTypesDescriptor ctorが内部にあるため、独自のバージョンの「AllTypes」を作成できないようです。これをどのように達成できるかについてのアイデアはありますか?