AK.F1.Timing.Messages.Driver.SetDriverPitTimeMessage.SetDriverPitTimeMessage C# (CSharp) 메소드

SetDriverPitTimeMessage() 공개 메소드

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

            PitTime = pitTime;
        }