C# Class App_Code.Controls.CategoryList

Builds a category list.
Inheritance: System.Web.UI.Control
Datei anzeigen Open project: rasmuskl/ReSharperCourse

Private Properties

Property Type Description
BindCategories System.Web.UI.HtmlControls.HtmlGenericControl
CategoryList System
HasPosts bool
SortCategories Guid>.SortedDictionary

Public Methods

Method Description
RenderControl ( System.Web.UI.HtmlTextWriter writer ) : void

Outputs server control content to a provided T:System.Web.UI.HtmlTextWriter object and stores tracing information about the control if tracing is enabled.

Private Methods

Method Description
BindCategories ( ) : System.Web.UI.HtmlControls.HtmlGenericControl

Binds the categories.

CategoryList ( ) : System

Initializes static members of the CategoryList class.

HasPosts ( Category cat ) : bool

Determines whether the specified category has posts.

SortCategories ( ) : Guid>.SortedDictionary

Sorts the categories.

Method Details

RenderControl() public method

Outputs server control content to a provided T:System.Web.UI.HtmlTextWriter object and stores tracing information about the control if tracing is enabled.
public RenderControl ( System.Web.UI.HtmlTextWriter writer ) : void
writer System.Web.UI.HtmlTextWriter /// The object that receives the control content. ///
return void