C# 클래스 MichaelJBaird.Themes.JQMobile.Controls.CommentView

파일 보기 프로젝트 열기: rasmuskl/ReSharperCourse

공개 메소드들

메소드 설명
BindCountries ( ) : void

Binds the country dropdown list with countries retrieved from the .NET Framework.

CommentView ( ) : System

Initializes a new instance of the CommentView class.

GetCallbackResult ( ) : string

Returns the results of a callback event that targets a control.

RaiseCallbackEvent ( string eventArgument ) : void

Processes a callback event that targets a control.

ResolveRegion ( ) : RegionInfo

Resolves the region based on the browser language.

보호된 메소드들

메소드 설명
AdminLink ( string id ) : string

Displays a delete link to visitors that is authenticated using the default membership provider.

BBCodes ( ) : string

Displays BBCodes dynamically loaded from settings.

OnLoad ( EventArgs e ) : void

Raises the E:System.Web.UI.Control.Load event.

비공개 메소드들

메소드 설명
AddNestedComments ( string path, IEnumerable nestedComments, Control commentsPlaceHolder, bool canViewUnpublishedPosts ) : void

Adds the nested comments.

ApproveAllComments ( ) : void

Approves all comments.

ApproveComment ( ) : void

Approves the comment.

CollectCommentToDelete ( Comment comment, List commentsToDelete ) : void

Collects the comment to delete.

DeleteComment ( ) : void

Deletes the comment.

DeleteCommentAndChildren ( ) : void

Deletes the comment and children.

EnableCaptchas ( ) : void

Enables the captchas.

EnableRecaptcha ( ) : void

Enables the recaptcha.

EnableSimpleCaptcha ( ) : void

Enables the simple captcha.

GetCookie ( ) : void

Gets the cookie with visitor information if any is set. Then fills the contact information fields in the form.

SetCookie ( string name, string email, string website, string country ) : void

Sets a cookie with the entered visitor information so it can be prefilled on next visit.

SetFlagImageUrl ( ) : void

Sets the flag image URL.

메소드 상세

AdminLink() 보호된 메소드

Displays a delete link to visitors that is authenticated using the default membership provider.
protected AdminLink ( string id ) : string
id string /// The id of the comment. ///
리턴 string

BBCodes() 보호된 메소드

Displays BBCodes dynamically loaded from settings.
protected BBCodes ( ) : string
리턴 string

BindCountries() 공개 메소드

Binds the country dropdown list with countries retrieved from the .NET Framework.
public BindCountries ( ) : void
리턴 void

CommentView() 공개 메소드

Initializes a new instance of the CommentView class.
public CommentView ( ) : System
리턴 System

GetCallbackResult() 공개 메소드

Returns the results of a callback event that targets a control.
public GetCallbackResult ( ) : string
리턴 string

OnLoad() 보호된 메소드

Raises the E:System.Web.UI.Control.Load event.
protected OnLoad ( EventArgs e ) : void
e EventArgs /// The object that contains the event data. ///
리턴 void

RaiseCallbackEvent() 공개 메소드

Processes a callback event that targets a control.
public RaiseCallbackEvent ( string eventArgument ) : void
eventArgument string /// A string that represents an event argument to pass to the event handler. ///
리턴 void

ResolveRegion() 공개 정적인 메소드

Resolves the region based on the browser language.
public static ResolveRegion ( ) : RegionInfo
리턴 RegionInfo