/// <summary> /// Initializes a new instance of the <see cref="DownloadService"/> class. /// </summary> /// <param name="repository">injected repo.</param> /// <param name="fileIoService">injected file io.</param> public DownloadService(IYoutubeRepository repository, IFileIoService fileIoService) { this.repository = repository; this.fileIoService = fileIoService; }
/// <summary> /// Initialises a new instance of <see cref="CleanupService" /> /// </summary> /// <param name="fileIoService">file io service</param> public CleanupService(IFileIoService fileIoService) { this.fileIoService = fileIoService; }
/// <summary> /// Initialises a new instance of the <see cref="SplitterService" /> class. /// </summary> /// <param name="fileIoService">injected file io service.</param> /// <param name="ffmpegService">injected ffmpeg service.</param> public SplitterService(IFileIoService fileIoService, IFFmpegService ffmpegService) { this.fileIoService = fileIoService; this.ffmpegService = ffmpegService; }