Share via


MapsRoutingModelFactory.RouteMatrixResult Method

Definition

Initializes a new instance of RouteMatrixResult.

public static Azure.Maps.Routing.Models.RouteMatrixResult RouteMatrixResult (string formatVersion = default, System.Collections.Generic.IEnumerable<System.Collections.Generic.IList<Azure.Maps.Routing.Models.RouteMatrix>> matrix = default, Azure.Maps.Routing.Models.RouteMatrixSummary summary = default);
static member RouteMatrixResult : string * seq<System.Collections.Generic.IList<Azure.Maps.Routing.Models.RouteMatrix>> * Azure.Maps.Routing.Models.RouteMatrixSummary -> Azure.Maps.Routing.Models.RouteMatrixResult
Public Shared Function RouteMatrixResult (Optional formatVersion As String = Nothing, Optional matrix As IEnumerable(Of IList(Of RouteMatrix)) = Nothing, Optional summary As RouteMatrixSummary = Nothing) As RouteMatrixResult

Parameters

formatVersion
String

Format Version property.

matrix
IEnumerable<IList<RouteMatrix>>

Results as a 2 dimensional array of route summaries.

summary
RouteMatrixSummary

Summary object.

Returns

A new RouteMatrixResult instance for mocking.

Applies to