public UsersService(IUsersRepository usersRepository, IMapper mapper, IFileHelperService fileHelperService, IWebHostEnvironment webHostEnvironment, AppSettings appSettings)
     : base(usersRepository, mapper)
 {
     this.fileHelperService  = fileHelperService;
     this.webHostEnvironment = webHostEnvironment;
     this.appSettings        = appSettings;
 }
Beispiel #2
0
 public UploadPostFileServerAction(IServiceProvider serviceProvider, ProfileRepository profileRepository, PostFileRepository postFileRepository, ITimeService timeService, IUploadFileService uploadFileService, ILogger <UploadPostFileServerAction> logger, IFileHelperService fileHelperService, CourseRepository courseRepository, TextService textService, UniwikiContext uniwikiContext) : base(serviceProvider)
 {
     _profileRepository  = profileRepository;
     _postFileRepository = postFileRepository;
     _timeService        = timeService;
     _uploadFileService  = uploadFileService;
     _logger             = logger;
     _fileHelperService  = fileHelperService;
     _courseRepository   = courseRepository;
     _textService        = textService;
     _uniwikiContext     = uniwikiContext;
 }
 public QuickOrderBlockController(
     IQuickOrderService quickOrderService,
     ICartService cartService,
     IFileHelperService fileHelperService,
     IOrderRepository orderRepository,
     ReferenceConverter referenceConverter,
     IEPiFindSearchService ePiFindSearchService)
 {
     _quickOrderService    = quickOrderService;
     _cartService          = cartService;
     _fileHelperService    = fileHelperService;
     _orderRepository      = orderRepository;
     _referenceConverter   = referenceConverter;
     _ePiFindSearchService = ePiFindSearchService;
 }
        public ConvertVideoService(IFileHelperService fileHelperService, IConfigService config
                                   , IQuartzHelperService quartzHelper)
        {
            this.quartzHelper = quartzHelper;
            this.config       = config;
            fileHelper        = fileHelperService;
            // Create temp conversion folder if not existing
            _tempPath = Directory.GetCurrentDirectory() + TEMP_PATH;
            _logPath  = Directory.GetCurrentDirectory() + LOG_PATH;
            Directory.CreateDirectory(_tempPath);

            //get config waiting for convert type
            NeedType   = config.GetAppSettings <ConfigPara>("ConvertParam").NeedConvertType;
            OutputType = config.GetAppSettings <ConfigPara>("ConvertParam").OutputType.ToLower();
            fps        = config.GetAppSettings <ConfigPara>("ConvertParam").OutputFPS;
            width      = config.GetAppSettings <ConfigPara>("ConvertParam").OutputWidth;
            height     = config.GetAppSettings <ConfigPara>("ConvertParam").OutputHeight;
        }
 public QuickOrderBlockComponent(
     IQuickOrderService quickOrderService,
     ICartService cartService,
     IFileHelperService fileHelperService,
     IOrderRepository orderRepository,
     ReferenceConverter referenceConverter,
     ICustomerService customerService,
     IContentLoader contentLoader,
     ISettingsService settingsService)
 {
     _quickOrderService  = quickOrderService;
     _cartService        = cartService;
     _fileHelperService  = fileHelperService;
     _orderRepository    = orderRepository;
     _referenceConverter = referenceConverter;
     _customerService    = customerService;
     _contentLoader      = contentLoader;
     _settingsService    = settingsService;
 }
Beispiel #6
0
 public QuickOrderBlockController(
     IQuickOrderService quickOrderService,
     ICartService cartService,
     IFileHelperService fileHelperService,
     IOrderRepository orderRepository,
     ReferenceConverter referenceConverter,
     ICommerceSearchService _searchService,
     ICustomerService customerService,
     IContentLoader contentLoader,
     ContentLocator contentLocator)
 {
     _quickOrderService  = quickOrderService;
     _cartService        = cartService;
     _fileHelperService  = fileHelperService;
     _orderRepository    = orderRepository;
     _referenceConverter = referenceConverter;
     __searchService     = _searchService;
     _customerService    = customerService;
     _contentLoader      = contentLoader;
     _contentLocator     = contentLocator;
 }