public WindowsAuthentication(IIdentityResolver identityResolver, ILog log, IWebFacade webFacade, IWindowsAuthenticationExtension2 windowsAuthenticationInternal)
 {
     this.IdentityResolver = identityResolver ?? throw new ArgumentNullException(nameof(identityResolver));
     this.Log       = log ?? throw new ArgumentNullException(nameof(log));
     this.WebFacade = webFacade ?? throw new ArgumentNullException(nameof(webFacade));
     this.WindowsAuthenticationInternal = windowsAuthenticationInternal ?? throw new ArgumentNullException(nameof(windowsAuthenticationInternal));
 }
Exemplo n.º 2
0
 public ListFactory(IContentLoader contentLoader, IContentRouteHelperContext contentRouteHelperContext, IFilterFacade filters, ILoggerFactory loggerFactory, IPaginationFactory paginationFactory, IWebFacade webFacade) : base(contentLoader, contentRouteHelperContext, filters, loggerFactory)
 {
     this.PaginationFactory = paginationFactory ?? throw new ArgumentNullException(nameof(paginationFactory));
     this.WebFacade         = webFacade ?? throw new ArgumentNullException(nameof(webFacade));
 }
 public HtmlRemoteToLocalConverter(IWebFacade webRequest)
 {
     _WebFacade = webRequest;
 }
Exemplo n.º 4
0
 public FederationAuthenticationModule(IFormsAuthentication formsAuthentication, IFormsAuthenticationTicketFactory formsAuthenticationTicketFactory, ILog log, IRedirectInformationFactory redirectInformationFactory, IWebFacade webFacade, IWindowsFederationIdentityFactory windowsFederationIdentityFactory)
 {
     this.FormsAuthentication = formsAuthentication ?? throw new ArgumentNullException(nameof(formsAuthentication));
     this.FormsAuthenticationTicketFactory = formsAuthenticationTicketFactory ?? throw new ArgumentNullException(nameof(formsAuthenticationTicketFactory));
     this.Log = log ?? throw new ArgumentNullException(nameof(log));
     this.RedirectInformationFactory = redirectInformationFactory ?? throw new ArgumentNullException(nameof(redirectInformationFactory));
     this.WebFacade = webFacade ?? throw new ArgumentNullException(nameof(webFacade));
     this.WindowsFederationIdentityFactory = windowsFederationIdentityFactory ?? throw new ArgumentNullException(nameof(windowsFederationIdentityFactory));
 }
Exemplo n.º 5
0
 public ContentFacade(ICollectionFacade collections, IFilterFacade filters, IContentLoader loader, IContentRepository repository, IContentRouteHelperContext routing, ISiteDefinitionResolver siteDefinitionResolver, IUrlResolver urlResolver, IWebFacade web)
 {
     this.Collections            = collections ?? throw new ArgumentNullException(nameof(collections));
     this.Filters                = filters ?? throw new ArgumentNullException(nameof(filters));
     this.Loader                 = loader ?? throw new ArgumentNullException(nameof(loader));
     this.Repository             = repository ?? throw new ArgumentNullException(nameof(repository));
     this.Routing                = routing ?? throw new ArgumentNullException(nameof(routing));
     this.SiteDefinitionResolver = siteDefinitionResolver ?? throw new ArgumentNullException(nameof(siteDefinitionResolver));
     this.UrlResolver            = urlResolver ?? throw new ArgumentNullException(nameof(urlResolver));
     this.Web = web ?? throw new ArgumentNullException(nameof(web));
 }
Exemplo n.º 6
0
 public RedirectInformationFactory(IWebFacade webFacade)
 {
     this.WebFacade = webFacade ?? throw new ArgumentNullException(nameof(webFacade));
 }