/// <summary>
        /// Create the template output
        /// </summary>
        public virtual string TransformText()
        {
            this.Write("\r\n<div id=\"");

            #line 15 "D:\Github\SharpDox.Plugins.Chm\src\Templates\Sites\MemberTemplate.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(SDMember.Guid));

            #line default
            #line hidden
            this.Write("\" class=\"typesite\">\r\n\t<div id=\"header\">\r\n\t\t<h2 class=\"type-title\">");

            #line 17 "D:\Github\SharpDox.Plugins.Chm\src\Templates\Sites\MemberTemplate.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(SDMember.Name));

            #line default
            #line hidden
            this.Write("</h2>\r\n\t\t<span class=\"namespace-title\">");

            #line 18 "D:\Github\SharpDox.Plugins.Chm\src\Templates\Sites\MemberTemplate.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(SDMember.DeclaringType.Type.Namespace.Fullname));

            #line default
            #line hidden
            this.Write("</span>\r\n\t</div>\r\n\t<div id=\"subheader\">\r\n\t\t<a href=\"");

            #line 21 "D:\Github\SharpDox.Plugins.Chm\src\Templates\Sites\MemberTemplate.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(StepInput.SDProject.ProjectName.Replace(" ", "")));

            #line default
            #line hidden
            this.Write("-Index.html\">Start</a> > <a href=\"");

            #line 21 "D:\Github\SharpDox.Plugins.Chm\src\Templates\Sites\MemberTemplate.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(SDMember.DeclaringType.Type.Namespace.Guid));

            #line default
            #line hidden
            this.Write(".html\">");

            #line 21 "D:\Github\SharpDox.Plugins.Chm\src\Templates\Sites\MemberTemplate.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(SDMember.DeclaringType.Type.Fullname));

            #line default
            #line hidden
            this.Write("</a> > <a href=\"");

            #line 21 "D:\Github\SharpDox.Plugins.Chm\src\Templates\Sites\MemberTemplate.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(SDMember.DeclaringType.Type.Guid));

            #line default
            #line hidden
            this.Write(".html\">");

            #line 21 "D:\Github\SharpDox.Plugins.Chm\src\Templates\Sites\MemberTemplate.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(SDMember.DeclaringType.Type.Name));

            #line default
            #line hidden
            this.Write(" > <a href=\"");

            #line 21 "D:\Github\SharpDox.Plugins.Chm\src\Templates\Sites\MemberTemplate.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(SDMember.Guid));

            #line default
            #line hidden
            this.Write(".html\">");

            #line 21 "D:\Github\SharpDox.Plugins.Chm\src\Templates\Sites\MemberTemplate.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(SDMember.Name));

            #line default
            #line hidden
            this.Write("</a>\r\n\t</div>\r\n\r\n\t<div id=\"content\">\r\n\t\t<h3 class=\"box-title\">");

            #line 25 "D:\Github\SharpDox.Plugins.Chm\src\Templates\Sites\MemberTemplate.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(StepInput.DocStrings.Syntax));

            #line default
            #line hidden
            this.Write("</h3>\r\n\t\t<div class=\"syntax-box\">\r\n\t\t\t");

            #line 27 "D:\Github\SharpDox.Plugins.Chm\src\Templates\Sites\MemberTemplate.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(WebUtility.HtmlEncode(SDMember.Syntax)));

            #line default
            #line hidden
            this.Write("\r\n\t\t</div>\r\n        \r\n\t\t");

            #line 30 "D:\Github\SharpDox.Plugins.Chm\src\Templates\Sites\MemberTemplate.tt"
            if (SDMember.Documentations.Count > 0)
            {
            #line default
            #line hidden
                this.Write("\r\n\t\t\t");

            #line 32 "D:\Github\SharpDox.Plugins.Chm\src\Templates\Sites\MemberTemplate.tt"
                var documentation = SDMember.Documentations.GetElementOrDefault(StepInput.CurrentLanguage);
                if (documentation.Summary.Count > 0)
                {
            #line default
            #line hidden
                    this.Write("\t\t\t\t<h3 class=\"box-title\">");

            #line 34 "D:\Github\SharpDox.Plugins.Chm\src\Templates\Sites\MemberTemplate.tt"
                    this.Write(this.ToStringHelper.ToStringWithCulture(StepInput.DocStrings.Summary));

            #line default
            #line hidden
                    this.Write("</h3>\r\n\t\t\t\t<div class=\"doc-box markdown\">\r\n\t\t\t\t\t");

            #line 36 "D:\Github\SharpDox.Plugins.Chm\src\Templates\Sites\MemberTemplate.tt"
                    this.Write(this.ToStringHelper.ToStringWithCulture(new Markdown().Transform(documentation.Summary.ToMarkdown(StepInput.SDProject.Tokens).Transform(Helper.TransformLinkToken))));

            #line default
            #line hidden
                    this.Write("\r\n\t\t\t\t</div>\r\n\t\t\t");

            #line 38 "D:\Github\SharpDox.Plugins.Chm\src\Templates\Sites\MemberTemplate.tt"
                }

            #line default
            #line hidden
                this.Write("\r\n\t\t\t");

            #line 40 "D:\Github\SharpDox.Plugins.Chm\src\Templates\Sites\MemberTemplate.tt"
                if (documentation.Remarks.Count > 0)
                {
            #line default
            #line hidden
                    this.Write("\t\t\t\t<h3 class=\"box-title\">");

            #line 41 "D:\Github\SharpDox.Plugins.Chm\src\Templates\Sites\MemberTemplate.tt"
                    this.Write(this.ToStringHelper.ToStringWithCulture(StepInput.DocStrings.Remarks));

            #line default
            #line hidden
                    this.Write("</h3>\r\n\t\t\t\t<div class=\"doc-box markdown\">\r\n\t\t\t\t\t");

            #line 43 "D:\Github\SharpDox.Plugins.Chm\src\Templates\Sites\MemberTemplate.tt"
                    this.Write(this.ToStringHelper.ToStringWithCulture(new Markdown().Transform(documentation.Remarks.ToMarkdown(StepInput.SDProject.Tokens).Transform(Helper.TransformLinkToken))));

            #line default
            #line hidden
                    this.Write("\r\n\t\t\t\t</div>\r\n\t\t\t");

            #line 45 "D:\Github\SharpDox.Plugins.Chm\src\Templates\Sites\MemberTemplate.tt"
                }

            #line default
            #line hidden
                this.Write("\r\n\t\t\t");

            #line 47 "D:\Github\SharpDox.Plugins.Chm\src\Templates\Sites\MemberTemplate.tt"
                if (documentation.Example.Count > 0)
                {
            #line default
            #line hidden
                    this.Write("\t\t\t\t<h3 class=\"box-title\">");

            #line 48 "D:\Github\SharpDox.Plugins.Chm\src\Templates\Sites\MemberTemplate.tt"
                    this.Write(this.ToStringHelper.ToStringWithCulture(StepInput.DocStrings.Example));

            #line default
            #line hidden
                    this.Write("</h3>\r\n\t\t\t\t<div class=\"doc-box markdown\">\r\n\t\t\t\t\t");

            #line 50 "D:\Github\SharpDox.Plugins.Chm\src\Templates\Sites\MemberTemplate.tt"
                    this.Write(this.ToStringHelper.ToStringWithCulture(new Markdown().Transform(documentation.Example.ToMarkdown(StepInput.SDProject.Tokens).Transform(Helper.TransformLinkToken))));

            #line default
            #line hidden
                    this.Write("\r\n\t\t\t\t</div>\r\n\t\t\t");

            #line 52 "D:\Github\SharpDox.Plugins.Chm\src\Templates\Sites\MemberTemplate.tt"
                }

            #line default
            #line hidden
                this.Write("\r\n\t\t\t");

            #line 54 "D:\Github\SharpDox.Plugins.Chm\src\Templates\Sites\MemberTemplate.tt"
                if (documentation.Returns.ContainsKey("default"))
                {
            #line default
            #line hidden
                    this.Write("\t\t\t\t<h3 class=\"box-title\">");

            #line 55 "D:\Github\SharpDox.Plugins.Chm\src\Templates\Sites\MemberTemplate.tt"
                    this.Write(this.ToStringHelper.ToStringWithCulture(StepInput.DocStrings.Returns));

            #line default
            #line hidden
                    this.Write("</h3>\r\n\t\t\t\t<div class=\"doc-box markdown\">\r\n\t\t\t\t\t");

            #line 57 "D:\Github\SharpDox.Plugins.Chm\src\Templates\Sites\MemberTemplate.tt"
                    this.Write(this.ToStringHelper.ToStringWithCulture(new Markdown().Transform(documentation.Returns["default"].ToMarkdown(StepInput.SDProject.Tokens).Transform(Helper.TransformLinkToken))));

            #line default
            #line hidden
                    this.Write("\r\n\t\t\t\t</div>\r\n\t\t\t");

            #line 59 "D:\Github\SharpDox.Plugins.Chm\src\Templates\Sites\MemberTemplate.tt"
                }

            #line default
            #line hidden
                this.Write("\r\n\t\t\t");

            #line 61 "D:\Github\SharpDox.Plugins.Chm\src\Templates\Sites\MemberTemplate.tt"
                if (documentation.Exceptions.Count > 0)
                {
            #line default
            #line hidden
                    this.Write("\t\t\t\t<h3 class=\"box-title\">");

            #line 62 "D:\Github\SharpDox.Plugins.Chm\src\Templates\Sites\MemberTemplate.tt"
                    this.Write(this.ToStringHelper.ToStringWithCulture(StepInput.DocStrings.Exceptions));

            #line default
            #line hidden
                    this.Write("</h3>\r\n\t\t\t\t<div class=\"doc-box markdown\">\r\n\t\t\t\t\t");

            #line 64 "D:\Github\SharpDox.Plugins.Chm\src\Templates\Sites\MemberTemplate.tt"
                    foreach (var exception in documentation.Exceptions)
                    {
            #line default
            #line hidden
                        this.Write("\t\t\t\t\t\t<p>");

            #line 65 "D:\Github\SharpDox.Plugins.Chm\src\Templates\Sites\MemberTemplate.tt"
                        this.Write(this.ToStringHelper.ToStringWithCulture(exception.Key));

            #line default
            #line hidden
                        this.Write("</p>\r\n\t\t\t\t\t\t<div class=\"inline\">\r\n\t\t\t\t\t\t\t");

            #line 67 "D:\Github\SharpDox.Plugins.Chm\src\Templates\Sites\MemberTemplate.tt"
                        this.Write(this.ToStringHelper.ToStringWithCulture(new Markdown().Transform(exception.Value.ToMarkdown(StepInput.SDProject.Tokens).Transform(Helper.TransformLinkToken))));

            #line default
            #line hidden
                        this.Write("\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t");

            #line 69 "D:\Github\SharpDox.Plugins.Chm\src\Templates\Sites\MemberTemplate.tt"
                    }

            #line default
            #line hidden
                    this.Write("\t\t\t\t</div>\r\n\t\t\t");

            #line 71 "D:\Github\SharpDox.Plugins.Chm\src\Templates\Sites\MemberTemplate.tt"
                }

            #line default
            #line hidden
                this.Write("\r\n\t\t\t");

            #line 73 "D:\Github\SharpDox.Plugins.Chm\src\Templates\Sites\MemberTemplate.tt"
                if (documentation.Params.Count > 0)
                {
            #line default
            #line hidden
                    this.Write("\t\t\t\t<h3 class=\"box-title\">");

            #line 74 "D:\Github\SharpDox.Plugins.Chm\src\Templates\Sites\MemberTemplate.tt"
                    this.Write(this.ToStringHelper.ToStringWithCulture(StepInput.DocStrings.Parameters));

            #line default
            #line hidden
                    this.Write("</h3>\r\n\t\t\t\t<div class=\"doc-box markdown\">\r\n\t\t\t\t\t");

            #line 76 "D:\Github\SharpDox.Plugins.Chm\src\Templates\Sites\MemberTemplate.tt"
                    foreach (var parameter in documentation.Params)
                    {
            #line default
            #line hidden
                        this.Write("\t\t\t\t\t\t<p>");

            #line 77 "D:\Github\SharpDox.Plugins.Chm\src\Templates\Sites\MemberTemplate.tt"
                        this.Write(this.ToStringHelper.ToStringWithCulture(parameter.Key));

            #line default
            #line hidden
                        this.Write("</p>\r\n\t\t\t\t\t\t<div class=\"inline\">\r\n\t\t\t\t\t\t\t");

            #line 79 "D:\Github\SharpDox.Plugins.Chm\src\Templates\Sites\MemberTemplate.tt"
                        this.Write(this.ToStringHelper.ToStringWithCulture(new Markdown().Transform(parameter.Value.ToMarkdown(StepInput.SDProject.Tokens).Transform(Helper.TransformLinkToken))));

            #line default
            #line hidden
                        this.Write("\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t");

            #line 81 "D:\Github\SharpDox.Plugins.Chm\src\Templates\Sites\MemberTemplate.tt"
                    }

            #line default
            #line hidden
                    this.Write("\t\t\t\t</div>\r\n\t\t\t");

            #line 83 "D:\Github\SharpDox.Plugins.Chm\src\Templates\Sites\MemberTemplate.tt"
                }

            #line default
            #line hidden
                this.Write("\r\n\t\t\t");

            #line 85 "D:\Github\SharpDox.Plugins.Chm\src\Templates\Sites\MemberTemplate.tt"
                if (documentation.TypeParams.Count > 0)
                {
            #line default
            #line hidden
                    this.Write("\t\t\t\t<h3 class=\"box-title\">");

            #line 86 "D:\Github\SharpDox.Plugins.Chm\src\Templates\Sites\MemberTemplate.tt"
                    this.Write(this.ToStringHelper.ToStringWithCulture(StepInput.DocStrings.TypeParameters));

            #line default
            #line hidden
                    this.Write("</h3>\r\n\t\t\t\t<div class=\"doc-box markdown\">\r\n\t\t\t\t\t");

            #line 88 "D:\Github\SharpDox.Plugins.Chm\src\Templates\Sites\MemberTemplate.tt"
                    foreach (var typeParameter in documentation.TypeParams)
                    {
            #line default
            #line hidden
                        this.Write("\t\t\t\t\t\t<p>");

            #line 89 "D:\Github\SharpDox.Plugins.Chm\src\Templates\Sites\MemberTemplate.tt"
                        this.Write(this.ToStringHelper.ToStringWithCulture(typeParameter.Key));

            #line default
            #line hidden
                        this.Write("</p>\r\n\t\t\t\t\t\t<div class=\"inline\">\r\n\t\t\t\t\t\t\t");

            #line 91 "D:\Github\SharpDox.Plugins.Chm\src\Templates\Sites\MemberTemplate.tt"
                        this.Write(this.ToStringHelper.ToStringWithCulture(new Markdown().Transform(typeParameter.Value.ToMarkdown(StepInput.SDProject.Tokens).Transform(Helper.TransformLinkToken))));

            #line default
            #line hidden
                        this.Write("\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t");

            #line 93 "D:\Github\SharpDox.Plugins.Chm\src\Templates\Sites\MemberTemplate.tt"
                    }

            #line default
            #line hidden
                    this.Write("\t\t\t\t</div>\r\n\t\t\t");

            #line 95 "D:\Github\SharpDox.Plugins.Chm\src\Templates\Sites\MemberTemplate.tt"
                }

            #line default
            #line hidden
                this.Write("\r\n\t\t\t");

            #line 97 "D:\Github\SharpDox.Plugins.Chm\src\Templates\Sites\MemberTemplate.tt"
                if (documentation.SeeAlsos.Count > 0)
                {
            #line default
            #line hidden
                    this.Write("\t\t\t\t<h3 class=\"box-title\">");

            #line 98 "D:\Github\SharpDox.Plugins.Chm\src\Templates\Sites\MemberTemplate.tt"
                    this.Write(this.ToStringHelper.ToStringWithCulture(StepInput.DocStrings.SeeAlso));

            #line default
            #line hidden
                    this.Write("</h3>\r\n\t\t\t\t<div class=\"list-box\">\r\n\t\t\t\t\t<ul>\r\n\t\t\t\t\t");

            #line 101 "D:\Github\SharpDox.Plugins.Chm\src\Templates\Sites\MemberTemplate.tt"
                    foreach (var sdToken in documentation.SeeAlsos)
                    {
                        var seeAlso = (SDSeeToken)sdToken;
                        if (!string.IsNullOrEmpty(seeAlso.DeclaringType))
                        {
                            var identifier = string.Format("{0}.{1}", seeAlso.DeclaringType, seeAlso.Name);
                            var sdMember   = SDRepository.GetMemberByIdentifier(identifier);
                            if (sdMember != null)
                            {
            #line default
            #line hidden
                                this.Write(" <li><a href=\"../type/");

            #line 110 "D:\Github\SharpDox.Plugins.Chm\src\Templates\Sites\MemberTemplate.tt"
                                this.Write(this.ToStringHelper.ToStringWithCulture(sdMember.DeclaringType.Type.Guid));

            #line default
            #line hidden
                                this.Write(".html#");

            #line 110 "D:\Github\SharpDox.Plugins.Chm\src\Templates\Sites\MemberTemplate.tt"
                                this.Write(this.ToStringHelper.ToStringWithCulture(sdMember.Guid));

            #line default
            #line hidden
                                this.Write("\">");

            #line 110 "D:\Github\SharpDox.Plugins.Chm\src\Templates\Sites\MemberTemplate.tt"
                                this.Write(this.ToStringHelper.ToStringWithCulture(sdMember.Name));

            #line default
            #line hidden
                                this.Write("</a></li> ");

            #line 110 "D:\Github\SharpDox.Plugins.Chm\src\Templates\Sites\MemberTemplate.tt"
                            }
                        }
                        else
                        {
                            var identifier = string.Format("{0}.{1}", seeAlso.Namespace, seeAlso.Name);
                            var sdType     = SDRepository.GetTypeByIdentifier(identifier);
                            if (sdType != null)
                            {
            #line default
            #line hidden
                                this.Write(" <li><a href=\"../type/");

            #line 119 "D:\Github\SharpDox.Plugins.Chm\src\Templates\Sites\MemberTemplate.tt"
                                this.Write(this.ToStringHelper.ToStringWithCulture(sdType.Guid));

            #line default
            #line hidden
                                this.Write(".html\">");

            #line 119 "D:\Github\SharpDox.Plugins.Chm\src\Templates\Sites\MemberTemplate.tt"
                                this.Write(this.ToStringHelper.ToStringWithCulture(sdType.Fullname));

            #line default
            #line hidden
                                this.Write("</a></li> ");

            #line 119 "D:\Github\SharpDox.Plugins.Chm\src\Templates\Sites\MemberTemplate.tt"
                            }
                        }
                    }

            #line default
            #line hidden
                    this.Write("\t\t\t\t\t</ul>\r\n\t\t\t\t</div>\r\n\t\t\t");

            #line 125 "D:\Github\SharpDox.Plugins.Chm\src\Templates\Sites\MemberTemplate.tt"
                }

            #line default
            #line hidden
                this.Write("\r\n\t\t");

            #line 127 "D:\Github\SharpDox.Plugins.Chm\src\Templates\Sites\MemberTemplate.tt"
            }

            #line default
            #line hidden
            this.Write("\r\n\t\t");

            #line 129 "D:\Github\SharpDox.Plugins.Chm\src\Templates\Sites\MemberTemplate.tt"
            if (SDMember is SDMethod && !((SDMethod)SDMember).IsSequenceDiagramEmpty())
            {
                ((SDMethod)SDMember).GetSequenceDiagram(SDRepository).ToPng(Path.Combine(StepInput.TmpPath, "diagrams", SDMember.Guid + ".png"));

            #line default
            #line hidden
                this.Write("\r\n\t\t\t<div class=\"diagram-box\">\r\n\t\t\t\t<img class=\"diagram-image\" src=\"diagrams/");

            #line 133 "D:\Github\SharpDox.Plugins.Chm\src\Templates\Sites\MemberTemplate.tt"
                this.Write(this.ToStringHelper.ToStringWithCulture(SDMember.Guid));

            #line default
            #line hidden
                this.Write(".png\"/>\r\n\t\t\t</div>\r\n\r\n\t\t");

            #line 136 "D:\Github\SharpDox.Plugins.Chm\src\Templates\Sites\MemberTemplate.tt"
            }

            #line default
            #line hidden
            this.Write("\t</div>\r\n</div>\r\n\r\n");
            return(this.GenerationEnvironment.ToString());
        }