예제 #1
0
 public VehicleTrackService(IVehicleTrackRepository vehicleTrackRepository, IRouteMatchingService routeMatchingService)
 {
     _vehicleTrackRepository = vehicleTrackRepository
                               ?? throw new NullInjectedObjectException("VTS001", "Injected object is null",
                                                                        new ArgumentNullException(nameof(vehicleTrackRepository)));
     _routeMatchingService = routeMatchingService
                             ?? throw new NullInjectedObjectException("VTS002", "Injected object is null",
                                                                      new ArgumentNullException(nameof(routeMatchingService)));
 }
예제 #2
0
 public RouteMatchController(IPointsService pointService, IRouteMatchingService routeMatchingService)
 {
     PointService         = pointService;
     RouteMatchingService = routeMatchingService;
 }
예제 #3
0
 public RouteMatchingController(IRouteMatchingService routeMatchingService)
 {
     _routeMatchingService = routeMatchingService;
 }