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

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

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