public MusicPlayer(IPomodoroEngine engine, MusicPlayerPluginSettings settings, IMusicPlayer musicPlayer, PomodoroEngineSettings engineSettings) { _engine = engine; _settings = settings; _musicPlayer = musicPlayer; _engineSettings = engineSettings; _engine.PropertyChanged += _engine_PropertyChanged; }
public MusicPlayerPluginSettingWindow(MusicPlayerPluginSettings settings) { settings.DeferChanges(); InitializeComponent(); DataContext = settings; BrowseBreakSong.Command = new BrowseSong(BreakSong); BrowseWorkSong.Command = new BrowseSong(WorkSong); }