C# Class Subtext.Framework.Components.Entry

Inheritance: IIdentifiable
Show file Open project: ayende/Subtext Class Usage Examples

Public Methods

Method Description
CalculateChecksum ( string text ) : int

Calculates a simple checksum of the specified text. This is used for comment filtering purposes. Once deployed, this algorithm shouldn't change.

Entry ( PostType ptype ) : System

Creates a new Entry instance.

Protected Methods

Method Description
EntryPropertyCheck ( PostConfig ep ) : bool
PostConfigSetter ( PostConfig ep, bool select ) : void

Method Details

CalculateChecksum() public static method

Calculates a simple checksum of the specified text. This is used for comment filtering purposes. Once deployed, this algorithm shouldn't change.
public static CalculateChecksum ( string text ) : int
text string Text.
return int

Entry() public method

Creates a new Entry instance.
public Entry ( PostType ptype ) : System
ptype PostType Ptype.
return System

EntryPropertyCheck() protected method

protected EntryPropertyCheck ( PostConfig ep ) : bool
ep PostConfig
return bool

PostConfigSetter() protected method

protected PostConfigSetter ( PostConfig ep, bool select ) : void
ep PostConfig
select bool
return void