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

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

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

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

        Add(linkToSection);
        return(this);
    }