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

SetDriverNameMessage() public method

Initialises a new instance of the SetDriverNameMessage class and specifies if the Id of the driver and the driver's name.
/// Thrown when is not positive. /// /// Thrown when is . /// /// Thrown when is or zero length. ///
public SetDriverNameMessage ( int driverId, string driverName ) : System
driverId int The Id of the driver.
driverName string The driver's name.
return System
        public SetDriverNameMessage(int driverId, string driverName)
            : base(driverId)
        {
            Guard.NotNullOrEmpty(driverName, "driverName");

            DriverName = driverName;
        }