Exemple #1
0
 public PageNotFoundManagerCacheRefresher(AppCaches appCaches, IPageNotFoundManagerConfig config) : base(appCaches)
 {
     this.config = config ?? throw new ArgumentNullException(nameof(config));
 }
 public DashboardController(DistributedCache distributedCache, IPageNotFoundManagerConfig config)
 {
     this.distributedCache = distributedCache ?? throw new ArgumentNullException(nameof(distributedCache));
     this.config           = config ?? throw new ArgumentNullException(nameof(config));
 }
 public PageNotFoundContentFinder(IDomainService domainService, IUmbracoContextFactory umbracoContextFactory, IPageNotFoundManagerConfig config)
 {
     this.domainService         = domainService ?? throw new ArgumentNullException(nameof(domainService));
     this.umbracoContextFactory = umbracoContextFactory ?? throw new ArgumentNullException(nameof(umbracoContextFactory));
     this.config = config ?? throw new ArgumentNullException(nameof(config));
 }