public override void WriteBundle(PackageHeader header, string bundle_id) { if (ListOptions.BundleInfo.Count == 0) { return; } this.Output.AppendLine(); for (int i = 0; i < this.ListOptions.BundleInfo.Count; i++) { ListBundleOption opt = this.ListOptions.BundleInfo[i]; this.Output.Append((i == 0 ? "" : ",") + "\"" + opt.StringFunc(Parent, header, bundle_id) + "\""); } this.WriteEmptyBundleColumns = false; }
public virtual void WriteBundle(PackageHeader header, string bundle_id) { if (ListOptions.BundleInfo.Count == 0) { return; } this.Output.AppendLine(); for (int i = 0; i < this.ListOptions.BundleInfo.Count; i++) { ListBundleOption opt = this.ListOptions.BundleInfo[i]; this.Output.Append((i == 0 ? "" : " - ") + opt.StringFunc(Parent, header, bundle_id)); } this.Output.AppendLine((this.ListOptions.EntryInfo.Count > 0 ? ":" : "")); }