I'm trying to migrate a Prism WPF application whitch is using Unity IoC container to use DryIoC container.
In a module I have the Unity container injected to register a class specifying the constructor.
unityContainer.RegisterType<IService, Service>(
typeof(Service).FullName,
new ContainerControlledLifetimeManager(),
Invoke.Constructor(
Resolve.Parameter<IDependency1>(),
Resolve.Parameter<IDependency2>()...
));
I wanted to migrate this type of registers to use IContainerRegistry methods to register. I've seen that IContainerRegistry interface provides methods to regiser using Factory method whitch I can use to specify constructor, but there is no method with factory method as parameter and named register also.
Does anybody have the same problem? Maybe extending the IContainerRegistry implementation?