C# Class TheAirline.Models.Airports.AirportContract

Inheritance: BaseModel
ファイルを表示 Open project: TheAirlineProject/tap-desktop Class Usage Examples

Private Properties

Property Type Description
AirportContract System

Public Methods

Method Description
AirportContract ( Airline airline, Airport airport, ContractType type, Terminal terminaltype, System.DateTime date, int numberOfGates, int length, double yearlyPayment, bool autorenew, bool payFull = false, bool isExclusiveDeal = false, Terminal terminal = null ) : System
GetMonthsLeft ( ) : int
GetObjectData ( SerializationInfo info, StreamingContext context ) : void

Private Methods

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

Method Details

AirportContract() public method

public AirportContract ( Airline airline, Airport airport, ContractType type, Terminal terminaltype, System.DateTime date, int numberOfGates, int length, double yearlyPayment, bool autorenew, bool payFull = false, bool isExclusiveDeal = false, Terminal terminal = null ) : System
airline TheAirline.Models.Airlines.Airline
airport Airport
type ContractType
terminaltype Terminal
date System.DateTime
numberOfGates int
length int
yearlyPayment double
autorenew bool
payFull bool
isExclusiveDeal bool
terminal Terminal
return System

GetMonthsLeft() public method

public GetMonthsLeft ( ) : int
return int

GetObjectData() public method

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