public FileEncodeTask(IEncoderFactory encoderFactory, Func <IAudioSource> audioSourceLazy, string targetFilename, AudioFileTag tag) { this.EncoderFactory = encoderFactory; this.AudioSourceLazy = audioSourceLazy; this.TargetFilename = targetFilename; this.Tag = tag; }
public FileEncodeTask(IEncoderFactory encoderFactory, Func<IAudioSource> audioSourceLazy, string targetFilename, AudioFileTag tag) { this.EncoderFactory = encoderFactory; this.AudioSourceLazy = audioSourceLazy; this.TargetFilename = targetFilename; this.Tag = tag; }
public MainForm(IEncoderFactory encoderFactory, IFileWatcher fileWatcher) { InitializeComponent(); this.encoderFactory = encoderFactory; this.fileWatcher = fileWatcher; }
public ReplayGainTask(IEncoderFactory factory, Release release, bool recalculateReplayGain, bool writePeaks, bool saveDynamicRange) { this.EncoderFactory = factory; this.Release = release; this.TrackTasks = new List <Item>(); this.RecalculateReplayGain = recalculateReplayGain; this.WritePeaks = writePeaks; this.SaveDynamicRange = saveDynamicRange; }
public ReplayGainTask(IEncoderFactory factory, Release release, bool recalculateReplayGain, bool writePeaks, bool saveDynamicRange) { this.EncoderFactory = factory; this.Release = release; this.TrackTasks = new List<Item>(); this.RecalculateReplayGain = recalculateReplayGain; this.WritePeaks = writePeaks; this.SaveDynamicRange = saveDynamicRange; }
/// <summary> /// The default constructor. /// </summary> /// <param name="factory">A factory used to create encoders.</param> /// <param name="uncategorizedMovieRepository">A container for uncategorized movie information.</param> /// <param name="encodingProgressContainer">A container for encoding progress information.</param> public EncoderManager(IEncoderFactory factory, IUncategorizedMovieRepository uncategorizedMovieRepository, IEncodingProgressContainer encodingProgressContainer) { if (factory == null) throw new ArgumentNullException("factory"); if (uncategorizedMovieRepository == null) throw new ArgumentNullException("uncategorizedMovieRepository"); if (encodingProgressContainer == null) throw new ArgumentNullException("encodingProgressContainer"); _factory = factory; _uncategorizedMovieRepository = uncategorizedMovieRepository; _encodingProgressContainer = encodingProgressContainer; _queue = new List<IList<Action>>(); }
public NodeMessageSerialChannel(IByteStream byteStream, IMessageParserFactory parserFactory, IEncoderFactory encoderFactory) { _byteStream = byteStream; _parserFactory = parserFactory; _encoderFactory = encoderFactory; }
public ValuesController(IEncoderFactory encoderFactory, IAuthenticatorFactory authenticatorFactory) { this.encoderFactory = encoderFactory; this.authenticatorFactory = authenticatorFactory; }
public CompressionPresenter(IFileWrapper fileWrapper, IEncoderFactory encoderFactory) { this.fileWrapper = fileWrapper; this.encoderFactory = encoderFactory; }
public void Setup() { _mockConfigurationProvider = new Mock<IConfigurationProvider>(); _sut = new EncoderFactory(_mockConfigurationProvider.Object); }
public WabHttpHandler(IHttpHandlerFactory handlerFactory, IEncoderFactory encoderFactory, IResponseWriterFactory writerFactory) { this.handlerFactory = handlerFactory; this.encoderFactory = encoderFactory; this.writerFactory = writerFactory; }
/// <summary> /// Initializes a new instance of the <see cref="T:ByteDev.Crypto.Encryption.EncryptionService" /> class. /// </summary> /// <param name="encryptionAlgorithm">Encryption algorithm to use when encrypting and decrypting.</param> /// <param name="keyIv">The key and initialization vector to use when encrypting and decrypting.</param> /// <exception cref="T:System.ArgumentNullException"><paramref name="encryptionAlgorithm" /> is null.</exception> /// <exception cref="T:System.ArgumentNullException"><paramref name="keyIv" /> is null.</exception> public EncryptionService(IEncryptionAlgorithm encryptionAlgorithm, EncryptionKeyIv keyIv) { _encryptionAlgorithm = encryptionAlgorithm ?? throw new ArgumentNullException(nameof(encryptionAlgorithm)); _keyIv = keyIv ?? throw new ArgumentNullException(nameof(keyIv)); _encoderFactory = new EncoderFactory(); }