public void Install(IWindsorContainer container, IConfigurationStore store) { Assembly viewAssembly = typeof(ApplicationInstaller).Assembly; string title = Views.Shared.Resources.Application.Title; IList <ResourceAssemblyLocation> locations = new List <ResourceAssemblyLocation> { new ResourceAssemblyLocation { Assembly = viewAssembly, Namespace = Constants.JavaScriptResourceNamespaceRoot } }; WindsorInstaller installer = new WindsorInstaller(viewAssembly, title, locations); container.Install(installer); }
public void Application_Start(out IAccountService accountService, out IDocumentService bookService, out IUserService userService, out ILoanService loanService) { container = new WindsorContainer(); WindsorInstaller.Install(container); WindsorResolver.ResolveDependencies(container, out accountService, out bookService, out userService, out loanService); }
public void Install(IWindsorContainer container, IConfigurationStore store) { WindsorInstaller installer = new WindsorInstaller(); container.Install(installer); }