Ejemplo n.º 1
0
        /// <summary>
        /// files is a set of music files fom the same opus (ie. originalyl from the same disk folder)
        /// </summary>
        /// <param name="files"></param>
        internal MusicSetCollection(MusicOptions musicOptions, MusicDb musicDb, OpusFolder musicFolder, List <MusicFile> files, TaskItem taskItem)
        {
            this.musicOptions = musicOptions;
            this.musicDb      = musicDb;
            this.musicFolder  = musicFolder;
            this.files        = files;
            this.taskItem     = taskItem;
            //Debug.Assert(ValidateMusicFileSet());
            var firstFile = files.First();

            isCollection = firstFile.OpusType == OpusType.Collection;
            musicStyle   = firstFile.Style;
        }
Ejemplo n.º 2
0
 public DeleteContext(OpusFolder folder)
 {
     source = folder;
 }
Ejemplo n.º 3
0
 public WesternClassicalMusicSetCollection(MusicOptions musicOptions, MusicDb musicDb,
                                           OpusFolder musicFolder, List <MusicFile> files, TaskItem taskItem) : base(musicOptions, musicDb, musicFolder, files, taskItem)
 {
     this.log = ApplicationLoggerFactory.CreateLogger <WesternClassicalMusicSetCollection>();
 }
Ejemplo n.º 4
0
 internal AudioFileCollection(OpusFolder folder) //: base(folder.musicOptions, folder.musicStyle)
 {
     this.opusFolder = folder;
 }