public GlobalConfigurationController(
     IGlobalConfigurationAppService globalConfigurationAppService,
     IPermissionValueProviderManager permissionValueProviderManager)
 {
     GlobalConfigurationAppService  = globalConfigurationAppService;
     PermissionValueProviderManager = permissionValueProviderManager;
 }
コード例 #2
0
 public AccountController(
     SignInManager <UserIdentity> signInManager,
     UserManager <UserIdentity> userManager,
     IUserAppService userAppService,
     IGlobalConfigurationAppService globalConfigurationAppService,
     IIdentityServerInteractionService interaction,
     IClientStore clientStore,
     IAuthenticationSchemeProvider schemeProvider,
     IEventService events,
     INotificationHandler <DomainNotification> notifications,
     IMediatorHandler bus,
     IConfiguration configuration,
     IUserManageAppService userManageAppService,
     ISystemUser user,
     ILogger <AccountController> logger)
 {
     Bus             = bus;
     _signInManager  = signInManager;
     _userManager    = userManager;
     _userAppService = userAppService;
     _globalConfigurationAppService = globalConfigurationAppService;
     _interaction          = interaction;
     _clientStore          = clientStore;
     _schemeProvider       = schemeProvider;
     _events               = events;
     _configuration        = configuration;
     _userManageAppService = userManageAppService;
     _user          = user;
     _logger        = logger;
     _notifications = (DomainNotificationHandler)notifications;
 }
 public GlobalConfigurationController(
     INotificationHandler <DomainNotification> notifications,
     IMediatorHandler mediator,
     IGlobalConfigurationAppService globalConfigurationSettingsAppService,
     ISystemUser systemUser) : base(notifications, mediator)
 {
     _globalConfigurationSettingsAppService = globalConfigurationSettingsAppService;
     _systemUser = systemUser;
 }
 public ApiHttpClientFileConfigurationRepository(
     IReRouteAppService reRouteAppService,
     IGlobalConfigurationAppService globalConfigurationAppService,
     IDynamicReRouteAppService dynamicReRouteAppService,
     IObjectMapper objectMapper)
 {
     _reRouteAppService             = reRouteAppService;
     _globalConfigurationAppService = globalConfigurationAppService;
     _dynamicReRouteAppService      = dynamicReRouteAppService;
     _objectMapper = objectMapper;
 }
コード例 #5
0
 public OcelotConfigurationController(
     IGlobalConfigurationAppService globalConfigurationAppService,
     IDynamicReRouteAppService dynamicReRouteAppService,
     IAggregateReRouteAppService aggregateReRouteAppService,
     IReRouteAppService reRouteAppService)
 {
     _globalConfigurationAppService = globalConfigurationAppService;
     _aggregateReRouteAppService    = aggregateReRouteAppService;
     _dynamicReRouteAppService      = dynamicReRouteAppService;
     _reRouteAppService             = reRouteAppService;
 }
コード例 #6
0
        public GlobalSettingsTests(WarmupUnifiedContext unifiedContext, ITestOutputHelper output)
        {
            _output            = output;
            _faker             = new Faker();
            UnifiedContextData = unifiedContext;
            _globalAppService  = UnifiedContextData.Services.GetRequiredService <IGlobalConfigurationAppService>();
            _database          = UnifiedContextData.Services.GetRequiredService <ISsoContext>();

            _user           = (AspNetUserTest)UnifiedContextData.Services.GetService <ISystemUser>();
            _user._isInRole = true;
            _notifications  = (DomainNotificationHandler)UnifiedContextData.Services.GetRequiredService <INotificationHandler <DomainNotification> >();

            _notifications.Clear();
        }
        public ApiHttpClientFileConfigurationRepository(
            IObjectMapper objectMapper,
            IOptions <ApiGatewayOptions> options,
            IReRouteAppService reRouteAppService,
            IDynamicReRouteAppService dynamicReRouteAppService,
            IAggregateReRouteAppService aggregateReRouteAppServicem,
            IGlobalConfigurationAppService globalConfigurationAppService
            )
        {
            _objectMapper                  = objectMapper;
            _reRouteAppService             = reRouteAppService;
            _dynamicReRouteAppService      = dynamicReRouteAppService;
            _aggregateReRouteAppService    = aggregateReRouteAppServicem;
            _globalConfigurationAppService = globalConfigurationAppService;

            ApiGatewayOptions = options.Value;
        }
 public DiagnosticsController(IConfiguration configuration, IGlobalConfigurationAppService globalConfigurationAppService)
 {
     _configuration = configuration;
     _globalConfigurationAppService = globalConfigurationAppService;
 }
コード例 #9
0
 public ReCaptchaService(IHttpClientFactory httpClientFactory, IGlobalConfigurationAppService globalConfigurationAppService, IHttpContextAccessor httpContext)
 {
     _httpClient = httpClientFactory.CreateClient();
     _globalConfigurationAppService = globalConfigurationAppService;
     _httpContext = httpContext;
 }
コード例 #10
0
 public StorageService(IGlobalConfigurationAppService globalConfigurationAppService)
 {
     _globalConfigurationAppService = globalConfigurationAppService;
 }