Exemplo n.º 1
0
 /// <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);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DatabaseTrucks"/> class.
 /// </summary>
 /// <param name="xDoc">
 /// XML doc with trucks info.
 /// </param>
 private DatabaseTrucks(XDocument xDoc)
 {
     this.ListOfTrucks = XmlParser.ParseVehicleInfo(xDoc);
 }