C# Class AK.F1.Timing.Model.Driver.LapTimesModel

Inheritance: ModelBase
显示文件 Open project: simoneb/ak-f1-timing Class Usage Examples

Private Properties

Property Type Description
Get PostedTime
OnCollectionChanged void
Subscribe void

Public Methods

Method Description
GetSector ( int sectorNumber ) : PostedTimeCollectionModel

Gets the sector time collection for the specified one-based sector number.

LapTimesModel ( ) : System

Initialises a new instance of the LapTimesModel class.

Private Methods

Method Description
Get ( PostedTime>.IDictionary times, int lapNumber ) : PostedTime
OnCollectionChanged ( object sender, NotifyCollectionChangedEventArgs e ) : void
Subscribe ( INotifyCollectionChanged collection, NotifyCollectionChangedEventHandler handler ) : void

Method Details

GetSector() public method

Gets the sector time collection for the specified one-based sector number.
/// Thrown when is not positive or is greater than three. ///
public GetSector ( int sectorNumber ) : PostedTimeCollectionModel
sectorNumber int The one-based sector number.
return AK.F1.Timing.Model.Collections.PostedTimeCollectionModel

LapTimesModel() public method

Initialises a new instance of the LapTimesModel class.
public LapTimesModel ( ) : System
return System