public ReportingService( ITripRepository tripRepository, ITrackingPointRepository trackingPointRepository, IGeoFenceUpdateRepository geoFenceUpdateRepository) { this.tripRepository = tripRepository.ThrowIfNull(nameof(tripRepository)); this.trackingPointRepository = trackingPointRepository.ThrowIfNull(nameof(trackingPointRepository)); this.geoFenceUpdateRepository = geoFenceUpdateRepository.ThrowIfNull(nameof(geoFenceUpdateRepository)); }
public PersistenceModule( ITrackingPointRepository trackingPointRepository, ITripRepository tripRepository, ILocationRepository locationRepository, string bingMapsKey) { BingMapsSDSToolkit.InternalSettings.ClientApi = "bingmapsfleettracker"; this.trackingPointRepository = trackingPointRepository.ThrowIfNull(nameof(trackingPointRepository)); this.tripRepository = tripRepository.ThrowIfNull(nameof(tripRepository)); this.locationRepository = locationRepository.ThrowIfNull(nameof(locationRepository)); this.bingMapsKey = bingMapsKey; }
public PointLoaderModule(ITrackingPointRepository trackingPointRepository) { this.trackingPointRepository = trackingPointRepository.ThrowIfNull(nameof(trackingPointRepository)); }