public InformationBuilder CreateChild() { var builder = new InformationBuilder(); builder.Level = this.Level + 1; this.Informations.Add(builder); return(builder); }
//================================ // Override Methods //================================ public override string ToString() { var builder = new InformationBuilder(); this.AppendInformation(builder); return(builder.ToString()); }
public override void AppendInformation(InformationBuilder builder) { base.AppendMyInformation(builder); builder.AppendIndentedLine("Directory=" + this.Directory); base.AppendChildInformation(builder); }
//================================ // Override Methods //================================ public override void AppendInformation(InformationBuilder builder) { base.AppendInformation(builder); builder.AppendIndentedLine("BaseId=" + this.BaseId); }