TheAirline.Models.Routes.Route.Route C# (CSharp) Method

Route() protected method

protected Route ( RouteType type, string id, Airport destination1, Airport destination2, DateTime startDate ) : System
type RouteType
id string
destination1 Airport
destination2 Airport
startDate DateTime
return System
        protected Route(RouteType type, string id, Airport destination1, Airport destination2, DateTime startDate)
        {
            Type = type;
            Id = id;
            Destination1 = destination1;
            Destination2 = destination2;
            StartDate = startDate;

            TimeTable = new RouteTimeTable(this);
            Invoices = new Invoices();
            Statistics = new RouteStatistics();
            Banned = false;
            Stopovers = new List<StopoverRoute>();

            Season = Weather.Season.AllYear;
        }

Same methods

Route::Route ( SerializationInfo info, StreamingContext ctxt ) : System