Example #1
0
        protected string AddExample(string typed, string output)
        {
            string idea = "<p><pre>" + Htmlize.NoEnts(typed) + "</pre><br>Returns<br><pre>" + Htmlize.NoEnts(output) +
                          "</pre></p>";

            Details = idea;
            return(idea);
        }
Example #2
0
        protected string AddUsage(string example, string comment)
        {
            if (!example.ToLower().Contains(Name.ToLower()))
            {
                example = Name + " " + example;
            }
            string idea = "<p>" + Htmlize.NoEnts(example) + "  <i>" + Htmlize.NoEnts(comment) + "</i></p>";

            Details = idea;
            return(idea);
        }