Esempio n. 1
0
        public InformationBuilder CreateChild()
        {
            var builder = new InformationBuilder();

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

            this.AppendInformation(builder);

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