public FlightDataUpdater( TexturesSharedMemoryImageCoordinates textureTexturesSharedMemoryImageCoordinates, IFlightDataAdapterSet flightDataAdapterSet = null, IRadarAltitudeCalculator radarAltitudeCalculator = null) { _textureTexturesSharedMemoryImageCoordinates = textureTexturesSharedMemoryImageCoordinates; _flightDataAdapterSet = flightDataAdapterSet ?? new FlightDataAdapterSet(); _radarAltitudeCalculator = radarAltitudeCalculator ?? new RadarAltitudeCalculator(); }
public FlightDataUpdater( IFlightDataAdapterSet flightDataAdapterSet = null) { _flightDataAdapterSet = flightDataAdapterSet ?? new FlightDataAdapterSet(); }