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

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

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