Example #1
0
 /// <summary>
 /// Constructor to initialize properties
 /// </summary>
 /// <param name="mapper"></param>
 /// <param name="scheduleClockService"></param>
 /// <param name="activityLogRepository"></param>
 /// <param name="agentScheduleManagerRepository"></param>
 /// <param name="uow"></param>
 /// <param name="ftp"></param>
 public EStartImportTarget(IMapper mapper, IScheduleService scheduleClockService,
                           IActivityLogRepository activityLogRepository, IAgentScheduleManagerRepository agentScheduleManagerRepository,
                           IUnitOfWork uow, IFTPService ftp) : base(ftp)
 {
     _mapper                         = mapper;
     _scheduleService                = scheduleClockService;
     _activityLogRepository          = activityLogRepository;
     _agentScheduleManagerRepository = agentScheduleManagerRepository;
     _uow = uow;
 }
Example #2
0
 public DownloadService(
     IOptionsMonitor <Options> optionsMonitor,
     ISoulseekClient soulseekClient,
     IDbContextFactory <TransfersDbContext> contextFactory,
     IFTPService ftpClient)
 {
     Client         = soulseekClient;
     OptionsMonitor = optionsMonitor;
     ContextFactory = contextFactory;
     FTP            = ftpClient;
 }
Example #3
0
 private void perform_all_tasks(IFTPService svc)
 {
     try
     {
         svc.PerformAllTasks();
     }
     catch (Exception ex)
     {
         Logger.Error(this, string.Format("Error connecting to ftp for service {0}", svc.GetType().Name), ex);
     }
 }
 public OrderManagementController(ILogger logger,
                                  OrderManagementSettings orderManagementSettings,
                                  ILocalizationService localizationService,
                                  ISettingService settingService,
                                  IOrderManagementService orderManagementService,
                                  IFTPService ftpService,
                                  IGLSService glsService,
                                  IQuickPayApiServices quickPayService,
                                  IReOrderService reOrderService,
                                  IEventPublisher eventPublisher)
 {
     this._logger                 = logger;
     this._settings               = orderManagementSettings;
     this._settingService         = settingService;
     this._orderManagementService = orderManagementService;
     this._localizationService    = localizationService;
     this._ftpService             = ftpService;
     this._glsService             = glsService;
     this._quickPayService        = quickPayService;
     this._reOrderService         = reOrderService;
     this._eventPublisher         = eventPublisher;
 }
Example #5
0
 /// <summary>
 /// The constructor to initialize the properties
 /// </summary>
 /// <param name="ftp"></param>
 public UDWImportSource(IFTPService ftp)
 {
     _ftp = ftp;
 }
 /// <summary>
 /// Constructor to intialize properties
 /// </summary>
 /// <param name="ftp"></param>
 /// <param name="scheduleClockService"></param>
 public EStartExportTarget(IFTPService ftp, IScheduleService scheduleClockService, IMapperService mapperService)
 {
     _ftp = ftp;
     _scheduleClockService = scheduleClockService;
     _mapperService        = mapperService;
 }
Example #7
0
 /// <summary>
 /// Constructor to initialize properties
 /// </summary>
 /// <param name="httpContextAccessor"></param>
 /// <param name="ftp"></param>
 public MapperService(IHttpContextAccessor httpContextAccessor, IFTPService ftp)
 {
     _context = (MappingContext)httpContextAccessor.HttpContext.Items["Mappers"];
     _ftp     = ftp;
 }
 public KnowledgeServiceV2(IKnowledgeRepository knowledgeRepository, IMapper mapper, IFTPService ftpService) : base(knowledgeRepository, mapper)
 {
     _knowledgeRepository = knowledgeRepository;
     _mapper     = mapper;
     _ftpService = ftpService;
 }
Example #9
0
 /// <summary>
 /// Constructor to initialize the properties
 /// </summary>
 /// <param name="ftp"></param>
 /// <param name="agentRepository"></param>
 /// <param name="agentSchedulingGroupRepository"></param>
 public DispatchService(IFTPService ftp, IAgentRepository agentRepository, IAgentSchedulingGroupRepository agentSchedulingGroupRepository)
 {
     _ftp             = ftp;
     _agentRepository = agentRepository;
     _agentSchedulingGroupRepository = agentSchedulingGroupRepository;
 }
 /// <summary>
 /// Constructor to initialize properties
 /// </summary>
 /// <param name="ftp"></param>
 public EStartImportSource(IFTPService ftp)
 {
     _ftp = ftp;
 }
Example #11
0
 public BaseImportController()
     : base()
 {
     _ftp = Engine.Services.Resolve <IFTPService>();
     _blm = Engine.Services.Resolve <IPropertyImporter>();
 }