示例#1
0
        public InformationBuilder CreateChild()
        {
            var builder = new InformationBuilder();

            builder.Level = this.Level + 1;
            this.Informations.Add(builder);
            return(builder);
        }
示例#2
0
        //================================
        // Override Methods
        //================================
        public override string ToString()
        {
            var builder = new InformationBuilder();

            this.AppendInformation(builder);

            return(builder.ToString());
        }
示例#3
0
 public override void AppendInformation(InformationBuilder builder)
 {
     base.AppendMyInformation(builder);
     builder.AppendIndentedLine("Directory=" + this.Directory);
     base.AppendChildInformation(builder);
 }
示例#4
0
 //================================
 // Override Methods
 //================================
 public override void AppendInformation(InformationBuilder builder)
 {
     base.AppendInformation(builder);
     builder.AppendIndentedLine("BaseId=" + this.BaseId);
 }