/// <summary> /// Initializes a new instance of the <see cref="DatabaseCars"/> class. /// </summary> /// <param name="xDoc"> /// XML doc with cars info. /// </param> private DatabaseCars(XDocument xDoc) { this.ListOfCars = XmlParser.ParseVehicleInfo(xDoc); }