Ejemplo n.º 1
0
 public PointsController(
     ITrackingPointService pointService,
     IGeoFenceService geoFenceService,
     ILoggerFactory loggerFactory)
     : base(loggerFactory)
 {
     this.pointService    = pointService.ThrowIfNull(nameof(pointService));
     this.geoFenceService = geoFenceService.ThrowIfNull(nameof(geoFenceService));
 }
Ejemplo n.º 2
0
 public PointsController(
     ITrackingPointService pointService,
     IGeoFenceService geoFenceService,
     ILoggerFactory loggerFactory,
     IMapper dtoMapper)
     : base(loggerFactory)
 {
     this.geoFenceService = geoFenceService;
     this.pointService    = pointService;
     this.dtoMapper       = dtoMapper;
 }
 public AssetsController(
     IAssetService assetService,
     ITrackingPointService pointService,
     ITripService tripService,
     ILoggerFactory loggerFactory)
     : base(loggerFactory)
 {
     this.assetService = assetService.ThrowIfNull(nameof(assetService));
     this.pointService = pointService.ThrowIfNull(nameof(pointService));
     this.tripService  = tripService.ThrowIfNull(nameof(tripService));
 }
Ejemplo n.º 4
0
 public AssetsController(
     IAssetService assetService,
     ITrackingPointService pointService,
     ITripService tripService,
     ILoggerFactory loggerFactory,
     IMapper dtoMapper)
     : base(loggerFactory)
 {
     this.assetService = assetService;
     this.pointService = pointService;
     this.tripService  = tripService;
     this.dtoMapper    = dtoMapper;
 }
 public TripController(
     ITripDetectorFactory tripFactory,
     IAssetService assetService,
     ITripService tripService,
     ITrackingPointService pointService,
     ILoggerFactory loggerFactory,
     IPipeline pipeline)
     : base(loggerFactory)
 {
     this.pipeline     = pipeline.ThrowIfNull(nameof(pipeline));
     this.tripFactory  = tripFactory.ThrowIfNull(nameof(tripFactory));
     this.assetService = assetService.ThrowIfNull(nameof(assetService));
     this.pointService = pointService.ThrowIfNull(nameof(pointService));
     this.tripService  = tripService.ThrowIfNull(nameof(tripService));
 }
Ejemplo n.º 6
0
 public TripController(
     ITripDetectorFactory tripFactory,
     IAssetService assetService,
     ITrackingPointService pointService,
     ILoggerFactory loggerFactory,
     IPipeline pipeline,
     IMapper dtoMapper)
     : base(loggerFactory)
 {
     this.pipeline     = pipeline;
     this.tripFactory  = tripFactory;
     this.assetService = assetService;
     this.pointService = pointService;
     this.dtoMapper    = dtoMapper;
 }
 public DevicesController(
     ITrackingDeviceService deviceService,
     ITrackingPointService pointService,
     IGeoFenceService geoFenceService,
     ILoggerFactory loggerFactory,
     IConfiguration configuration,
     IHubContext <DynamicHub> deviceAdditionHubContext,
     ITokenService tokenService)
     : base(loggerFactory)
 {
     this.deviceService            = deviceService.ThrowIfNull(nameof(deviceService));
     this.pointService             = pointService.ThrowIfNull(nameof(pointService));
     this.geoFenceService          = geoFenceService.ThrowIfNull(nameof(geoFenceService));
     this.deviceAdditionHubContext = deviceAdditionHubContext;
     this.tokenService             = tokenService;
     this.configuration            = configuration;
 }
Ejemplo n.º 8
0
 public DevicesController(
     ITrackingDeviceService deviceService,
     ITrackingPointService pointService,
     IGeoFenceService geoFenceService,
     ILoggerFactory loggerFactory,
     IHubContext <DynamicHub> deviceAdditionHubContext,
     ITokenService tokenService,
     IMapper dtoMapper)
     : base(loggerFactory)
 {
     this.deviceService            = deviceService;
     this.pointService             = pointService;
     this.geoFenceService          = geoFenceService;
     this.deviceAdditionHubContext = deviceAdditionHubContext;
     this.tokenService             = tokenService;
     this.dtoMapper = dtoMapper;
 }