C# Class TheAirline.Models.General.SpecialContractRoute

Inheritance: BaseModel
显示文件 Open project: TheAirlineProject/tap-desktop Class Usage Examples

Private Properties

Property Type Description
SpecialContractRoute System

Public Methods

Method Description
GetObjectData ( SerializationInfo info, StreamingContext context ) : void
SpecialContractRoute ( Airport destination1, Airport destination2, long passengers, Route routetype, bool bothways ) : System

Private Methods

Method Description
SpecialContractRoute ( SerializationInfo info, StreamingContext ctxt ) : System

Method Details

GetObjectData() public method

public GetObjectData ( SerializationInfo info, StreamingContext context ) : void
info System.Runtime.Serialization.SerializationInfo
context System.Runtime.Serialization.StreamingContext
return void

SpecialContractRoute() public method

public SpecialContractRoute ( Airport destination1, Airport destination2, long passengers, Route routetype, bool bothways ) : System
destination1 TheAirline.Models.Airports.Airport
destination2 TheAirline.Models.Airports.Airport
passengers long
routetype TheAirline.Models.Routes.Route
bothways bool
return System