Esempio n. 1
0
 public RolloutUsernameActivator(ILogger <XabarilModule> logger,
                                 IRuntimeParameterAccessor runtimeParameterAccessor,
                                 IUserProvider userProvider)
 {
     _logger = logger ?? throw new ArgumentNullException(nameof(logger));
     _runtimeParameterAccessor = runtimeParameterAccessor ?? throw new ArgumentNullException(nameof(runtimeParameterAccessor));
     _userProvider             = userProvider ?? throw new ArgumentNullException(nameof(userProvider));
 }
Esempio n. 2
0
 public HeaderValueActivator(ILogger <XabarilModule> logger,
                             IRuntimeParameterAccessor runtimeParameterAccessor,
                             IHttpContextAccessor httpContextAccessor)
 {
     _logger = logger ?? throw new ArgumentNullException(nameof(logger));
     _runtimeParameterAccessor = runtimeParameterAccessor ?? throw new ArgumentNullException(nameof(runtimeParameterAccessor));
     _httpContextAccessor      = httpContextAccessor ?? throw new ArgumentNullException(nameof(httpContextAccessor));
 }
Esempio n. 3
0
 public RoleActivator(ILogger <XabarilModule> logger,
                      IRuntimeParameterAccessor runtimeParameterAccessor,
                      IRoleProvider roleProvider)
 {
     _logger = logger ?? throw new ArgumentNullException(nameof(logger));
     _runtimeParameterAccessor = runtimeParameterAccessor ?? throw new ArgumentNullException(nameof(runtimeParameterAccessor));
     _roleProvider             = roleProvider ?? throw new ArgumentNullException(nameof(roleProvider));
 }
 public LocationActivator(ILogger <XabarilModule> logger,
                          IRuntimeParameterAccessor runtimeParameterAccessor,
                          IHttpContextAccessor httpContextAccessor,
                          IGeoLocationProvider geoLocationProvider)
 {
     _logger = logger ?? throw new ArgumentNullException(nameof(logger));
     _runtimeParameterAccessor = runtimeParameterAccessor ?? throw new ArgumentNullException(nameof(runtimeParameterAccessor));
     _httpContextAccessor      = httpContextAccessor ?? throw new ArgumentNullException(nameof(httpContextAccessor));
     _geoLocationProvider      = geoLocationProvider ?? throw new ArgumentNullException(nameof(geoLocationProvider));
 }