public UpDownWrapper(StorageType storageType) { this.StorageType = storageType; fileManagement = FolderFileBantuan.GetInstance.DictFile[this.StorageType]; fileManagementAsync = FolderFileBantuan.GetInstance.DictFileAsync[this.StorageType]; folderManagement = FolderFileBantuan.GetInstance.DictFolder[this.StorageType]; }
public AttachmentService(IAttachmentRepository repository, IUnitOfWork unitOfWork, IFileManagement fileManagement) : base(repository, unitOfWork) { FileManagement = fileManagement; }
public FileProcessingService(ILogger <FileProcessingService> logger, IFileManagement fileManagement, IFileProcessor fileProcessor) { _fileManagement = fileManagement; _fileProcessor = fileProcessor; _logger = logger; }
public FileController(IFilesRepository filesRepository, IFileManagement fileManagement, IOptions <FileStorageOptions> fileStorageOptions) { _filesRepository = filesRepository; _fileManagement = fileManagement; _fileStorageOptions = fileStorageOptions.Value; }
public VideoController( IVideoRequestService videoRequestService, IFileManagement fileManagement, ILogger <VideoController> logger) { VideoRequestService = videoRequestService; FileManagement = fileManagement; _logger = logger; }
public HangfireService( IVideoRequestService videoRequestService, IFileManagement fileManagement, IAttachmentService attachmentService) { VideoRequestService = videoRequestService; FileManagement = fileManagement; AttachmentService = attachmentService; }
public void Add(IFileManagement fileManagement) { fileManagementList.Add(fileManagement); if (fileManagement is FileContent) { var customFile = fileManagement as FileContent; customFile.ParentDirectory = this; } }
public FileManagementTest() { _logger = new Mock <ILogger <FileManagement> >(); _pathConfigurationsMock = new Mock <IOptions <PathConfigurations> >(); _fileManagement = new FileManagement(_logger.Object, _pathConfigurationsMock.Object); base.Initialize(); _pathConfigurationsMock.Setup(x => x.Value).Returns(PathConfigurations); }
public FileController(ILogger <FileController> logger, IFileManagement fileManagement) { _logger = logger; _fileManagement = fileManagement; }
public FileController(ILifetimeScope container) { _logger = container.Resolve <ILogger <FileController> >(); _fileManagement = container.Resolve <IFileManagement>(); }
public FileManagementController(ILogger <FileManagementController> logger, IFileManagement fileManagement) { _logger = logger; _repository = fileManagement; }