C# Class Subtext.Web.Controls.Captcha.CaptchaInfo

Afficher le fichier Open project: ayende/Subtext Class Usage Examples

Méthodes publiques

Свойство Type Description
DateGenerated System.DateTime
FontFamily string
Height int
WarpFactor CaptchaImage.FontWarpFactor
Width int

Méthodes publiques

Méthode Description
CaptchaInfo ( string text ) : System

Initializes a new instance of the CaptchaInfo class.

FromEncryptedString ( string encrypted ) : CaptchaInfo

Reconstructs an instance of this type from an encrypted serialized string.

ToEncryptedString ( ) : string

Returns a base 64 encrypted serialized representation of this object.

ToString ( ) : string

Returns the fully qualified type name of this instance.

Private Methods

Méthode Description
GenerateRandomText ( ) : string
RandomFontFamily ( ) : string

Returns a random font family name.

Method Details

CaptchaInfo() public méthode

Initializes a new instance of the CaptchaInfo class.
public CaptchaInfo ( string text ) : System
text string The text.
Résultat System

FromEncryptedString() public static méthode

Reconstructs an instance of this type from an encrypted serialized string.
public static FromEncryptedString ( string encrypted ) : CaptchaInfo
encrypted string
Résultat CaptchaInfo

ToEncryptedString() public méthode

Returns a base 64 encrypted serialized representation of this object.
public ToEncryptedString ( ) : string
Résultat string

ToString() public méthode

Returns the fully qualified type name of this instance.
public ToString ( ) : string
Résultat string

Property Details

DateGenerated public_oe property

public DateTime,System DateGenerated
Résultat System.DateTime

FontFamily public_oe property

public string FontFamily
Résultat string

Height public_oe property

public int Height
Résultat int

WarpFactor public_oe property

public CaptchaImage.FontWarpFactor WarpFactor
Résultat CaptchaImage.FontWarpFactor

Width public_oe property

public int Width
Résultat int