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

SetDriverNameMessage() 공개 메소드

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.
리턴 System
        public SetDriverNameMessage(int driverId, string driverName)
            : base(driverId)
        {
            Guard.NotNullOrEmpty(driverName, "driverName");

            DriverName = driverName;
        }