コード例 #1
0
ファイル: EntityData.cs プロジェクト: lzw37/PassengerPlot
 public static Station GetStation(string ID)
 {
     if (StationList.ContainsKey(ID))
     {
         return(StationList[ID]);
     }
     else
     {
         throw new ApplicationException(string.Format("Station '{0}' not exist!", ID));
     }
 }