Example #1
0
    private void AddHeadings(ILookup <PluginDescriptor, ProjectDescriptor> lookup)
    {
        var linkToTop = new LinkToTop();

        Add(linkToTop);
        var stats = new Stats(lookup.Count);

        Add(stats);
    }
Example #2
0
    public PluginEntry WithHeadings(string parentSectionId)
    {
        var linkToTop = new LinkToTop();

        Add(linkToTop);
        var linkToSection = new LinkToSection(parentSectionId);

        Add(linkToSection);
        return(this);
    }