C# Class TheAirline.Models.Airlines.Alliance

Inheritance: BaseModel
Mostrar archivo Open project: TheAirlineProject/tap-desktop Class Usage Examples

Private Properties

Property Type Description
Alliance System

Public Methods

Method Description
AddMember ( AllianceMember airline ) : void
AddPendingMember ( PendingAllianceMember pending ) : void
Alliance ( System.DateTime formationDate, string name, Airport headquarter ) : System
GenerateAllianceName ( ) : string
GetObjectData ( SerializationInfo info, StreamingContext context ) : void
RemoveMember ( Airline airline ) : void
RemoveMember ( AllianceMember airline ) : void
RemovePendingMember ( PendingAllianceMember pending ) : void

Private Methods

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

Method Details

AddMember() public method

public AddMember ( AllianceMember airline ) : void
airline AllianceMember
return void

AddPendingMember() public method

public AddPendingMember ( PendingAllianceMember pending ) : void
pending PendingAllianceMember
return void

Alliance() public method

public Alliance ( System.DateTime formationDate, string name, Airport headquarter ) : System
formationDate System.DateTime
name string
headquarter TheAirline.Models.Airports.Airport
return System

GenerateAllianceName() public static method

public static GenerateAllianceName ( ) : string
return string

GetObjectData() public method

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

RemoveMember() public method

public RemoveMember ( Airline airline ) : void
airline Airline
return void

RemoveMember() public method

public RemoveMember ( AllianceMember airline ) : void
airline AllianceMember
return void

RemovePendingMember() public method

public RemovePendingMember ( PendingAllianceMember pending ) : void
pending PendingAllianceMember
return void