public TelemetryLoadController(ITelemetryRepositoryFactory telemetryRepositoryFactory, ISettingsProvider settingsProvider, ITelemetryViewsSynchronization telemetryViewsSynchronization) { _cachedTelemetries = new ConcurrentDictionary <string, LapTelemetryDto>(); _loadedSessions = new List <string>(); _knownLaps = new List <string>(); _telemetryViewsSynchronization = telemetryViewsSynchronization; _telemetryRepository = telemetryRepositoryFactory.Create(settingsProvider); }
public TelemetryLoadController(ITelemetryRepositoryFactory telemetryRepositoryFactory, ISettingsProvider settingsProvider, ITelemetryViewsSynchronization telemetryViewsSynchronization, IEnumerable <IMissingTelemetryFiller> missingTelemetryFillers, IDataPointSelectionSynchronization dataPointSelectionSynchronization) { _cachedTelemetries = new ConcurrentDictionary <string, LapTelemetryDto>(); _loadedSessions = new List <string>(); _knownLaps = new List <string>(); _telemetryViewsSynchronization = telemetryViewsSynchronization; _dataPointSelectionSynchronization = dataPointSelectionSynchronization; _missingTelemetryFillers = missingTelemetryFillers.ToArray(); _telemetryRepository = telemetryRepositoryFactory.Create(settingsProvider); }