C# Class TheAirline.Models.Airports.AirportProfile

Inheritance: BaseModel
Afficher le fichier Open project: TheAirlineProject/tap-desktop Class Usage Examples

Private Properties

Свойство Type Description
AirportProfile System
GetCurrentPaxValue double
GetCurrentPaxValueObject PaxValue
GetCurrentSize GeneralHelpers.Size
GetTimeZone TheAirline.Models.General.GameTimeZone

Méthodes publiques

Méthode 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

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

Method Details

AddExpansion() public méthode

public AddExpansion ( AirportExpansion expansion ) : void
expansion AirportExpansion
Résultat void

AirportProfile() public méthode

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
Résultat System

GetObjectData() public méthode

public GetObjectData ( SerializationInfo info, StreamingContext context ) : void
info System.Runtime.Serialization.SerializationInfo
context System.Runtime.Serialization.StreamingContext
Résultat void

SetPaxValue() public méthode

public SetPaxValue ( double pax ) : void
pax double
Résultat void