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

Show file Open project: simoneb/ak-f1-timing Class Usage Examples

Public Methods

Method Description
LapHistoryEntry ( PostedTime s1, PostedTime s2, PostedTime s3, PostedTime lap ) : System

Initialises a new instance of the LapHistoryEntry class.

Private Methods

Method Description
CheckLapNumber ( PostedTime time, int expectedLapNumber, string paramName ) : void
CheckLapNumbersAreEqual ( PostedTime s1, PostedTime s2, PostedTime s3, PostedTime lap ) : void
CheckOneIsNotNull ( PostedTime s1, PostedTime s2, PostedTime s3, PostedTime lap ) : void

Method Details

LapHistoryEntry() public method

Initialises a new instance of the LapHistoryEntry class.
/// Thrown when all arguments are . /// /// Thrown when specified times are not all for the same lap. ///
public LapHistoryEntry ( PostedTime s1, PostedTime s2, PostedTime s3, PostedTime lap ) : System
s1 PostedTime The sector one time set.
s2 PostedTime The sector two time set.
s3 PostedTime The sector three time set.
lap PostedTime The overall lap time set.
return System