AK.F1.Timing.Messages.Driver.ReplaceDriverLapTimeMessage.ReplaceDriverLapTimeMessage C# (CSharp) Method

ReplaceDriverLapTimeMessage() public method

Initialises a new instance of the ReplaceDriverLapTimeMessage class and specifies if the Id of the driver and the previous lap time replacement.
/// Thrown when is not positive. /// /// Thrown when is . ///
public ReplaceDriverLapTimeMessage ( int driverId, PostedTime replacement ) : System
driverId int The Id of the driver.
replacement PostedTime The previous lap time replacement.
return System
        public ReplaceDriverLapTimeMessage(int driverId, PostedTime replacement)
            : base(driverId)
        {
            Guard.NotNull(replacement, "replacement");

            Replacement = replacement;
        }