コード例 #1
0
        public static GridSurface[] FromTSObject(dynamic[] tsArray)
        {
            if (tsArray is null)
            {
                return(null);
            }
            var list = new System.Collections.Generic.List <GridSurface>();

            foreach (var tsItem in tsArray)
            {
                list.Add(GridSurface_.FromTSObject(tsItem));
            }
            return(list.ToArray());
        }
コード例 #2
0
        public static dynamic GetTSObject(GridSurface[] dynArray)
        {
            if (dynArray is null)
            {
                return(null);
            }
            var list = new System.Collections.Generic.List <dynamic>();

            foreach (var dynItem in dynArray)
            {
                list.Add(GridSurface_.GetTSObject(dynItem));
            }
            return(list.ToArray());
        }