private CVT Map(CropVariety cropVariety) { var isoVariety = new CVT { B = cropVariety.Description, }; isoVariety.A = isoVariety.GetIsoId(_cropVarietyIndex++); return isoVariety; }
public void Setup() { _cvt = new CVT(); _output = new StringBuilder(); _xmlBuilder = XmlWriter.Create(_output); }