public Player(PlayList playList) { if (playList == null) throw new ArgumentNullException("playList"); _playList = playList; _track = _playList.GetFirstTrack(); State = PlayerStop.Instance; }
internal void SetState(PlayerState state) { if (state != null) State = state; }