public Converter(ConverterOptions options)
 {
     _options   = options ?? throw new ArgumentNullException(nameof(options));
     _logData   = new Lazy <LogData[]>(() => ParseLogData().ToArray());
     _logHeader = new Lazy <LogHeader>(() => ParseLogHeader());
     _speedData = new Lazy <SpeedData>(() => ParseSpeedData(_logData.Value));
 }
Exemple #2
0
 public ColorTrackLegendWriter(StreamWriter streamWriter, ConverterOptions options, SpeedData speedData)
 {
     _streamWriter = streamWriter;
     _options      = options;
     _speedData    = speedData;
 }
 public ColorTrackStyleWriter(StreamWriter streamWriter, ConverterOptions options, SpeedData speedData)
 {
     _streamWriter = streamWriter;
     _speedData    = speedData;
 }
 public FlightWriter(StreamWriter streamWriter, ConverterOptions options, IEnumerable <LogData> logData)
 {
     _streamWriter = streamWriter;
     _options      = options;
     _logData      = logData;
 }