public PlaybackViewService(Action soundEndsAction) { this.unitOfWork = new UnitOfWork(); if (soundEndsEventSubscribed == false) { QueuePlaybackService.Instance().SoundPlaybackService.SoundEnds += new SoundEndsEventHandler((object sender, EventArgs e) => soundEndsAction()); soundEndsEventSubscribed = true; } }
public SoundViewService() { this.unitOfWork = new UnitOfWork(); }