public static ICommonTasks[] FromTSObject(dynamic[] tsArray) { if (tsArray is null) { return(null); } var list = new System.Collections.Generic.List <ICommonTasks>(); foreach (var tsItem in tsArray) { list.Add(ICommonTasks_.FromTSObject(tsItem)); } return(list.ToArray()); }
public static dynamic GetTSObject(ICommonTasks[] dynArray) { if (dynArray is null) { return(null); } var list = new System.Collections.Generic.List <dynamic>(); foreach (var dynItem in dynArray) { list.Add(ICommonTasks_.GetTSObject(dynItem)); } return(list.ToArray()); }