示例#1
0
        /// <summary>
        /// Create a collection of target objects from a collection of source strings
        /// </summary>
        /// <param name="sourceList"></param>
        /// <returns></returns>
        public static List <TTarget> CreateTargetList(IList <string> sourceList)
        {
            var map = new CsvAutoMap <TTarget>();

            return(map.CreateList(sourceList));
        }