Пример #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CostMatrix" /> class.
 /// </summary>
 /// <param name="Type">type of cost matrix, currently default or google are supported.</param>
 /// <param name="Url">URL of matrix service.</param>
 /// <param name="LocationIds">LocationIds.</param>
 /// <param name="Data">Data.</param>
 /// <param name="Profile">vehicle profile or empty if catch all fallback.</param>
 public CostMatrix(TypeEnum?Type = default(TypeEnum?), string Url = default(string), List <string> LocationIds = default(List <string>), CostMatrixData Data = default(CostMatrixData), string Profile = default(string))
 {
     this.Type        = Type;
     this.Url         = Url;
     this.LocationIds = LocationIds;
     this.Data        = Data;
     this.Profile     = Profile;
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CostMatrix" /> class.
 /// </summary>
 /// <param name="type">type of cost matrix, currently default or google are supported.</param>
 /// <param name="locationIds">locationIds.</param>
 /// <param name="data">data.</param>
 /// <param name="profile">vehicle profile or empty if catch all fallback.</param>
 public CostMatrix(TypeEnum?type = default(TypeEnum?), List <string> locationIds = default(List <string>), CostMatrixData data = default(CostMatrixData), string profile = default(string))
 {
     this.Type        = type;
     this.LocationIds = locationIds;
     this.Data        = data;
     this.Profile     = profile;
 }