示例#1
0
 public StationManager(List <Station> stations, Station playingStation)
 {
     Stations = stations ?? new List <Station>();
     if (Stations.Count > 0 && playingStation is Station)
     {
         PlayingStation = Stations.Single(s => s.DefiniteId == playingStation.DefiniteId);
     }
 }