StorytellerDocGen.Commands.CommandSectionTag.CommandSectionTag C# (CSharp) Method

CommandSectionTag() public method

public CommandSectionTag ( string applicationName, CommandReport report ) : Oakton.Reporting
applicationName string
report CommandReport
return Oakton.Reporting
        public CommandSectionTag(string applicationName, CommandReport report)
            : base("section")
        {
            AddClass("command-section");
            var h4 = Add("h4");

            h4.Add("span")
                .Text(applicationName + " " + report.Name)
                .AddClass("section-header")
                .Id(report.Name);

            h4.Add("i").AddClass("command-description").Text(report.Description);
        }
    }
CommandSectionTag