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