示例#1
0
        public static List <T> AnnualZoneResult <T>(this ZoneData zoneData, tsdZoneArray tsdZoneArray)
        {
            if (zoneData == null)
            {
                return(null);
            }

            IEnumerable enumerable = zoneData.GetAnnualZoneResult((int)tsdZoneArray) as IEnumerable;

            if (enumerable == null)
            {
                return(null);
            }

            List <T> result = new List <T>();

            foreach (object @object in enumerable)
            {
                if (@object == null)
                {
                    result.Add(default);