Ejemplo n.º 1
0
        public override string GetText(string id)
        {
            Node n = id == "root:" ? Tree.RootNode : MatchNode(EcmaspecPrefix + id.Substring(0, id.Length - TocPart.Length));

            if (n == null)
            {
                throw new ArgumentException("id", string.Format("{0} -> {1}", id, EcmaspecPrefix + id.Substring(0, id.Length - TocPart.Length)));
            }
            return(TreeDumper.ExportToTocXml(n, "C# Language Specification", "In this section:"));
        }
Ejemplo n.º 2
0
 public override string GetText(string id)
 {
     return(TreeDumper.ExportToTocXml(Tree.RootNode, "Compiler Error Reference", "In this section:"));
 }
Ejemplo n.º 3
0
 public override string GetText(string url)
 {
     return(TreeDumper.ExportToTocXml(Tree.RootNode, "Mono Documentation Library", "Available man pages:"));
 }
Ejemplo n.º 4
0
 public override string GetText(string url)
 {
     return(TreeDumper.ExportToTocXml(Tree.RootNode, "Mono Handbook", string.Empty));
 }