Exemplo n.º 1
0
#pragma warning disable CA1054 // Uri parameters should not be strings: We don't want Uri throwing exceptions here, we'd rather have invalid returnURls thrown around.
        public IntegrationsController(
            UserManager <WCAUser> userManager,
            IMediator mediator,
            IOptions <WCACoreSettings> settingsAccessor,
            IHttpClientFactory httpClientFactory,
            WCASignInManager signInManager,
            IClock clock,
            IExtendedPexaService pEXAService,
            IActionstepService actionstepService,
            IGlobalXService globalXService)
        {
            if (settingsAccessor is null)
            {
                throw new ArgumentNullException(nameof(settingsAccessor));
            }

            _userManager        = userManager;
            _mediator           = mediator;
            _httpClientFactory  = httpClientFactory;
            _actionstepSettings = settingsAccessor.Value.ActionstepSettings;
            _pexaSettings       = settingsAccessor.Value.PEXASettings;
            _globalXOptions     = settingsAccessor.Value.GlobalXOptions;
            _signInManager      = signInManager;
            _clock             = clock;
            _pEXAService       = pEXAService;
            _actionstepService = actionstepService;
            _globalXService    = globalXService;
        }
 public CopyDocumentVersionToActionstepCommandHandler(
     IGlobalXService globalXService,
     IActionstepService actionstepService,
     Validator validator)
 {
     _globalXService    = globalXService;
     _actionstepService = actionstepService;
     _validator         = validator;
 }
Exemplo n.º 3
0
 public GlobalXTransactionsTimerJob(
     IMediator mediator,
     IGlobalXService globalXService,
     ILogger <GlobalXTransactionsTimerJob> logger)
 {
     _mediator       = mediator;
     _globalXService = globalXService;
     _logger         = logger;
 }
 public GlobalXDocumentsTimerJob(
     IMediator mediator,
     IGlobalXService globalXService,
     IClock clock,
     ILogger <GlobalXDocumentsTimerJob> logger)
 {
     _mediator       = mediator;
     _globalXService = globalXService;
     _clock          = clock;
     _logger         = logger;
 }
 public RefreshGlobalXApiTokenTimerJob(
     IGlobalXService globalXService,
     IGlobalXApiTokenRepository globalXApiTokenRepository,
     IClock clock,
     ILogger <RefreshGlobalXApiTokenTimerJob> logger)
 {
     _globalXService            = globalXService ?? throw new ArgumentNullException(nameof(globalXService));
     _globalXApiTokenRepository = globalXApiTokenRepository ?? throw new ArgumentNullException(nameof(globalXApiTokenRepository));
     _clock  = clock ?? throw new ArgumentNullException(nameof(clock));
     _logger = logger ?? throw new ArgumentNullException(nameof(logger));
 }
Exemplo n.º 6
0
 public ConveyancingDataFromActionstepQueryHandler(
     IActionstepService actionstepService,
     IGlobalXService globalXService,
     IMapper mapper,
     IActionstepToWCAMapper actionstepToWCAMapper)
 {
     _actionstepService     = actionstepService;
     _globalXService        = globalXService;
     _mapper                = mapper;
     _actionstepToWCAMapper = actionstepToWCAMapper;
 }