Ejemplo n.º 1
0
 public MixReader(IMixFactory mixFactory, ITrackLibrary library)
 {
     if (mixFactory == null) throw new ArgumentNullException("mixFactory");
     if (library == null) throw new ArgumentNullException("library");
     this.mixFactory = mixFactory;
     this.library = library;
 }
        public ImportFilesAndPlayCommand(
            ITrackLibrary library, 
            IProgressDialogService progressDialog,
            PlayPauseTrackCommand playCommand) : base(library, progressDialog)
        {
            if (playCommand == null)
            {
                throw new ArgumentNullException("playCommand");
            }

            this.playCommand = playCommand;
        }