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