public virtual SinglePubInfo[] GetPubInfos() { if (pubInfos == null) return null; SinglePubInfo[] results = new SinglePubInfo[pubInfos.Count]; for (int i = 0; i != results.Length; ++i) { results[i] = SinglePubInfo.GetInstance(pubInfos[i]); } return results; }
public virtual SinglePubInfo[] GetPubInfos() { if (pubInfos == null) { return(null); } SinglePubInfo[] results = new SinglePubInfo[pubInfos.Count]; for (int i = 0; i != results.Length; ++i) { results[i] = SinglePubInfo.GetInstance(pubInfos[i]); } return(results); }