示例#1
0
        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;
        }
示例#2
0
        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 ? ":" : ""));
        }