public SiteSettingsPageController(ISiteDataRepository siteDataRepository, ISiteNavigationRepository siteNavigationRepository, IViewModelFactory viewModelFactory, IBreadcrumbService breadcrumbService) : base(viewModelFactory) { SiteDataRepository = siteDataRepository; SiteNavigationRepository = siteNavigationRepository; BreadcrumbService = breadcrumbService; }
public OpenGraphService(ISiteDataRepository siteDataRepository) { if (siteDataRepository == null) { throw new ArgumentNullException(nameof(siteDataRepository)); } this.SiteDataRepository = siteDataRepository; }
public PageViewModel(T currentPage, ISiteDataRepository siteDataRepository, IOpenGraphService openGraphService, ISEOService seoService) { if (siteDataRepository == null) { throw new ArgumentNullException(nameof(siteDataRepository)); } if (openGraphService == null) { throw new ArgumentNullException(nameof(openGraphService)); } this.CurrentPage = currentPage; this.SiteDataRepository = siteDataRepository; this.OpenGraphService = openGraphService; this.SEOService = seoService; }
public SiteNavigationRepository(ISiteDataRepository siteDataRepository, IContentRepository contentRepository) { SiteDataRepository = siteDataRepository; ContentRepository = contentRepository; }
public ErrorPageViewModel(ErrorPage currentPage, ISiteDataRepository siteDataRepository, IOpenGraphService openGraphService, ISEOService seoService) : base(currentPage, siteDataRepository, openGraphService, seoService) { }