C# Class TheAirline.Models.Airports.AirportStatistics

Inheritance: BaseModel
Afficher le fichier Open project: TheAirlineProject/tap-desktop Class Usage Examples

Private Properties

Свойство Type Description
AirportStatistics System

Méthodes publiques

Méthode Description
AddStatisticsValue ( int year, Airline airline, StatisticsType type, int value ) : void
AirportStatistics ( ) : System
GetObjectData ( SerializationInfo info, StreamingContext context ) : void
GetStatisticsValue ( int year, Airline airline, StatisticsType type ) : double
GetTotalValue ( int year, StatisticsType type ) : double
GetYears ( ) : List
SetStatisticsValue ( int year, Airline airline, StatisticsType type, int value ) : void

Private Methods

Méthode Description
AirportStatistics ( SerializationInfo info, StreamingContext ctxt ) : System

Method Details

AddStatisticsValue() public méthode

public AddStatisticsValue ( int year, Airline airline, StatisticsType type, int value ) : void
year int
airline TheAirline.Models.Airlines.Airline
type TheAirline.Models.General.Statistics.StatisticsType
value int
Résultat void

AirportStatistics() public méthode

public AirportStatistics ( ) : System
Résultat System

GetObjectData() public méthode

public GetObjectData ( SerializationInfo info, StreamingContext context ) : void
info System.Runtime.Serialization.SerializationInfo
context System.Runtime.Serialization.StreamingContext
Résultat void

GetStatisticsValue() public méthode

public GetStatisticsValue ( int year, Airline airline, StatisticsType type ) : double
year int
airline TheAirline.Models.Airlines.Airline
type TheAirline.Models.General.Statistics.StatisticsType
Résultat double

GetTotalValue() public méthode

public GetTotalValue ( int year, StatisticsType type ) : double
year int
type TheAirline.Models.General.Statistics.StatisticsType
Résultat double

GetYears() public méthode

public GetYears ( ) : List
Résultat List

SetStatisticsValue() public méthode

public SetStatisticsValue ( int year, Airline airline, StatisticsType type, int value ) : void
year int
airline TheAirline.Models.Airlines.Airline
type TheAirline.Models.General.Statistics.StatisticsType
value int
Résultat void