C# 클래스 App_Code.Controls.CategoryList

Builds a category list.
상속: System.Web.UI.Control
파일 보기 프로젝트 열기: rasmuskl/ReSharperCourse

Private Properties

프로퍼티 타입 설명
BindCategories System.Web.UI.HtmlControls.HtmlGenericControl
CategoryList System
HasPosts bool
SortCategories Guid>.SortedDictionary

공개 메소드들

메소드 설명
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.

비공개 메소드들

메소드 설명
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.

메소드 상세

RenderControl() 공개 메소드

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. ///
리턴 void