Table of Contents

Interface IRoutesResolver

Namespace
XENBIT.ResQueServe.Abstractions.Interfaces
Assembly
RQS.Abstractions.dll

Defines methods for resolving geographic routes between two locations.

[TypeScriptUnavailable]
public interface IRoutesResolver : IPrioritizedService
Inherited Members
Extension Methods

Properties

IsUsingCachedData

If the implementation uses cached data, this property will be true.

bool IsUsingCachedData { get; }

Property Value

bool

Methods

GetAirwayRouteAsync(Coordinates, Coordinates, bool, bool, bool)

Asynchronously retrieves a route between the specified start and end locations.

Task<IRoute?> GetAirwayRouteAsync(Coordinates from, Coordinates to, bool isFallback = false, bool withObservationPath = false, bool isLandingAtStation = false)

Parameters

from Coordinates

The starting location for the route.

to Coordinates

The destination location for the route.

isFallback bool

Indicates whether the route is requested as fallback. Default is false.

withObservationPath bool

Indicates whether the route should include an observation path when traveling by helicopter. Default is false.

isLandingAtStation bool

Indicates whether the aircraft will arrive at the station. Default is false.

Returns

Task<IRoute>

A task representing the asynchronous operation, with a result of a IRoute representing the calculated route.

GetRouteAsync(Coordinates, Coordinates, Country)

Asynchronously retrieves a route between the specified start and end locations.

Task<IDirectionsResult?> GetRouteAsync(Coordinates from, Coordinates to, Country country = Country.NotSet)

Parameters

from Coordinates

The starting location for the route.

to Coordinates

The destination location for the route.

country Country

The country context for the route request, derived from the dispatch center's address. Defaults to NotSet for implementations that do not require it.

Returns

Task<IDirectionsResult>

A task representing the asynchronous operation, with a result of a IRoute representing the calculated route.