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

SetDriverPositionMessage() public method

Initialises a new instance of the SetDriverPositionMessage class and specifies if the Id of the driver and the driver's new position.
/// Thrown when or is not positive. ///
public SetDriverPositionMessage ( int driverId, int position ) : System
driverId int The Id of the driver.
position int The driver's new position.
return System
        public SetDriverPositionMessage(int driverId, int position)
            : base(driverId)
        {
            Guard.InRange(position > 0, "position");

            Position = position;
        }