C# Class SobekCM.Library.ItemViewer.Viewers.Dataset_CodeBook_ItemViewer

Dataset viewer is used to dispay codebook information present in the XSD accompanying a XML dataset
This class extends the abstract class abstractItemViewer and implements the iItemViewer interface.
Inheritance: SobekCM.Library.ItemViewer.Viewers.abstractItemViewer
Show file Open project: MarkVSullivan/SobekCM-Web-Application

Public Methods

Method Description
Dataset_CodeBook_ItemViewer ( ) : System

Constructor for a new instance of the Dataset_CodeBook_ItemViewer class

Perform_PreDisplay_Work ( Custom_Tracer Tracer ) : void

This provides an opportunity for the viewer to perform any pre-display work which is necessary before entering any of the rendering portions

This ensures the dataset has been read into memory/cache for rendering

Write_Main_Viewer_Section ( TextWriter Output, Custom_Tracer Tracer ) : void

Gets the collection of special behaviors which this item viewer requests from the main HTML subwriter.

Stream to which to write the HTML for this subwriter

Method Details

Dataset_CodeBook_ItemViewer() public method

Constructor for a new instance of the Dataset_CodeBook_ItemViewer class
public Dataset_CodeBook_ItemViewer ( ) : System
return System

Perform_PreDisplay_Work() public method

This provides an opportunity for the viewer to perform any pre-display work which is necessary before entering any of the rendering portions
This ensures the dataset has been read into memory/cache for rendering
public Perform_PreDisplay_Work ( Custom_Tracer Tracer ) : void
Tracer SobekCM.Tools.Custom_Tracer Trace object keeps a list of each method executed and important milestones in rendering
return void

Write_Main_Viewer_Section() public method

Gets the collection of special behaviors which this item viewer requests from the main HTML subwriter. Stream to which to write the HTML for this subwriter
public Write_Main_Viewer_Section ( TextWriter Output, Custom_Tracer Tracer ) : void
Output System.IO.TextWriter Response stream for the item viewer to write directly to
Tracer SobekCM.Tools.Custom_Tracer Trace object keeps a list of each method executed and important milestones in rendering
return void