C# Class TheAirline.Models.Airliners.AirlinerClass

Inheritance: BaseModel
Mostrar archivo Open project: TheAirlineProject/tap-desktop Class Usage Examples

Private Properties

Property Type Description
AirlinerClass System

Public Methods

Method Description
AirlinerClass ( ClassType type, int seatingCapacity ) : System
CreateBasicFacilities ( Airline airline ) : void
ForceSetFacility ( AirlinerFacility facility ) : void
GetAirlinerTypes ( ) : List
GetFacilities ( ) : List
GetFacility ( AirlinerFacility type ) : AirlinerFacility
GetObjectData ( SerializationInfo info, StreamingContext context ) : void
SetFacility ( Airline airline, AirlinerFacility facility ) : void

Private Methods

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

Method Details

AirlinerClass() public method

public AirlinerClass ( ClassType type, int seatingCapacity ) : System
type ClassType
seatingCapacity int
return System

CreateBasicFacilities() public method

public CreateBasicFacilities ( Airline airline ) : void
airline TheAirline.Models.Airlines.Airline
return void

ForceSetFacility() public method

public ForceSetFacility ( AirlinerFacility facility ) : void
facility AirlinerFacility
return void

GetAirlinerTypes() public static method

public static GetAirlinerTypes ( ) : List
return List

GetFacilities() public method

public GetFacilities ( ) : List
return List

GetFacility() public method

public GetFacility ( AirlinerFacility type ) : AirlinerFacility
type AirlinerFacility
return AirlinerFacility

GetObjectData() public method

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

SetFacility() public method

public SetFacility ( Airline airline, AirlinerFacility facility ) : void
airline TheAirline.Models.Airlines.Airline
facility AirlinerFacility
return void