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