C# Class TheAirline.Models.Airliners.Airliner

Inheritance: BaseModel
Mostra file Open project: TheAirlineProject/tap-desktop Class Usage Examples

Private Properties

Property Type Description
Airliner System
GetSeatingCapacity int

Public Methods

Method Description
AddAirlinerClass ( AirlinerClass airlinerClass ) : void
Airliner ( string id, AirlinerType type, string tailNumber, System.DateTime builtDate ) : System
ClearAirlinerClasses ( ) : void
GetAge ( ) : int
GetAirlinerClass ( AirlinerClass type ) : AirlinerClass
GetCargoCapacity ( ) : double
GetLeasingPrice ( ) : long
GetObjectData ( SerializationInfo info, StreamingContext context ) : void
GetPrice ( ) : long
GetTotalSeatCapacity ( ) : int
GetValue ( ) : long
RemoveAirlinerClass ( AirlinerClass airlinerClass ) : void

Private Methods

Method Description
Airliner ( SerializationInfo info, StreamingContext ctxt ) : System
GetSeatingCapacity ( AirlinerClass classType ) : int

Method Details

AddAirlinerClass() public method

public AddAirlinerClass ( AirlinerClass airlinerClass ) : void
airlinerClass AirlinerClass
return void

Airliner() public method

public Airliner ( string id, AirlinerType type, string tailNumber, System.DateTime builtDate ) : System
id string
type AirlinerType
tailNumber string
builtDate System.DateTime
return System

ClearAirlinerClasses() public method

public ClearAirlinerClasses ( ) : void
return void

GetAge() public method

public GetAge ( ) : int
return int

GetAirlinerClass() public method

public GetAirlinerClass ( AirlinerClass type ) : AirlinerClass
type AirlinerClass
return AirlinerClass

GetCargoCapacity() public method

public GetCargoCapacity ( ) : double
return double

GetLeasingPrice() public method

public GetLeasingPrice ( ) : long
return long

GetObjectData() public method

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

GetPrice() public method

public GetPrice ( ) : long
return long

GetTotalSeatCapacity() public method

public GetTotalSeatCapacity ( ) : int
return int

GetValue() public method

public GetValue ( ) : long
return long

RemoveAirlinerClass() public method

public RemoveAirlinerClass ( AirlinerClass airlinerClass ) : void
airlinerClass AirlinerClass
return void