/// <summary>
 /// Initializes a new instance of the CastleRouteStateModel class.
 /// </summary>
 public CastleRouteStateModel(string fromCastle = default(string), string toCastle = default(string), RouteModel route = default(RouteModel))
 {
     FromCastle = fromCastle;
     ToCastle   = toCastle;
     Route      = route;
     CustomInit();
 }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the CastleRouteDto class.
 /// </summary>
 public CastleRouteDto(string fromCastle = default(string), string toCastle = default(string), RouteModel route = default(RouteModel), IList <PositionModel> formattedRoute = default(IList <PositionModel>))
 {
     FromCastle     = fromCastle;
     ToCastle       = toCastle;
     Route          = route;
     FormattedRoute = formattedRoute;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the BattalionMovementEventModel
 /// class.
 /// </summary>
 public BattalionMovementEventModel(System.Guid?castleId = default(System.Guid?), System.Guid?destinationCastleId = default(System.Guid?), IList <string> soldiers = default(IList <string>), RouteModel route = default(RouteModel), IList <PositionModel> positions = default(IList <PositionModel>), System.Guid?id = default(System.Guid?), System.DateTime?runningAt = default(System.DateTime?), System.DateTime?executeAt = default(System.DateTime?), string type = default(string), string rawData = default(string))
 {
     CastleId            = castleId;
     DestinationCastleId = destinationCastleId;
     Soldiers            = soldiers;
     Route     = route;
     Positions = positions;
     Id        = id;
     RunningAt = runningAt;
     ExecuteAt = executeAt;
     Type      = type;
     RawData   = rawData;
     CustomInit();
 }