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

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

            foreach (var tsItem in tsArray)
            {
                list.Add(Fitting_.FromTSObject(tsItem));
            }
            return(list.ToArray());
        }