C# Class TheAirline.Models.General.Countries.TemporaryCountry

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

Private Properties

Property Type Description
TemporaryCountry System

Public Methods

Method Description
GetCurrentCountry ( System.DateTime date, Country originalCountry ) : Country
TemporaryCountry ( TemporaryType type, Country country, System.DateTime startDate, System.DateTime endDate ) : System

Private Methods

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

Method Details

GetCurrentCountry() public method

public GetCurrentCountry ( System.DateTime date, Country originalCountry ) : Country
date System.DateTime
originalCountry Country
return Country

TemporaryCountry() public method

public TemporaryCountry ( TemporaryType type, Country country, System.DateTime startDate, System.DateTime endDate ) : System
type TemporaryType
country Country
startDate System.DateTime
endDate System.DateTime
return System