Пример #1
0
 public AdminController(IAdminService adminService, IImporterService importerService, SignInManager <AdminUser> signInManager, UserManager <AdminUser> userManager, IConfiguration configuration)
 {
     _adminService    = adminService;
     _importerService = importerService;
     _signInManager   = signInManager;
     _userManager     = userManager;
     _configuration   = configuration;
 }
 public ImporterController(
     IImporterService <BankAccount> bankAccountService,
     IImporterService <Transaction> transactionService
     )
 {
     _bankAccountService = bankAccountService;
     _transactionService = transactionService;
 }
Пример #3
0
 public ImportController(
     IApplicationImporter applicationImporter,
     IImporterService importerService,
     IEnvironmentService environmentService)
 {
     this.applicationImporter = applicationImporter;
     this.importerService     = importerService;
     this.environmentService  = environmentService;
 }
Пример #4
0
        public IgnitionTable(IEventAggregator eventAggregator) : base(eventAggregator)
        {
            importerService     = ServiceLocator.Current.GetInstance <IImporterService>();
            ignitionWindowCache = ServiceLocator.Current.GetInstance <IIgnitionWindowCache>();

            var settings = ServiceLocator.Current.GetInstance <ISettingsService>().GetSettings();

            IsAdvancedLoggingEnabled = settings.GeneralSettings.IsAdvancedLoggingEnabled;
        }
Пример #5
0
 public ImportManager(IImporterService importService, IPrototypingService prototypingService, IMessageDisplayService messageDisplayService)
 {
     this.importService         = importService;
     this.prototypingService    = prototypingService;
     this.messageDisplayService = messageDisplayService;
     this.hostData = new Dictionary <string, object>();
     this.ResetInternal();
     this.RegisterImporters();
 }
        private void Initialize()
        {
            SettingsNotificationRequest     = new InteractionRequest <INotification>();
            RegistrationNotificationRequest = new InteractionRequest <INotification>();
            UpdateNotificationRequest       = new InteractionRequest <INotification>();

            importerService = ServiceLocator.Current.GetInstance <IImporterService>();
            importerService.ImportingStopped += OnImportingStopped;

            InitializeCommands();
        }
Пример #7
0
 public ApplicationImporter(
     IHasEnvironmentPermissionPolicy hasEnvironmentPermission,
     IAuthService authService,
     IUnitOfWork unitOfWork,
     IImporterService importer)
 {
     this.hasEnvironmentPermission = hasEnvironmentPermission;
     this.authService = authService;
     this.unitOfWork  = unitOfWork;
     this.importer    = importer;
 }
 public FileImportService(ILogger <IFileImportService> logger,
                          IBatchService batchService,
                          IBlobStorageService blobStorageService,
                          IDataImportService dataImportService,
                          IImporterService importerService)
 {
     _logger             = logger;
     _batchService       = batchService;
     _blobStorageService = blobStorageService;
     _dataImportService  = dataImportService;
     _importerService    = importerService;
 }
 public FileImportService(
     IFileStorageService fileStorageService,
     IImporterService importerService,
     IBatchService batchService,
     ILogger <IFileImportService> logger,
     IImportStatusService importStatusService)
 {
     _fileStorageService  = fileStorageService;
     _importerService     = importerService;
     _batchService        = batchService;
     _logger              = logger;
     _importStatusService = importStatusService;
 }
Пример #10
0
 public ValidatorService(
     ILogger <IValidatorService> logger,
     IBlobStorageService blobStorageService,
     IFileTypeService fileTypeService,
     IDataImportService dataImportService,
     IImporterService importerService)
 {
     _logger             = logger;
     _blobStorageService = blobStorageService;
     _fileTypeService    = fileTypeService;
     _dataImportService  = dataImportService;
     _importerService    = importerService;
 }
 private static FileImportService BuildFileImportService(
     IBatchService batchService             = null,
     IBlobStorageService blobStorageService = null,
     IImporterService importerService       = null,
     ILogger <FileImportService> logger     = null,
     IDataImportService dataImportService   = null
     )
 {
     return(new FileImportService(
                logger ?? new Mock <ILogger <FileImportService> >().Object,
                batchService ?? new Mock <IBatchService>(Strict).Object,
                blobStorageService ?? new Mock <IBlobStorageService>(Strict).Object,
                dataImportService ?? new Mock <IDataImportService>(Strict).Object,
                importerService ?? new Mock <IImporterService>(Strict).Object
                ));
 }
Пример #12
0
 private FileImportService BuildFileImportService(
     IFileStorageService fileStorageService   = null,
     IImporterService importerService         = null,
     IBatchService batchService               = null,
     ILogger <FileImportService> logger       = null,
     IImportStatusService importStatusService = null
     )
 {
     return(new FileImportService(
                fileStorageService ?? new Mock <IFileStorageService>(Strict).Object,
                importerService ?? new Mock <IImporterService>(Strict).Object,
                batchService ?? new Mock <IBatchService>(Strict).Object,
                logger ?? new Mock <ILogger <FileImportService> >().Object,
                importStatusService ?? new Mock <IImportStatusService>(Strict).Object
                ));
 }
Пример #13
0
 public LoadDataJob(
     IUnitOfWorkManager unitOfWorkManager,
     IEventBus eventBus,
     IImporterService importerService,
     IRepository <EpayRawDataLanding, Guid> epayRawDataLandingRepository,
     IRepository <Employee> employeeRepository,
     IFileService fileService,
     IIocManager iocManager
     )
 {
     _unitOfWorkManager            = unitOfWorkManager;
     _eventBus                     = eventBus;
     _importerService              = importerService;
     _epayRawDataLandingRepository = epayRawDataLandingRepository;
     _employeeRepository           = employeeRepository;
     _fileService                  = fileService;
     _iocManager                   = iocManager;
 }
Пример #14
0
 public ProcessorService(
     ILogger <ProcessorService> logger,
     IBlobStorageService blobStorageService,
     IFileImportService fileImportService,
     ISplitFileService splitFileService,
     IImporterService importerService,
     IDataImportService dataImportService,
     IValidatorService validatorService,
     IDataArchiveService dataArchiveService)
 {
     _logger             = logger;
     _blobStorageService = blobStorageService;
     _fileImportService  = fileImportService;
     _splitFileService   = splitFileService;
     _importerService    = importerService;
     _dataImportService  = dataImportService;
     _validatorService   = validatorService;
     _dataArchiveService = dataArchiveService;
 }
 public ProcessorService(
     ILogger <ProcessorService> logger,
     IFileImportService fileImportService,
     IReleaseProcessorService releaseProcessorService,
     IFileStorageService fileStorageService,
     ISplitFileService splitFileService,
     IImporterService importerService,
     IBatchService batchService,
     IValidatorService validatorService,
     IDataArchiveService dataArchiveService)
 {
     _logger                  = logger;
     _fileImportService       = fileImportService;
     _releaseProcessorService = releaseProcessorService;
     _fileStorageService      = fileStorageService;
     _splitFileService        = splitFileService;
     _importerService         = importerService;
     _batchService            = batchService;
     _validatorService        = validatorService;
     _dataArchiveService      = dataArchiveService;
 }
Пример #16
0
 public PokerBaaziImporter()
 {
     settings        = ServiceLocator.Current.GetInstance <ISettingsService>();
     importerService = ServiceLocator.Current.GetInstance <IImporterService>();
 }
Пример #17
0
 public ImporterController(IImporterService importerService)
 {
     _importerService = importerService;
 }
Пример #18
0
 public TcpImporter()
 {
     importerService = ServiceLocator.Current.GetInstance <IImporterService>();;
 }