C# Class Subtext.Web.UI.Controls.Comments

Codebehind for the control that displays comments/trackbacks/pingbacks.
Inheritance: BaseControl, ICommentControl
Afficher le fichier Open project: ayende/Subtext Class Usage Examples

Protected Properties

Свойство Type Description
CommentList System.Web.UI.WebControls.Repeater
NoCommentMessage System.Web.UI.WebControls.Literal

Méthodes publiques

Méthode Description
EditUrl ( FeedbackItem feedback ) : string

Méthodes protégées

Méthode Description
CommentsCreated ( object sender, System.Web.UI.WebControls.RepeaterItemEventArgs e ) : void
OnLoad ( EventArgs e ) : void
RemoveComment_ItemCommand ( Object Sender, System.Web.UI.WebControls.RepeaterCommandEventArgs e ) : void

Private Methods

Méthode Description
Anchor ( int id ) : string
BindFeedback ( Entry entry, bool fromCache ) : void
BindFeedback ( bool fromCache ) : void
BuildGravatarUrl ( string email, string defaultGravatar ) : string
Link ( string title, Uri link ) : string

Method Details

CommentsCreated() protected méthode

protected CommentsCreated ( object sender, System.Web.UI.WebControls.RepeaterItemEventArgs e ) : void
sender object
e System.Web.UI.WebControls.RepeaterItemEventArgs
Résultat void

EditUrl() public méthode

public EditUrl ( FeedbackItem feedback ) : string
feedback Subtext.Framework.Components.FeedbackItem
Résultat string

OnLoad() protected méthode

protected OnLoad ( EventArgs e ) : void
e System.EventArgs
Résultat void

RemoveComment_ItemCommand() protected méthode

protected RemoveComment_ItemCommand ( Object Sender, System.Web.UI.WebControls.RepeaterCommandEventArgs e ) : void
Sender Object
e System.Web.UI.WebControls.RepeaterCommandEventArgs
Résultat void

Property Details

CommentList protected_oe property

protected Repeater,System.Web.UI.WebControls CommentList
Résultat System.Web.UI.WebControls.Repeater

NoCommentMessage protected_oe property

protected Literal,System.Web.UI.WebControls NoCommentMessage
Résultat System.Web.UI.WebControls.Literal