Example #1
0
 private void AirportThrowHelper(string icao)
 {
     if (model.FuelPlanningModel.AirwayNetwork.AirportList[icao] == null)
     {
         throw new ArgumentException(
                   ActionContextMenuHelper.NonExistingAirportMsg(icao));
     }
 }
 /// <exception cref="ArgumentException"></exception>
 private void EnsureAirportExists(string icao)
 {
     if (AirportList[icao] == null)
     {
         var msg = ActionContextMenuHelper.NonExistingAirportMsg(icao);
         throw new ArgumentException(msg);
     }
 }