C# Class TheAirline.Models.Routes.RouteAirlinerClass

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

Private Properties

Property Type Description
RouteAirlinerClass System

Public Methods

Method Description
AddFacility ( RouteFacility facility ) : void
GetFacilities ( ) : List
GetFacility ( RouteFacility type ) : RouteFacility
GetObjectData ( SerializationInfo info, StreamingContext context ) : void
RouteAirlinerClass ( AirlinerClass type, SeatingType seating, double fareprice ) : System

Private Methods

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

Method Details

AddFacility() public method

public AddFacility ( RouteFacility facility ) : void
facility RouteFacility
return void

GetFacilities() public method

public GetFacilities ( ) : List
return List

GetFacility() public method

public GetFacility ( RouteFacility type ) : RouteFacility
type RouteFacility
return RouteFacility

GetObjectData() public method

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

RouteAirlinerClass() public method

public RouteAirlinerClass ( AirlinerClass type, SeatingType seating, double fareprice ) : System
type TheAirline.Models.Airliners.AirlinerClass
seating SeatingType
fareprice double
return System