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

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

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