SobekCM.Library.HTML.Item_HtmlSubwriter.Write_Final_HTML C# (CSharp) 메소드

Write_Final_HTML() 공개 메소드

Spot to write any final HTML to the response stream
public Write_Final_HTML ( TextWriter Output, Custom_Tracer Tracer ) : void
Output System.IO.TextWriter Stream to which to write the HTML for this subwriter
Tracer SobekCM.Tools.Custom_Tracer Trace object keeps a list of each method executed and important milestones in rendering
리턴 void
        public override void Write_Final_HTML(TextWriter Output, Custom_Tracer Tracer )
        {
            Tracer.Add_Trace("Item_HtmlSubwriter.Write_Final_Html", "Add reference to draggable jquery ui");
            if (!behaviors.Contains(HtmlSubwriter_Behaviors_Enum.Item_Subwriter_Full_JQuery_UI))
            {
                Output.WriteLine("<script type=\"text/javascript\" src=\"" + Static_Resources_Gateway.Jquery_Ui_1_10_3_Draggable_Js + "\"></script>");
            }

            // Close the item scope div
            Output.WriteLine("<!-- Close microdata itemscope div -->");
            Output.WriteLine("</section>");
            Output.WriteLine();
        }