예제 #1
0
 public PlayingSong(DatabaseTrack track, TimeProvider timeProvider)
 {
     Track = track;
     _timeProvider = timeProvider;
     StartTime = _timeProvider.GetCurrentTime();
     RecentStopTime = StartTime;
 }
예제 #2
0
 public PlayingSong(DatabaseTrack track)
 {
     _timeProvider = new TimeProvider();
     Track = track;
     StartTime = _timeProvider.GetCurrentTime();
     RecentStopTime = StartTime;
 }