/// <summary> /// create a a music set for the given music files in the given music style /// </summary> /// <param name="musicOptions"></param> /// <param name="musicStyle"></param> /// <param name="musicFiles"></param> public MusicSet(MusicDb db, MusicOptions musicOptions, MusicStyles musicStyle, IEnumerable <MusicFile> musicFiles, TaskItem taskItem) { Debug.Assert(musicFiles.Count() > 0); this.log = ApplicationLoggerFactory.CreateLogger(this.GetType()); this.MusicDb = db; this.MusicOptions = musicOptions; this.MusicStyle = musicStyle; this.MusicFiles = musicFiles; this.taskItem = taskItem; this.FirstFile = musicFiles.First(); this.OpusType = FirstFile.OpusType; this.generated = FirstFile.IsGenerated; }
public Link() { typeField = OpusType.simple; showField = OpusShow.replace; actuateField = OpusActuate.onRequest; }
public Opus() { this.typeField = OpusType.simple; this.showField = OpusShow.replace; this.actuateField = OpusActuate.onRequest; }
public override Task RemoveMusicAsync(string musician, string opus, OpusType type, IEnumerable<MusicFile> files) { //TODO: when we have created popular music entries we will remove them here return Task.CompletedTask; }
public abstract Task RemoveMusicAsync(string musician, string opus, OpusType type, IEnumerable<MusicFile> files);