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