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