C# Class PPPDDDChap18.DomainServices.Shipping.Application.ShippingRouteFinder

Inheritance: IShippingRouteFinder
显示文件 Open project: elbandit/PPPDDD

Public Methods

Method Description
FindFastestRoute ( Location departing, Location destination, System.DateTime departureDate ) : Route

Private Methods

Method Description
ParseRoute ( String apiResponse ) : Route
QueryRoutingApi ( Location departing, Location destination, System.DateTime departureDate ) : String

Method Details

FindFastestRoute() public method

public FindFastestRoute ( Location departing, Location destination, System.DateTime departureDate ) : Route
departing Location
destination Location
departureDate System.DateTime
return Route