public void Install(IIocContainer container) { container.AddPerWebRequest <CommunicationProvider>(); container.AddPerWebRequest <CommunicationConfigurationProvider>(); container.AddPerWebRequest <StaticTextManager>(); container.AddPerWebRequest <FeedbacksManager>(); container.AddPerWebRequest <IMarkdownToHtmlConverter, MarkdigMarkdownToHtmlConverter>(); container.Install(new AutoMapperInstaller(), new NHibernateInstaller(), new WebDataEntitiesContainerRegistration()); }
public void Install(IIocContainer container) { container.AddPerWebRequest <IUnitOfWork, UnitOfWork>(); container.AddPerWebRequest <CategoryRepository>(); container.AddPerWebRequest <MetadataRepository>(); container.AddPerWebRequest <PersonRepository>(); container.AddPerWebRequest <ProjectRepository>(); container.AddPerWebRequest <UserRepository>(); }
public void Install(IIocContainer container) { container.AddPerWebRequest <CategoryManager>(); container.AddPerWebRequest <PersonManager>(); container.AddPerWebRequest <ProjectManager>(); container.AddPerWebRequest <ProjectMetadataManager>(); container.AddPerWebRequest <ProjectResourceManager>(); container.AddPerWebRequest <UserManager>(); container.AddPerWebRequest <CommunicationConfigurationProvider>(); container.AddPerWebRequest <CommunicationProvider>(); container.AddSingleton <Profile, CategoryProfile>(); container.AddSingleton <Profile, LiteraryGenreProfile>(); container.AddSingleton <Profile, LiteraryKindProfile>(); container.AddSingleton <Profile, MetadataProfile>(); container.AddSingleton <Profile, OriginalAuthorProfile>(); container.AddSingleton <Profile, ProjectProfile>(); container.AddSingleton <Profile, PublisherProfile>(); container.AddSingleton <Profile, ResponsiblePersonProfile>(); container.AddSingleton <Profile, UserProfile>(); }
public void Install(IIocContainer container) { container.AddPerWebRequest <IUnitOfWork, UnitOfWork>(); container.AddPerWebRequest <StaticTextRepository>(); }