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