C# Class TheAirline.Models.Airliners.FleetAirliner

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

Private Properties

Property Type Description
FleetAirliner System

Public Methods

Method Description
AddPilot ( Pilot pilot ) : void
AddRoute ( Route route ) : void
FleetAirliner ( PurchasedType purchased, System.DateTime purchasedDate, Airline airline, Airliner airliner, Airport homebase ) : System
GetObjectData ( SerializationInfo info, StreamingContext context ) : void
RemovePilot ( Pilot pilot ) : void
RemoveRoute ( Route route ) : void

Private Methods

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

Method Details

AddPilot() public method

public AddPilot ( Pilot pilot ) : void
pilot TheAirline.Models.Pilots.Pilot
return void

AddRoute() public method

public AddRoute ( Route route ) : void
route TheAirline.Models.Routes.Route
return void

FleetAirliner() public method

public FleetAirliner ( PurchasedType purchased, System.DateTime purchasedDate, Airline airline, Airliner airliner, Airport homebase ) : System
purchased PurchasedType
purchasedDate System.DateTime
airline TheAirline.Models.Airlines.Airline
airliner Airliner
homebase TheAirline.Models.Airports.Airport
return System

GetObjectData() public method

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

RemovePilot() public method

public RemovePilot ( Pilot pilot ) : void
pilot TheAirline.Models.Pilots.Pilot
return void

RemoveRoute() public method

public RemoveRoute ( Route route ) : void
route TheAirline.Models.Routes.Route
return void