C# Class TheAirline.Models.Airliners.AirlinerCargoType

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

Private Properties

Property Type Description
AirlinerCargoType System

Public Methods

Method Description
AirlinerCargoType ( Manufacturer manufacturer, string name, string family, int cockpitcrew, double cargoSize, double speed, long range, double wingspan, double length, double weight, double consumption, long price, long minRunwaylength, long fuelcapacity, BodyType body, TypeRange rangeType, TypeOfEngine engine, Period produced, int prodRate, bool isConvertable, bool standardType = true ) : System
GetCapacity ( ) : int
GetObjectData ( SerializationInfo info, StreamingContext context ) : void

Private Methods

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

Method Details

AirlinerCargoType() public method

public AirlinerCargoType ( Manufacturer manufacturer, string name, string family, int cockpitcrew, double cargoSize, double speed, long range, double wingspan, double length, double weight, double consumption, long price, long minRunwaylength, long fuelcapacity, BodyType body, TypeRange rangeType, TypeOfEngine engine, Period produced, int prodRate, bool isConvertable, bool standardType = true ) : System
manufacturer Manufacturer
name string
family string
cockpitcrew int
cargoSize double
speed double
range long
wingspan double
length double
weight double
consumption double
price long
minRunwaylength long
fuelcapacity long
body BodyType
rangeType TypeRange
engine TypeOfEngine
produced Period
prodRate int
isConvertable bool
standardType bool
return System

GetCapacity() public method

public GetCapacity ( ) : int
return int

GetObjectData() public method

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