コード例 #1
0
        public static IEnumerable <dynamic> ShapeData <T>(this IEnumerable <T> sources, string fileds)
        {
            var dataShaper = new DataShaper <T>(fileds);

            return(dataShaper.FetchData(sources));
        }
コード例 #2
0
        public static dynamic ShapeData <T>(this T source, string fileds)
        {
            var dataShaper = new DataShaper <T>(fileds);

            return(dataShaper.FetchData(source));
        }