コード例 #1
0
ファイル: PageProvider.cs プロジェクト: weedkiller/let.portal
 public PageProvider(
     IPageRepository pageRepository,
     IPageTemplateRepository pageTemplateRepository,
     IPageVersionRepository pageVersionRepository)
 {
     _pageRepository         = pageRepository;
     _pageTemplateRepository = pageTemplateRepository;
     _pageVersionRepository  = pageVersionRepository;
 }
コード例 #2
0
 public PagesController(
     IPageRepository pageRepository,
     IPageVersionRepository pageVersionRepository,
     IHttpContextAccessor httpContextAccessor,
     IThemeRepository themeRepository,
     IPageTemplateRepository pageTemplateRepository,
     IPageService pageService)
 {
     _pageRepository         = pageRepository;
     _pageVersionRepository  = pageVersionRepository;
     _httpContextAccessor    = httpContextAccessor;
     _themeRepository        = themeRepository;
     _pageTemplateRepository = pageTemplateRepository;
     _pageService            = pageService;
 }
コード例 #3
0
 public TemplateService(IPageTemplateRepository templateRepository)
 {
     _templateRepository = templateRepository;
 }