Exemple #1
0
 public BusCommand(
     IRouteMessageFormatter routeMessageFormatter,
     ILogger <BusCommand> logger
     )
 {
     _routeMessageFormatter = routeMessageFormatter;
     _logger = logger;
 }
 public BusRouteQueryParser(
     Ops.IAgencyRouteParser agencyParser,
     IRouteMessageFormatter routeMessageFormatter,
     IDistributedCache cache,
     ILogger <BusRouteQueryParser> logger
     )
 {
     _agencyParser          = agencyParser;
     _routeMessageFormatter = routeMessageFormatter;
     _cache  = cache;
     _logger = logger;
 }
 public BusPredictionsHandler(
     IDistributedCache cache,
     IRouteRepo routeRepo,
     IPredictionsService predictionsService,
     IBusPredictionRepo predictionRepo,
     IRouteMessageFormatter routeMessageFormatter,
     ILogger <BusPredictionsHandler> logger
     )
 {
     _cache                 = cache;
     _routeRepo             = routeRepo;
     _predictionsService    = predictionsService;
     _predictionRepo        = predictionRepo;
     _routeMessageFormatter = routeMessageFormatter;
     _logger                = logger;
 }