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

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

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