C# 클래스 TheAirline.Models.Passengers.FlightRestrictions

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

공개 메소드들

메소드 설명
AddRestriction ( FlightRestriction restriction ) : void
Clear ( ) : void
GetRestrictions ( ) : List
HasRestriction ( Airline airline, Country dest1, Country dest2, System.DateTime date ) : bool
HasRestriction ( Country country1, Country country2, System.DateTime date ) : bool
HasRestriction ( Country from, Country to, System.DateTime date, FlightRestriction type ) : bool

메소드 상세

AddRestriction() 공개 정적인 메소드

public static AddRestriction ( FlightRestriction restriction ) : void
restriction FlightRestriction
리턴 void

Clear() 공개 정적인 메소드

public static Clear ( ) : void
리턴 void

GetRestrictions() 공개 정적인 메소드

public static GetRestrictions ( ) : List
리턴 List

HasRestriction() 공개 정적인 메소드

public static HasRestriction ( Airline airline, Country dest1, Country dest2, System.DateTime date ) : bool
airline TheAirline.Models.Airlines.Airline
dest1 TheAirline.Models.General.Countries.Country
dest2 TheAirline.Models.General.Countries.Country
date System.DateTime
리턴 bool

HasRestriction() 공개 정적인 메소드

public static HasRestriction ( Country country1, Country country2, System.DateTime date ) : bool
country1 TheAirline.Models.General.Countries.Country
country2 TheAirline.Models.General.Countries.Country
date System.DateTime
리턴 bool

HasRestriction() 공개 정적인 메소드

public static HasRestriction ( Country from, Country to, System.DateTime date, FlightRestriction type ) : bool
from TheAirline.Models.General.Countries.Country
to TheAirline.Models.General.Countries.Country
date System.DateTime
type FlightRestriction
리턴 bool