Show / Hide Table of Contents

Class LapMergeController

Implements merge logic over laps.

Inheritance
System.Object
LapMergeController
Namespace: MESL.SqlRace.Domain.Repositories.Laps
Assembly: MESL.SqlRace.Domain.dll
Syntax
public class LapMergeController : Object

Constructors

LapMergeController(Int64)

Constructs a lap merge controller.

Declaration
public LapMergeController(long sessionStartTime)
Parameters
Type Name Description
System.Int64 sessionStartTime

Properties

MinBand

Returns this MinBand setting.

Declaration
public long MinBand { get; }
Property Value
Type Description
System.Int64

SessionStartTime

Get or set session start time for this controller.

Declaration
public long SessionStartTime { get; set; }
Property Value
Type Description
System.Int64

Methods

ApplyLapsCorrection(IList<Lap>)

Applies laps correction.

Declaration
public IList<Lap> ApplyLapsCorrection(IList<Lap> laps)
Parameters
Type Name Description
System.Collections.Generic.IList<Lap> laps
Returns
Type Description
System.Collections.Generic.IList<Lap>

GetMergeCollector()

Instantiate a new LapMergeCollector for merging operation over live session.

Declaration
public LapMergeController.LapMergeCollector GetMergeCollector()
Returns
Type Description
LapMergeController.LapMergeCollector

Returns a new LapMergeCollector with its initial state.

Back to top Generated by DocFX