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

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

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