Esempio n. 1
0
        public virtual void WriteEntry(PackageFileEntry entry)
        {
            if (ListOptions.EntryInfo.Count == 0)
            {
                return;
            }

            this.Output.Append("\t");
            for (int i = 0; i < this.ListOptions.EntryInfo.Count; i++)
            {
                ListEntryOption opt = this.ListOptions.EntryInfo[i];
                this.Output.Append((i == 0 ? "" : " - ") + opt.StringFunc(Parent, entry));
            }
            this.Output.AppendLine();
        }
Esempio n. 2
0
        public override void WriteEntry(PackageFileEntry entry)
        {
            if (ListOptions.EntryInfo.Count == 0)
            {
                return;
            }

            if (this.WriteEmptyBundleColumns && this.ListOptions.BundleInfo.Count > 0)
            {
                for (int i = 0; i < this.ListOptions.BundleInfo.Count - 1; i++)
                {
                    this.Output.Append(",");
                }
            }

            for (int i = 0; i < this.ListOptions.EntryInfo.Count; i++)
            {
                ListEntryOption opt = this.ListOptions.EntryInfo[i];
                this.Output.Append((i == 0 && this.ListOptions.BundleInfo.Count == 0 ? "" : ",") + "\"" + opt.StringFunc(Parent, entry) + "\"");
            }
            this.Output.AppendLine();
            this.WriteEmptyBundleColumns = true;
        }