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

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
        public SetDriverPitTimeMessage(int driverId, PostedTime pitTime)
            : base(driverId)
        {
            Guard.NotNull(pitTime, "pitTime");

            PitTime = pitTime;
        }