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