C# Class AK.F1.Timing.Messages.Driver.SetDriverPitTimeMessage

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

Private Properties

Property Type Description

Public Methods

Method Description
Accept ( IMessageVisitor visitor ) : void
SetDriverPitTimeMessage ( int driverId, PostedTime pitTime ) : System

Initialises a new instance of the SetDriverPitTimeMessage class and specifies if the Id of the driver, the pit time and the lap number on which the driver pitted.

ToString ( ) : string

Method Details

Accept() public method

public Accept ( IMessageVisitor visitor ) : void
visitor IMessageVisitor
return void

SetDriverPitTimeMessage() public method

Initialises a new instance of the SetDriverPitTimeMessage class and specifies if the Id of the driver, the pit time and the lap number on which the driver pitted.
/// Thrown when is not positive. /// /// Thrown when is . ///
public SetDriverPitTimeMessage ( int driverId, PostedTime pitTime ) : System
driverId int The Id of the driver.
pitTime PostedTime The pit time, inclusive of the time taken to travel the pit lane.
return System

ToString() public method

public ToString ( ) : string
return string