public PublishController(IHISCTokenService tokenService, IProgramDataService programDataService, ITimeZoneService timeZoneService, IMessageProcessor messageProcessor)
 {
     _tokenService       = tokenService;
     _programDataService = programDataService;
     _timeZoneService    = timeZoneService;
     _messageProcessor   = messageProcessor;
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ProgramSelectViewModel"/> class.
 /// </summary>
 /// <param name="programDataService">The programDataService<see cref="IProgramDataService"/>.</param>
 /// <param name="mediationService">The mediationService<see cref="IMediationService"/>.</param>
 public ProgramSelectViewModel(IProgramDataService programDataService, IMediationService mediationService)
 {
     _programDataService = programDataService;
     _mediationService   = mediationService;
     ConfirmCommand      = new DelegateCommand(Confirm).ObservesCanExecute(() => ProgramDataService.CanConfirm);
     CancelCommand       = new DelegateCommand(Cancel);
 }
Пример #3
0
 public SalesforceMessageProcessor(IAppCache cache, ILogger <SalesforceMessageProcessor> logger, IHISCTokenService tokenService, IProgramDataService programDataService, ITimeZoneService timeZoneService, ISalesforceUserService salesforceUserService)
 {
     _cache                 = cache;
     _logger                = logger;
     _tokenService          = tokenService;
     _programDataService    = programDataService;
     _timeZoneService       = timeZoneService;
     _salesforceUserService = salesforceUserService;
 }
Пример #4
0
 public MainService(
     IArgsService argsService,
     IConfigService configService,
     IProgramDataService programDataService,
     IMapperService mapperService,
     IModPortalClient client,
     IModsStorageService modsStorageService)
 {
     this.argsService        = argsService;
     this.configService      = configService;
     this.programDataService = programDataService;
     this.mapperService      = mapperService;
     this.client             = client;
     this.modsStorageService = modsStorageService;
 }