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)); }
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)); }
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)); }