private void validationOfCar(Dictionary <string, string> i_CarInfo)
 {
     PropertiesValidation.ValidateLisenceNumber(i_CarInfo["Lisence number:"]);
     PropertiesValidation.EnumValidation <Car.eColor>(i_CarInfo["Car's color:"], "Car's color:");
     PropertiesValidation.ValidateNumberOfDoors(i_CarInfo["Number of doors:"]);
 }
 private void validationOfTruck(Dictionary <string, string> i_TruckInfo)
 {
     PropertiesValidation.ValidateLisenceNumber(i_TruckInfo["Lisence number:"]);
     PropertiesValidation.CheckeIfAnswerIsYesOrNo(i_TruckInfo["Carry dangerous materials:"]);
     PropertiesValidation.PositiveFloatValidation(i_TruckInfo["Carrying capacity:"]);
 }
 private void validationOfMotorcycle(Dictionary <string, string> i_MotorcycleInfo)
 {
     PropertiesValidation.ValidateLisenceNumber(i_MotorcycleInfo["Lisence number:"]);
     PropertiesValidation.EnumValidation <Motorcycle.eLicenseType>(i_MotorcycleInfo["License type:"], "license");
     PropertiesValidation.PositiveIntEngineCapaityValidation(i_MotorcycleInfo["Engine capacity:"]);
 }