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

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

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