コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MatrixResponse" /> class.
 /// </summary>
 /// <param name="Distances">Distances.</param>
 /// <param name="Times">Times.</param>
 /// <param name="Weights">Weights.</param>
 /// <param name="Info">Info.</param>
 public MatrixResponse(List <List <decimal?> > Distances = default(List <List <decimal?> >), List <List <decimal?> > Times = default(List <List <decimal?> >), List <List <double?> > Weights = default(List <List <double?> >), ResponseInfo Info = default(ResponseInfo))
 {
     this.Distances = Distances;
     this.Times     = Times;
     this.Weights   = Weights;
     this.Info      = Info;
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RouteResponse" /> class.
 /// </summary>
 /// <param name="paths">Paths.</param>
 /// <param name="info">Info.</param>
 public RouteResponse(List <RouteResponsePath> paths = default(List <RouteResponsePath>), ResponseInfo info = default(ResponseInfo))
 {
     this.Paths = paths;
     this.Info  = info;
 }