C# 클래스 SenseNet.Portal.UI.Controls.Captcha.CaptchaControl

상속: FieldControl, INamingContainer, IValidator
파일 보기 프로젝트 열기: maxpavlov/FlexNet

Private Properties

프로퍼티 타입 설명
CssStyle string
GenerateNewCaptcha void
GetCachedCaptcha CaptchaImage
HtmlColor string
RemoveCachedCaptcha void

공개 메소드들

메소드 설명
GetData ( ) : object

Gets object data.

Exception handling and displayed is done at ContentView level; FormatExceptions and Exceptions are handled and displayed at this level. Should you need custom or localized error messages, throw a FieldControlDataException with your own error message.

SetData ( object data ) : void

Sets data within the FieldControl

System ( ) : void
ValidateCaptcha ( ) : void

Validate the user's text against the CAPTCHA text

보호된 메소드들

메소드 설명
CreateChildControls ( ) : void
GetSR ( string strResId ) : string
LoadControlState ( object state ) : void
OnInit ( System e ) : void
OnPreRender ( System e ) : void
OnUnload ( System e ) : void
SaveControlState ( ) : object

Retrieve the user's CAPTCHA input from the posted data

비공개 메소드들

메소드 설명
CssStyle ( ) : string

returns css "style=" tag for this control based on standard control visual properties

GenerateNewCaptcha ( ) : void

generate a new captcha and store it in the ASP.NET Cache by unique GUID

GetCachedCaptcha ( string guid ) : CaptchaImage
HtmlColor ( System color ) : string

returns HTML-ized color strings

RemoveCachedCaptcha ( string guid ) : void

메소드 상세

CreateChildControls() 보호된 메소드

protected CreateChildControls ( ) : void
리턴 void

GetData() 공개 메소드

Gets object data.
Exception handling and displayed is done at ContentView level; FormatExceptions and Exceptions are handled and displayed at this level. Should you need custom or localized error messages, throw a FieldControlDataException with your own error message.
public GetData ( ) : object
리턴 object

GetSR() 보호된 정적인 메소드

protected static GetSR ( string strResId ) : string
strResId string
리턴 string

LoadControlState() 보호된 메소드

protected LoadControlState ( object state ) : void
state object
리턴 void

OnInit() 보호된 메소드

protected OnInit ( System e ) : void
e System
리턴 void

OnPreRender() 보호된 메소드

protected OnPreRender ( System e ) : void
e System
리턴 void

OnUnload() 보호된 메소드

protected OnUnload ( System e ) : void
e System
리턴 void

SaveControlState() 보호된 메소드

Retrieve the user's CAPTCHA input from the posted data
protected SaveControlState ( ) : object
리턴 object

SetData() 공개 메소드

Sets data within the FieldControl
public SetData ( object data ) : void
data object Data of the Field wrapped
리턴 void

System() 공개 메소드

public System ( ) : void
리턴 void

ValidateCaptcha() 공개 메소드

Validate the user's text against the CAPTCHA text
public ValidateCaptcha ( ) : void
리턴 void