Unity (v2 & v3)
sealed partial class App : Application
{
ApplicationBootstrapper bootstrapper;
public App()
{
this.bootstrapper = new UnityApplicationBootstrapper<Presentation.MainView>();
}
}public class DefaultInstaller : IUnityInstaller
{
public void Install( IUnityContainer container, BootstrapConventions conventions, IEnumerable<Types> allTypes )
{
//register your components here.
}
}Last updated