コード例 #1
0
 private void WriteFlightLogElements(XmlWriter writer)
 {
     writer.WriteElementString("TotalCalculatedFlightTime", flightLog.CalculateTotalFlightTime().ToString("N1"));
     writer.WriteElementString("TotalTouchAndGos", flightLog.CalculateTotalTouchAndGos().ToString());
     writer.WriteElementString("TotalFullStops", flightLog.CalculateTotalFullStops().ToString());
     writer.WriteElementString("TotalTotals", flightLog.CalculateTotals().ToString());
     writer.WriteElementString("TotalSorties", flightLog.CalculateTotalSorties().ToString());
 }