C# Класс Subtext.Web.Controls.Captcha.CaptchaControl

Наследование: Subtext.Web.Controls.Captcha.CaptchaBase, INamingContainer, IPostBackDataHandler
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
GenerateNewCaptcha void
RenderHiddenInputForEncryptedAnswer void

Открытые методы

Метод Описание
CaptchaControl ( ) : System

Initializes a new instance of the CaptchaControl class.

LoadPostData ( string PostDataKey, NameValueCollection Values ) : bool

Loads the post data.

RaisePostDataChangedEvent ( ) : void

When implemented by a class, signals the server control to notify the ASP.NET application that the state of the control has changed.

Защищенные методы

Метод Описание
EvaluateIsValid ( ) : bool

When overridden in a derived class, this method contains the code to determine whether the value in the input control is valid.

OnPreRender ( EventArgs e ) : void

Generates the captcha if it hasn't been generated already.

Render ( System.Web.UI.HtmlTextWriter writer ) : void

Приватные методы

Метод Описание
GenerateNewCaptcha ( ) : void
RenderHiddenInputForEncryptedAnswer ( System.Web.UI.HtmlTextWriter writer ) : void

Описание методов

CaptchaControl() публичный Метод

Initializes a new instance of the CaptchaControl class.
public CaptchaControl ( ) : System
Результат System

EvaluateIsValid() защищенный Метод

When overridden in a derived class, this method contains the code to determine whether the value in the input control is valid.
protected EvaluateIsValid ( ) : bool
Результат bool

LoadPostData() публичный Метод

Loads the post data.
public LoadPostData ( string PostDataKey, NameValueCollection Values ) : bool
PostDataKey string The post data key.
Values System.Collections.Specialized.NameValueCollection The values.
Результат bool

OnPreRender() защищенный Метод

Generates the captcha if it hasn't been generated already.
protected OnPreRender ( EventArgs e ) : void
e System.EventArgs The instance containing the event data.
Результат void

RaisePostDataChangedEvent() публичный Метод

When implemented by a class, signals the server control to notify the ASP.NET application that the state of the control has changed.
public RaisePostDataChangedEvent ( ) : void
Результат void

Render() защищенный Метод

protected Render ( System.Web.UI.HtmlTextWriter writer ) : void
writer System.Web.UI.HtmlTextWriter
Результат void