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

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
ReplaceDriverSectorTimeMessage ( int driverId, int sectorNumber, PostedTime replacement ) : System

Initialises a new instance of the ReplaceDriverSectorTimeMessage class and specifies if the Id of the driver, the sector number, and the previous sector time replacement.

ToString ( ) : string

Method Details

Accept() public method

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

ReplaceDriverSectorTimeMessage() public method

Initialises a new instance of the ReplaceDriverSectorTimeMessage class and specifies if the Id of the driver, the sector number, and the previous sector time replacement.
/// Thrown when or is not positive. /// /// Thrown when is . ///
public ReplaceDriverSectorTimeMessage ( int driverId, int sectorNumber, PostedTime replacement ) : System
driverId int The Id of the driver.
sectorNumber int The sector number.
replacement PostedTime The previous sector time replacement.
return System

ToString() public method

public ToString ( ) : string
return string