public StoreMessaggioPosizione_VehicleLock_Decorator( IStoreMessaggioPosizione decorated, IMongoCollection <VehicleLock> vehicleLocksCollection) { this.decorated = decorated ?? throw new ArgumentNullException(nameof(decorated)); this.vehicleLocksCollection = vehicleLocksCollection ?? throw new ArgumentNullException(nameof(vehicleLocksCollection)); }
public StoreMessaggioPosizione_DeleteInterpolatedMessages_Decorator( IStoreMessaggioPosizione decorated, IMongoCollection<MessaggioPosizione> messaggiPosizioneCollection ) { this.decorated = decorated ?? throw new ArgumentNullException(nameof(decorated)); this.messaggiPosizioneCollection = messaggiPosizioneCollection ?? throw new ArgumentNullException(nameof(messaggiPosizioneCollection)); this.InterpolationThreshold_mt = 1; }
public StoreMessaggioPosizione_LogTooHighVelocities_Decorator( IStoreMessaggioPosizione decorated, IMongoCollection <MessaggioPosizione> messaggiPosizioneCollection ) { this.decorated = decorated ?? throw new ArgumentNullException(nameof(decorated)); this.messaggiPosizioneCollection = messaggiPosizioneCollection ?? throw new ArgumentNullException(nameof(messaggiPosizioneCollection)); this.VelocityThreshold_Kmh = 500; }
public MessaggiPosizioneController(IGetMessaggioPosizioneById getMessaggioPosizioneById, IStoreMessaggioPosizione storeMessaggioPosizione) { if (getMessaggioPosizioneById == null) { throw new ArgumentNullException(nameof(getMessaggioPosizioneById)); } if (storeMessaggioPosizione == null) { throw new ArgumentNullException(nameof(storeMessaggioPosizione)); } this.getMessaggioPosizioneById = getMessaggioPosizioneById; this.storeMessaggioPosizione = storeMessaggioPosizione; }
public IpAuthChecker(IStoreMessaggioPosizione decorated, IpNetworkChecker checker) { this.decorated = decorated ?? throw new ArgumentNullException(nameof(decorated)); this.checker = checker ?? throw new ArgumentNullException(nameof(checker)); }