コード例 #1
0
        //================================
        // Override Methods
        //================================
        public override string ToString()
        {
            var builder = new InformationBuilder();

            builder.AppendLine("[Sources]");
            foreach (var s in this.SourceTable)
            {
                builder.Append(s);
            }

            builder.AppendLine("[Moduleds]");
            foreach (var m in this.ModuleTable)
            {
                builder.Append(m);
            }

            builder.AppendLine("[Documents]");
            foreach (var d in this.DocumentTable)
            {
                builder.Append(d);
            }

            return(builder.ToString());
        }
コード例 #2
0
ファイル: Content.cs プロジェクト: Maynek/Notesvel
 protected void AppendMyInformation(InformationBuilder builder)
 {
     builder.AppendLine("*" + this.GetType().Name + "(" + this.Id + ") Index=" + this.Index.ToString());
     builder.AppendIndentedLine("Label=" + this.Label);
     builder.AppendIndentedLine("Name=" + this.Name);
 }
コード例 #3
0
ファイル: Element.cs プロジェクト: Maynek/Notesvel
 public virtual void AppendInformation(InformationBuilder builder)
 {
     builder.AppendLine("*" + this.GetType().Name + "(" + this.Id + ")");
     builder.AppendIndentedLine("Name=" + this.Name);
 }