/// <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; }
public DeleteContext(OpusFolder folder) { source = folder; }
public WesternClassicalMusicSetCollection(MusicOptions musicOptions, MusicDb musicDb, OpusFolder musicFolder, List <MusicFile> files, TaskItem taskItem) : base(musicOptions, musicDb, musicFolder, files, taskItem) { this.log = ApplicationLoggerFactory.CreateLogger <WesternClassicalMusicSetCollection>(); }
internal AudioFileCollection(OpusFolder folder) //: base(folder.musicOptions, folder.musicStyle) { this.opusFolder = folder; }