C# Class TheAirline.ViewModels.Airline.AirlineMVVM

Inheritance: INotifyPropertyChanged
Show file Open project: TheAirlineProject/tap-desktop

Public Methods

Method Description
AirlineMVVM ( Models airline ) : System
CallbackAirliner ( FleetAirliner airliner ) : void
addAirlineInsurance ( AirlineInsurance insurance ) : void
addCodeshareAgreement ( CodeshareAgreement share ) : void
addFacility ( AirlineFacilityMVVM facility ) : void
addLoan ( Loan loan ) : void
addSubsidiaryAirline ( SubsidiaryAirline airline ) : void
addTrainingFacility ( AirlineFacilityMVVM facility ) : void
moveAirliner ( FleetAirliner airliner, Models airline ) : void
removeAirliner ( FleetAirliner airliner ) : void
removeFacility ( AirlineFacilityMVVM facility ) : void
removePilot ( PilotMVVM pilot ) : void
removeSubsidiaryAirline ( SubsidiaryAirline airline ) : void
removeTrainingFacility ( AirlineFacilityMVVM facility ) : void
resetFees ( ) : void
saveAdvertisements ( ) : void
saveFees ( ) : void
setMaxTransferFunds ( Models airline ) : void

Private Methods

Method Description
FillFleetStatusReport ( ) : void
NotifyPropertyChanged ( string propertyName ) : void
setValues ( ) : void

Method Details

AirlineMVVM() public method

public AirlineMVVM ( Models airline ) : System
airline Models
return System

CallbackAirliner() public method

public CallbackAirliner ( FleetAirliner airliner ) : void
airliner TheAirline.Models.Airliners.FleetAirliner
return void

addAirlineInsurance() public method

public addAirlineInsurance ( AirlineInsurance insurance ) : void
insurance TheAirline.Models.Airlines.AirlineInsurance
return void

addCodeshareAgreement() public method

public addCodeshareAgreement ( CodeshareAgreement share ) : void
share TheAirline.Models.Airlines.CodeshareAgreement
return void

addFacility() public method

public addFacility ( AirlineFacilityMVVM facility ) : void
facility AirlineFacilityMVVM
return void

addLoan() public method

public addLoan ( Loan loan ) : void
loan TheAirline.Models.General.Loan
return void

addSubsidiaryAirline() public method

public addSubsidiaryAirline ( SubsidiaryAirline airline ) : void
airline TheAirline.Models.Airlines.Subsidiary.SubsidiaryAirline
return void

addTrainingFacility() public method

public addTrainingFacility ( AirlineFacilityMVVM facility ) : void
facility AirlineFacilityMVVM
return void

moveAirliner() public method

public moveAirliner ( FleetAirliner airliner, Models airline ) : void
airliner TheAirline.Models.Airliners.FleetAirliner
airline Models
return void

removeAirliner() public method

public removeAirliner ( FleetAirliner airliner ) : void
airliner TheAirline.Models.Airliners.FleetAirliner
return void

removeFacility() public method

public removeFacility ( AirlineFacilityMVVM facility ) : void
facility AirlineFacilityMVVM
return void

removePilot() public method

public removePilot ( PilotMVVM pilot ) : void
pilot PilotMVVM
return void

removeSubsidiaryAirline() public method

public removeSubsidiaryAirline ( SubsidiaryAirline airline ) : void
airline TheAirline.Models.Airlines.Subsidiary.SubsidiaryAirline
return void

removeTrainingFacility() public method

public removeTrainingFacility ( AirlineFacilityMVVM facility ) : void
facility AirlineFacilityMVVM
return void

resetFees() public method

public resetFees ( ) : void
return void

saveAdvertisements() public method

public saveAdvertisements ( ) : void
return void

saveFees() public method

public saveFees ( ) : void
return void

setMaxTransferFunds() public method

public setMaxTransferFunds ( Models airline ) : void
airline Models
return void