C# Class SobekCM.Library.WebContentViewer.Viewers.abstractWebContentViewer

Abstract class which all specialized web content viewers must extend
This implements the iWebContentViewer interface.
Inheritance: iWebContentViewer
ファイルを表示 Open project: MarkVSullivan/SobekCM-Web-Application Class Usage Examples

Protected Properties

Property Type Description
RequestSpecificValues RequestCache
StaticPage SobekCM.Core.WebContent.HTML_Based_Content

Public Methods

Method Description
Add_HTML ( TextWriter Output, Custom_Tracer Tracer ) : void

Add the HTML to be displayed

No html is added here, although children classes should override this virtual method to add HTML

Protected Methods

Method Description
abstractWebContentViewer ( RequestCache RequestSpecificValues, HTML_Based_Content StaticPage ) : System.IO

Constructor for objects which implement this abstract class

Method Details

Add_HTML() public method

Add the HTML to be displayed
No html is added here, although children classes should override this virtual method to add HTML
public Add_HTML ( TextWriter Output, Custom_Tracer Tracer ) : void
Output System.IO.TextWriter Textwriter to write the HTML for this viewer
Tracer SobekCM.Tools.Custom_Tracer Trace object keeps a list of each method executed and important milestones in rendering
return void

abstractWebContentViewer() protected method

Constructor for objects which implement this abstract class
protected abstractWebContentViewer ( RequestCache RequestSpecificValues, HTML_Based_Content StaticPage ) : System.IO
RequestSpecificValues RequestCache All the necessary, non-global data specific to the current request
StaticPage SobekCM.Core.WebContent.HTML_Based_Content Static page info for this request
return System.IO

Property Details

RequestSpecificValues protected_oe property

Protected field contains the information specific to the current request
protected RequestCache RequestSpecificValues
return RequestCache

StaticPage protected_oe property

Protcted field contains the static web page information for the current request
protected HTML_Based_Content,SobekCM.Core.WebContent StaticPage
return SobekCM.Core.WebContent.HTML_Based_Content