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