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

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

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