C# Class TheAirline.Models.Airports.AirportProfile

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

Private Properties

Property Type Description
AirportProfile System
GetCurrentPaxValue double
GetCurrentPaxValueObject PaxValue
GetCurrentSize GeneralHelpers.Size
GetTimeZone TheAirline.Models.General.GameTimeZone

Public Methods

Method Description
AddExpansion ( AirportExpansion expansion ) : void
AirportProfile ( string name, string code, string icaocode, AirportType type, Period period, Town town, System.TimeSpan offsetGMT, System.TimeSpan offsetDST, Coordinates coordinates, GeneralHelpers cargo, double cargovolume, Weather season ) : System
GetObjectData ( SerializationInfo info, StreamingContext context ) : void
SetPaxValue ( double pax ) : void

Private Methods

Method Description
AirportProfile ( SerializationInfo info, StreamingContext ctxt ) : System
GetCurrentPaxValue ( ) : double
GetCurrentPaxValueObject ( ) : PaxValue
GetCurrentSize ( ) : GeneralHelpers.Size
GetTimeZone ( ) : GameTimeZone

Method Details

AddExpansion() public method

public AddExpansion ( AirportExpansion expansion ) : void
expansion AirportExpansion
return void

AirportProfile() public method

public AirportProfile ( string name, string code, string icaocode, AirportType type, Period period, Town town, System.TimeSpan offsetGMT, System.TimeSpan offsetDST, Coordinates coordinates, GeneralHelpers cargo, double cargovolume, Weather season ) : System
name string
code string
icaocode string
type AirportType
period Period
town TheAirline.Models.General.Countries.Towns.Town
offsetGMT System.TimeSpan
offsetDST System.TimeSpan
coordinates TheAirline.Models.General.Coordinates
cargo GeneralHelpers
cargovolume double
season TheAirline.Models.General.Environment.Weather
return System

GetObjectData() public method

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

SetPaxValue() public method

public SetPaxValue ( double pax ) : void
pax double
return void