Пример #1
0
            public static Site[] FromTSObject(dynamic[] tsArray)
            {
                if (tsArray is null)
                {
                    return(null);
                }
                var list = new System.Collections.Generic.List <Site>();

                foreach (var tsItem in tsArray)
                {
                    list.Add(Site_.FromTSObject(tsItem));
                }
                return(list.ToArray());
            }
Пример #2
0
            public static dynamic GetTSObject(Site[] dynArray)
            {
                if (dynArray is null)
                {
                    return(null);
                }
                var list = new System.Collections.Generic.List <dynamic>();

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