Exemplo n.º 1
0
 public AccidentStatisticsService(ITransportForLondonClient transportForLondonClient)
 {
     this._transportForLondonClient = transportForLondonClient;
     _sortOptions = new Dictionary <string, SortOptions <AccidentStatistic> >(StringComparer.InvariantCultureIgnoreCase)
     {
         { "DateAscending", ByDateAscending },
         { "LocationAscending", ByLocationAscending },
         { "DateDescending", ByDateDescending },
         { "LocationDescending", ByLocationDescending },
     };
 }
Exemplo n.º 2
0
 public ApplicationCommand(ITransportForLondonClient transportForLondonClient, ILogger logger)
 {
     this._transportForLondonClient = transportForLondonClient;
     this._logger = logger;
 }