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

DriverMessageBase() protected method

Initialises a new instance of the DriverMessageBase class and specifies the Id of the driver the message relates to.
/// Thrown when is not positive. ///
protected DriverMessageBase ( int driverId ) : System
driverId int The Id of the driver the message is related to.
return System
        protected DriverMessageBase(int driverId)
        {
            Guard.InRange(driverId > 0, "driverId");

            DriverId = driverId;
        }
DriverMessageBase