C# Класс SobekCM.Library.AggregationViewer.Viewers.abstractAggregationViewer

Abstract class which all collection viewer classes extend
This class implements the iAggregationViewer interface.

Collection viewers are used when displaying collection home pages, searches, browses, and information pages.

During a valid html request, the following steps occur:
  • Application state is built/verified by the Application_State.Application_State_Builder
  • Request is analyzed by the Navigation.SobekCM_QueryString_Analyzer and output as a SobekCM_Navigation_Object
  • Main writer is created for rendering the output, in his case the Html_MainWriter
  • The HTML writer will create the necessary subwriter. For a collection-level request, an instance of the Aggregation_HtmlSubwriter class is created.
  • To display the requested collection view, the collection subwriter will create one or more collection viewers ( implementing this class )
Наследование: iAggregationViewer
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
RequestSpecificValues RequestCache
ViewBag AggregationViewBag
emptybehaviors List

Открытые методы

Метод Описание
Add_Search_Box_HTML ( TextWriter Output, Custom_Tracer Tracer ) : void

Add the HTML to be displayed in the search box

Add_Secondary_Controls ( System.Web.UI.WebControls.PlaceHolder MainPlaceHolder, Custom_Tracer Tracer ) : void

Add the HTML and controls to the section below the search box

No controls are added here, although some children class override this virtual method to add controls

Add_Secondary_HTML ( TextWriter Output, Custom_Tracer Tracer ) : void

Add the HTML to be displayed below the search box

No html is added here, although some children class override this virtual method to add HTML

Защищенные методы

Метод Описание
Add_Simple_Search_Tips ( TextWriter Output, Custom_Tracer Tracer ) : void

Writes the simple search tips out to the HTTP text writer

abstractAggregationViewer ( RequestCache RequestSpecificValues, AggregationViewBag ViewBag ) : System.Collections.Generic

Constructor for objects which implement this abstract class

Описание методов

Add_Search_Box_HTML() публичный абстрактный Метод

Add the HTML to be displayed in the search box
public abstract Add_Search_Box_HTML ( TextWriter Output, Custom_Tracer Tracer ) : void
Output System.IO.TextWriter Textwriter to write the HTML for this viewer
Tracer Custom_Tracer Trace object keeps a list of each method executed and important milestones in rendering
Результат void

Add_Secondary_Controls() публичный Метод

Add the HTML and controls to the section below the search box
No controls are added here, although some children class override this virtual method to add controls
public Add_Secondary_Controls ( System.Web.UI.WebControls.PlaceHolder MainPlaceHolder, Custom_Tracer Tracer ) : void
MainPlaceHolder System.Web.UI.WebControls.PlaceHolder Place holder to add html and controls to
Tracer Custom_Tracer Trace object keeps a list of each method executed and important milestones in rendering
Результат void

Add_Secondary_HTML() публичный Метод

Add the HTML to be displayed below the search box
No html is added here, although some children class override this virtual method to add HTML
public Add_Secondary_HTML ( TextWriter Output, Custom_Tracer Tracer ) : void
Output System.IO.TextWriter Textwriter to write the HTML for this viewer
Tracer Custom_Tracer Trace object keeps a list of each method executed and important milestones in rendering
Результат void

Add_Simple_Search_Tips() защищенный Метод

Writes the simple search tips out to the HTTP text writer
protected Add_Simple_Search_Tips ( TextWriter Output, Custom_Tracer Tracer ) : void
Output System.IO.TextWriter TextWriter writes to the HTTP Response stream
Tracer Custom_Tracer Trace object keeps a list of each method executed and important milestones in rendering
Результат void

abstractAggregationViewer() защищенный Метод

Constructor for objects which implement this abstract class
protected abstractAggregationViewer ( RequestCache RequestSpecificValues, AggregationViewBag ViewBag ) : System.Collections.Generic
RequestSpecificValues RequestCache All the necessary, non-global data specific to the current request
ViewBag AggregationViewBag Aggregation-specific request information, such as aggregation object and any browse object requested
Результат System.Collections.Generic

Описание свойств

RequestSpecificValues защищенное свойство

Protected field contains the information specific to the current request
protected RequestCache RequestSpecificValues
Результат RequestCache

ViewBag защищенное свойство

Protected field contains the aggregation-specific request information
protected AggregationViewBag ViewBag
Результат AggregationViewBag

emptybehaviors защищенное статическое свойство

Empty list of behaviors, returned by default
This just prevents an empty set from having to be created over and over
protected static List emptybehaviors
Результат List