Inheritance: IWriter
        private CTR MapGrower(Grower grower, int growerIndex, Dictionary<int, string> keyToIsoId)
        {
            var isoGrower = new CTR
            {
                B = grower.Name
            };
            isoGrower.A = isoGrower.GetIsoId(growerIndex);

            keyToIsoId.Add(grower.Id.ReferenceId, isoGrower.A);
            return isoGrower;
        }
Exemple #2
0
 public void Setup()
 {
     _ctr = new CTR();
     _output = new StringBuilder();
     _xmlBuilder = XmlWriter.Create(_output);
 }