C# Class TheAirline.Models.Airliners.EngineType

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

Private Properties

Property Type Description
EngineType System

Public Methods

Method Description
AddAirlinerType ( AirlinerType type ) : void
EngineType ( string model, Manufacturer manufacturer, TypeOfEngine engine, NoiseLevel noise, double consumptation, long price, int maxspeed, int ceiling, double runway, double range, Period produced ) : System
GetObjectData ( SerializationInfo info, StreamingContext context ) : void

Private Methods

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

Method Details

AddAirlinerType() public method

public AddAirlinerType ( AirlinerType type ) : void
type AirlinerType
return void

EngineType() public method

public EngineType ( string model, Manufacturer manufacturer, TypeOfEngine engine, NoiseLevel noise, double consumptation, long price, int maxspeed, int ceiling, double runway, double range, Period produced ) : System
model string
manufacturer Manufacturer
engine TypeOfEngine
noise NoiseLevel
consumptation double
price long
maxspeed int
ceiling int
runway double
range double
produced Period
return System

GetObjectData() public method

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