C# Class TheAirline.Models.Airports.Terminal

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

Private Properties

Property Type Description
Terminal System

Public Methods

Method Description
ExtendTerminal ( int gates ) : void
GetFreeGates ( ) : int
GetObjectData ( SerializationInfo info, StreamingContext context ) : void
PurchaseTerminal ( Airline airline ) : void
Terminal ( Airport airport, Airline airline, string name, int gates, System.DateTime deliveryDate, TerminalType type ) : System
Terminal ( Airport airport, string name, int gates, System.DateTime deliveryDate, TerminalType type ) : System

Private Methods

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

Method Details

ExtendTerminal() public method

public ExtendTerminal ( int gates ) : void
gates int
return void

GetFreeGates() public method

public GetFreeGates ( ) : 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

PurchaseTerminal() public method

public PurchaseTerminal ( Airline airline ) : void
airline TheAirline.Models.Airlines.Airline
return void

Terminal() public method

public Terminal ( Airport airport, Airline airline, string name, int gates, System.DateTime deliveryDate, TerminalType type ) : System
airport Airport
airline TheAirline.Models.Airlines.Airline
name string
gates int
deliveryDate System.DateTime
type TerminalType
return System

Terminal() public method

public Terminal ( Airport airport, string name, int gates, System.DateTime deliveryDate, TerminalType type ) : System
airport Airport
name string
gates int
deliveryDate System.DateTime
type TerminalType
return System