public override LaesResultatType Aggregate(object[] results)
        {
            var laesResultat = new LaesResultatType()
            {
                Item = results[0]
            };

            CityNameMapping.ApplyIfNeeded(laesResultat);

            QualityLevel = (SubMethodInfos[0] as ReadSubMethodInfo).QualityLevel;
            return(laesResultat);
        }
Beispiel #2
0
        public override LaesResultatType[] Aggregate(object[] results)
        {
            var ret = Array.ConvertAll <object, LaesResultatType>
                      (
                results,
                (s) => new LaesResultatType()
            {
                Item = s as RegistreringType1
            }
                      );

            foreach (var laesResultat in ret)
            {
                CityNameMapping.ApplyIfNeeded(laesResultat);
            }
            return(ret);
        }