C# Class TheAirline.Models.Airlines.AirlineProfile

Inheritance: BaseModel
Datei anzeigen Open project: TheAirlineProject/tap-desktop Class Usage Examples

Private Properties

Property Type Description
AirlineProfile System
GetCurrentLogo string

Public Methods

Method Description
AddLogo ( AirlineLogo logo ) : void
AddPreferedAircraft ( AirlinerType type ) : void
AirlineProfile ( string name, string iata, string color, string ceo, bool isReal, int founded, int folded ) : System
GetObjectData ( SerializationInfo info, StreamingContext context ) : void

Private Methods

Method Description
AirlineProfile ( SerializationInfo info, StreamingContext ctxt ) : System
GetCurrentLogo ( ) : string

Method Details

AddLogo() public method

public AddLogo ( AirlineLogo logo ) : void
logo AirlineLogo
return void

AddPreferedAircraft() public method

public AddPreferedAircraft ( AirlinerType type ) : void
type TheAirline.Models.Airliners.AirlinerType
return void

AirlineProfile() public method

public AirlineProfile ( string name, string iata, string color, string ceo, bool isReal, int founded, int folded ) : System
name string
iata string
color string
ceo string
isReal bool
founded int
folded int
return System

GetObjectData() public method

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