AK.F1.Timing.Model.Driver.DriverModel.DriverModel C# (CSharp) Method

DriverModel() public method

Initialises a new instance of the DriverModel class and specifies the driver's Id.
public DriverModel ( int id ) : System
id int The driver's Id.
return System
        public DriverModel(int id)
        {
            Id = id;
            LapTimes = new LapTimesModel();
            PitTimes = new PostedTimeCollectionModel();
            QuallyTimes = new QuallyTimesModel();
            Status = DriverStatus.InPits;
            Builder = new DriverModelBuilder(this);
        }