C# 클래스 TheAirline.Helpers.AirlineInsuranceHelpers

파일 보기 프로젝트 열기: TheAirlineProject/tap-desktop

공개 메소드들

메소드 설명
CheckExpiredInsurance ( Airline airline ) : void
CreatePolicy ( Airline airline, AirlineInsurance type, AirlineInsurance scope, AirlineInsurance terms, bool allAirliners, double length, int amount ) : AirlineInsurance
FileInsuranceClaim ( Airline airline, AirlineInsurance policy, int damage ) : void
FileInsuranceClaim ( Airline airline, Airport airport, int damage ) : void
FileInsuranceClaim ( Airline airline, FleetAirliner airliner, Airport airport, int damage ) : void
FileInsuranceClaim ( Airline airline, FleetAirliner airliner, int damage ) : void
GetRatingModifier ( Airline airline ) : double
MakeInsurancePayment ( Airline airline ) : void
ModifyPolicy ( Airline airline, string index, AirlineInsurance newPolicy ) : void
ReceiveInsurancePayout ( Airline airline, AirlineInsurance policy, InsuranceClaim claim ) : void

메소드 상세

CheckExpiredInsurance() 공개 정적인 메소드

public static CheckExpiredInsurance ( Airline airline ) : void
airline TheAirline.Models.Airlines.Airline
리턴 void

CreatePolicy() 공개 정적인 메소드

public static CreatePolicy ( Airline airline, AirlineInsurance type, AirlineInsurance scope, AirlineInsurance terms, bool allAirliners, double length, int amount ) : AirlineInsurance
airline TheAirline.Models.Airlines.Airline
type TheAirline.Models.Airlines.AirlineInsurance
scope TheAirline.Models.Airlines.AirlineInsurance
terms TheAirline.Models.Airlines.AirlineInsurance
allAirliners bool
length double
amount int
리턴 TheAirline.Models.Airlines.AirlineInsurance

FileInsuranceClaim() 공개 정적인 메소드

public static FileInsuranceClaim ( Airline airline, AirlineInsurance policy, int damage ) : void
airline TheAirline.Models.Airlines.Airline
policy TheAirline.Models.Airlines.AirlineInsurance
damage int
리턴 void

FileInsuranceClaim() 공개 정적인 메소드

public static FileInsuranceClaim ( Airline airline, Airport airport, int damage ) : void
airline TheAirline.Models.Airlines.Airline
airport TheAirline.Models.Airports.Airport
damage int
리턴 void

FileInsuranceClaim() 공개 정적인 메소드

public static FileInsuranceClaim ( Airline airline, FleetAirliner airliner, Airport airport, int damage ) : void
airline TheAirline.Models.Airlines.Airline
airliner TheAirline.Models.Airliners.FleetAirliner
airport TheAirline.Models.Airports.Airport
damage int
리턴 void

FileInsuranceClaim() 공개 정적인 메소드

public static FileInsuranceClaim ( Airline airline, FleetAirliner airliner, int damage ) : void
airline TheAirline.Models.Airlines.Airline
airliner TheAirline.Models.Airliners.FleetAirliner
damage int
리턴 void

GetRatingModifier() 공개 정적인 메소드

public static GetRatingModifier ( Airline airline ) : double
airline TheAirline.Models.Airlines.Airline
리턴 double

MakeInsurancePayment() 공개 정적인 메소드

public static MakeInsurancePayment ( Airline airline ) : void
airline TheAirline.Models.Airlines.Airline
리턴 void

ModifyPolicy() 공개 정적인 메소드

public static ModifyPolicy ( Airline airline, string index, AirlineInsurance newPolicy ) : void
airline TheAirline.Models.Airlines.Airline
index string
newPolicy TheAirline.Models.Airlines.AirlineInsurance
리턴 void

ReceiveInsurancePayout() 공개 정적인 메소드

public static ReceiveInsurancePayout ( Airline airline, AirlineInsurance policy, InsuranceClaim claim ) : void
airline TheAirline.Models.Airlines.Airline
policy TheAirline.Models.Airlines.AirlineInsurance
claim TheAirline.Models.Airlines.InsuranceClaim
리턴 void