C# Class DomainDrivenDelivery.Infrastructure.Routing.ExternalRoutingService

Inheritance: RoutingService
显示文件 Open project: awhatley/dddsample.net Class Usage Examples

Public Methods

Method Description
ExternalRoutingService ( GraphTraversalService graphTraversalService, LocationRepository locationRepository, VoyageRepository voyageRepository ) : System
fetchRoutesForSpecification ( RouteSpecification routeSpecification ) : IEnumerable

Private Methods

Method Description
toItinerary ( TransitPath transitPath ) : Itinerary
toLeg ( TransitEdge edge ) : Leg

Method Details

ExternalRoutingService() public method

public ExternalRoutingService ( GraphTraversalService graphTraversalService, LocationRepository locationRepository, VoyageRepository voyageRepository ) : System
graphTraversalService GraphTraversalService
locationRepository LocationRepository
voyageRepository VoyageRepository
return System

fetchRoutesForSpecification() public method

public fetchRoutesForSpecification ( RouteSpecification routeSpecification ) : IEnumerable
routeSpecification RouteSpecification
return IEnumerable