public StuffViewModelListFactory(IStuffItemRepository stuffItemRepository, IProfilerWrapper profilerWrapper, IStuffView[] stuffViews) { _stuffItemRepository = stuffItemRepository; _profilerWrapper = profilerWrapper; _stuffViews = stuffViews; }
public StuffViewModelFactory(IStuffCategoryRepository stuffCategoryRepository, IStuffView[] stuffViews, IProfilerWrapper profilerWrapper) { _stuffCategoryRepository = stuffCategoryRepository; _stuffViews = stuffViews; _profilerWrapper = profilerWrapper; }
public HomeController(ISingleBlogItemViewModelFactory singleBlogItemViewModelFactory, IHomepageViewModelFactory homepageViewModel, IProfilerWrapper profilerWrapper) : base(profilerWrapper) { _singleBlogItemViewModelFactory = singleBlogItemViewModelFactory; _homepageViewModel = homepageViewModel; _profilerWrapper = profilerWrapper; }
public LibrarianController(IStuffParameterFactory stuffParameterFactory, IStuffViewModelListFactory stuffViewModelListFactory, IProfilerWrapper profilerWrapper, IStuffItemRepository stuffItemRepository) { _stuffParameterFactory = stuffParameterFactory; _stuffViewModelListFactory = stuffViewModelListFactory; _profilerWrapper = profilerWrapper; _stuffItemRepository = stuffItemRepository; }
public HomepageViewModelFactory(IProfilerWrapper profilerWrapper, IBlogEntryRepository blogEntryRepository, ITagCloudViewModelFactory tagCloudViewModelFactory, IHomepageTitleFactory homepageTitleFactory) { _profilerWrapper = profilerWrapper; _blogEntryRepository = blogEntryRepository; _tagCloudViewModelFactory = tagCloudViewModelFactory; _homepageTitleFactory = homepageTitleFactory; }
public StuffController(IStuffViewModelFactory stuffViewModelFactory, IStuffParameterFactory stuffParameterFactory, IStuffItemRepository stuffItemRepository, IProfilerWrapper profilerWrapper): base(profilerWrapper) { _stuffViewModelFactory = stuffViewModelFactory; _stuffParameterFactory = stuffParameterFactory; _stuffItemRepository = stuffItemRepository; _profilerWrapper = profilerWrapper; }
public TegudControllerBase(IProfilerWrapper profilerWrapper) { using (profilerWrapper.Step("Controller Base Constructor")) { ViewBag.MinifyJS = false; ViewBag.ShowProfiler = false; using (profilerWrapper.Step("Set current session user")) { var session = TegudData.SiteSession.Session.GetCurrent(); ViewBag.User = session.User; ViewBag.IsMobile = Request != null && Request.Browser != null && Request.Browser.IsMobileDevice; if(session.User.IsAdmin) { ViewBag.ShowProfiler = true; } } } }
public IdentityRepository(ITegudSqlConnectionFactory connectionFactory, IProfilerWrapper profilerWrapper) { _profilerWrapper = profilerWrapper; _connection = connectionFactory.GetConnection(); }
public StuffParameterFactory(IStuffView[] stuffViews, IProfilerWrapper profilerWrapper) { _profilerWrapper = profilerWrapper; _stuffViewIds = stuffViews.Select(s => s.ID); }
public StuffCategoryRepository(ITegudSqlConnectionFactory connectionFactory, IProfilerWrapper profilerWrapper) { _profilerWrapper = profilerWrapper; _connection = connectionFactory.GetConnection(); }
public BlogController(IProfilerWrapper profilerWrapper) : base(profilerWrapper) { }
public LoginController(IProfilerWrapper profilerWrapper) : base(profilerWrapper) { }