Exemple #1
0
 /// <summary>
 /// Create a new Spot object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="stopName">Initial value of the StopName property.</param>
 /// <param name="position">Initial value of the Position property.</param>
 public static Spot CreateSpot(global::System.Int32 id, global::System.String stopName, Position position)
 {
     Spot spot = new Spot();
     spot.Id = id;
     spot.StopName = stopName;
     spot.Position = StructuralObject.VerifyComplexObjectIsNotNull(position, "Position");
     return spot;
 }
Exemple #2
0
 partial void OnPositionChanging(Position value);
Exemple #3
0
 /// <summary>
 /// Create a new Position object.
 /// </summary>
 /// <param name="longitude">Initial value of the Longitude property.</param>
 public static Position CreatePosition(global::System.Double longitude)
 {
     Position position = new Position();
     position.Longitude = longitude;
     return position;
 }