Class LapStatisticsEventArgs
Contains details about the lap statistics that were calculated.
Inheritance
System.Object
    LapStatisticsEventArgs
  Namespace: MESL.SqlRace.Domain
Assembly: MESL.SqlRace.Domain.dll
Syntax
public class LapStatisticsEventArgs : EventArgs
  Properties
CurrentCursorPosition
Gets the current cursor position.
Declaration
public long CurrentCursorPosition { get; }
  Property Value
| Type | Description | 
|---|---|
| System.Int64 | 
LapDuration
Gets the duration of the lap (in milliseconds).
Declaration
public long LapDuration { get; }
  Property Value
| Type | Description | 
|---|---|
| System.Int64 | 
LapNumber
Gets the lap number.
Declaration
public short LapNumber { get; }
  Property Value
| Type | Description | 
|---|---|
| System.Int16 | 
LapTimeRange
Gets the lap time range.
Declaration
public TimeRange LapTimeRange { get; }
  Property Value
| Type | Description | 
|---|---|
| TimeRange | 
PreviousCursorPosition
Gets the previous cursor position.
Declaration
public long PreviousCursorPosition { get; }
  Property Value
| Type | Description | 
|---|---|
| System.Int64 | 
SessionKey
Gets the session key.
Declaration
public SessionKey SessionKey { get; }
  Property Value
| Type | Description | 
|---|---|
| MAT.OCS.Core.SessionKey | 
StatisticsTaskDuration
Gets the time to calculate statistics.
Declaration
public long StatisticsTaskDuration { get; }
  Property Value
| Type | Description | 
|---|---|
| System.Int64 | 
TimeFromLapMarkerToCurrentCursor
Gets the time from lap marker to current cursor (in milliseconds).
Declaration
public long TimeFromLapMarkerToCurrentCursor { get; }
  Property Value
| Type | Description | 
|---|---|
| System.Int64 | 
TimeFromPreviousCursorToLapMarker
Gets the time from previous cursor to lap marker (in milliseconds).
Declaration
public long TimeFromPreviousCursorToLapMarker { get; }
  Property Value
| Type | Description | 
|---|---|
| System.Int64 | 
Methods
ToString()
Converts the lap statistics to a formatted string
Declaration
public override string ToString()
  Returns
| Type | Description | 
|---|---|
| System.String | Formatted System.String containing lap statistics  |