C# Class TheAirline.Models.General.Statistics.GeneralStatistics

Inheritance: BaseModel
ファイルを表示 Open project: TheAirlineProject/tap-desktop Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
AddStatisticsValue ( int year, StatisticsType type, double value ) : void
Clear ( ) : void
GeneralStatistics ( ) : System
GetObjectData ( SerializationInfo info, StreamingContext context ) : void
GetStatisticsValue ( StatisticsType type ) : double
GetStatisticsValue ( int year, StatisticsType type ) : double
GetYears ( ) : List
SetStatisticsValue ( int year, StatisticsType type, double value ) : void

Protected Methods

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

Method Details

AddStatisticsValue() public method

public AddStatisticsValue ( int year, StatisticsType type, double value ) : void
year int
type StatisticsType
value double
return void

Clear() public method

public Clear ( ) : void
return void

GeneralStatistics() public method

public GeneralStatistics ( ) : System
return System

GeneralStatistics() protected method

protected GeneralStatistics ( SerializationInfo info, StreamingContext ctxt ) : System
info System.Runtime.Serialization.SerializationInfo
ctxt System.Runtime.Serialization.StreamingContext
return System

GetObjectData() public method

public GetObjectData ( SerializationInfo info, StreamingContext context ) : void
info System.Runtime.Serialization.SerializationInfo
context System.Runtime.Serialization.StreamingContext
return void

GetStatisticsValue() public method

public GetStatisticsValue ( StatisticsType type ) : double
type StatisticsType
return double

GetStatisticsValue() public method

public GetStatisticsValue ( int year, StatisticsType type ) : double
year int
type StatisticsType
return double

GetYears() public method

public GetYears ( ) : List
return List

SetStatisticsValue() public method

public SetStatisticsValue ( int year, StatisticsType type, double value ) : void
year int
type StatisticsType
value double
return void