I am trying to replace the built in IOC container in Catel with SimpleInjector.
From their prism example (i am using catel+prism) the bootstrapper claims to be configuring Unity in the following fragment:
/// <summary>
/// Configures the <see cref="IUnityContainer"/>. May be overwritten in a derived class to add specific
/// type mappings required by the application.
/// </summary>
protected override void ConfigureContainer()
{
base.ConfigureContainer();
Container.CanResolveNonAbstractTypesWithoutRegistration = true;
Container.RegisterType<IDepartmentRepository, DepartmentRepository>();
Container.RegisterType<IEmployeeRepository, EmployeeRepository>();
}
However I don't see how this configures the IUnityContainer and according to my debugger, it does not in fact configure unity (the Container being used is the built in ServiceLocator of Catel). Can someone more familiar with Catel help me figure out how to do this? I would be happy to write it up for the documentation.