public AudioController(IAudioFileService audioFileService, ILanguageService languageService, IKnowledgeLevelService knowledgeLevelService, IExhibitService exhibitService) { this._audioFileService = audioFileService; this._languageService = languageService; this._knowledgeLevelService = knowledgeLevelService; this._exhibitService = exhibitService; }
public ExhibitController(IAudioFileService audioFileService, IExhibitService exhibitService, IKnowledgeLevelService knowledgeLevelService, ILanguageService languageService) { this._audioFileService = audioFileService; this._exhibitService = exhibitService; this._knowledgeLevelService = knowledgeLevelService; this._languageService = languageService; }
public WxFileController(IFileDownloaderService fileDownloaderService = null, IAudioFileService audioFileService = null, IHostingEnvironmentService hostingEnvironmentService = null) { _fileDownloaderService = fileDownloaderService ?? new FileDownloaderService(); _audioFileService = audioFileService ?? new AudioFileService(); _hostingEnvironmentService = hostingEnvironmentService ?? new HostingEnvironmentService(); }
//private static readonly Regex _trackRegex = new Regex(@"^(\d+)\s*-\s*(.*)$"); public HandleArtists( IMusicCatalogService musicCatalogDbService, IAudioFileService audioFileService, IOptions <MusicLibraryOptions> options) { _musicCatalogDbService = musicCatalogDbService; _audioFileService = audioFileService; _musicFilesLocation = options.Value.MusicFilesLocation; }
static async Task ConvertRoutine(IAudioFileService audioFileService , IMetaDataQueue queue ) { await Task.Factory.StartNew(() => { while (!queue.IsEmpty()) { var container = queue.Dequeue(); lock (ConsoleWriteLock) { Console.WriteLine("Converting: {0}", container.InputFilePath); } audioFileService.PrepareConversion(container).Convert(); } }, TaskCreationOptions.LongRunning); }
public WxFileController() { _fileDownloaderService = new FileDownloaderService(); _audioFileService = new AudioFileService(); _hostingEnvironmentService = new HostingEnvironmentService(); }
public MessageConverter(IAudioFileService audioFileService, IUnitOfWork unitOfWork) { _audioFileService = audioFileService; _unitOfWork = unitOfWork; }
public AudioFileServiceTest() { textInfo = new CultureInfo("en-US", false).TextInfo; service = new AudioFileService(textInfo); }
public FileController(IAudioFileService audioFileService, IExhibitService exhibitService, ICustomerService customerService) { this._audioFileService = audioFileService; this._exhibitService = exhibitService; this._customerService = customerService; }
public AudioService(ILogger <AudioService> logger, IAudioRepository audioRepository, IAudioFileService audioFileService) { _audioRepository = audioRepository; _audioFileService = audioFileService; _logger = logger; }
public CastMessageService(IUnitOfWork unitOfWork, IAudioFileService audioFileService) { _unitOfWork = unitOfWork; _audioFileService = audioFileService; }