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