C# Class TwitterFeed.TwitterFeedModule

Afficher le fichier Open project: MonoSoftware/MonoX-Twitter-Module

Méthodes publiques

Свойство Type Description
TwitterFeedPageNo UrlParam

Protected Properties

Свойство Type Description
TweetsCacheKey string
lvItems global::System.Web.UI.WebControls.ListView
pager global::MonoSoftware.Web.Pager.Pager
pnlContainer global::System.Web.UI.WebControls.Panel

Private Properties

Свойство Type Description
ApplyChanges void
pager_PageIndexChanged void

Méthodes publiques

Méthode Description
DataBind ( ) : void
LoadFrom ( String url ) : SyndicationFeed

Loads feed from the specified URL.

TwitterFeedModule ( ) : System

Constructor.

Méthodes protégées

Méthode Description
HtmlFormatTweet ( string item ) : string

Format the Tweet and prepare it for Html rendering.

Page_Init ( object sender, EventArgs e ) : void
Page_PreRender ( object sender, EventArgs e ) : void
ParseTemplateTags ( SyndicationItem listItem ) : Hashtable
lvItems_OnItemDataBound ( object sender, ListViewItemEventArgs e ) : void

Private Methods

Méthode Description
ApplyChanges ( ) : void
pager_PageIndexChanged ( object source, MonoSoftware e ) : void

Method Details

DataBind() public méthode

public DataBind ( ) : void
Résultat void

HtmlFormatTweet() protected méthode

Format the Tweet and prepare it for Html rendering.
protected HtmlFormatTweet ( string item ) : string
item string Tweet content
Résultat string

LoadFrom() public static méthode

Loads feed from the specified URL.
public static LoadFrom ( String url ) : SyndicationFeed
url String URL of the feed.
Résultat SyndicationFeed

Page_Init() protected méthode

protected Page_Init ( object sender, EventArgs e ) : void
sender object
e EventArgs
Résultat void

Page_PreRender() protected méthode

protected Page_PreRender ( object sender, EventArgs e ) : void
sender object
e EventArgs
Résultat void

ParseTemplateTags() protected méthode

protected ParseTemplateTags ( SyndicationItem listItem ) : Hashtable
listItem SyndicationItem
Résultat Hashtable

TwitterFeedModule() public méthode

Constructor.
public TwitterFeedModule ( ) : System
Résultat System

lvItems_OnItemDataBound() protected méthode

protected lvItems_OnItemDataBound ( object sender, ListViewItemEventArgs e ) : void
sender object
e ListViewItemEventArgs
Résultat void

Property Details

TweetsCacheKey protected_oe static_oe property

Tweets cache key.
protected static string TweetsCacheKey
Résultat string

TwitterFeedPageNo public_oe static_oe property

Twitter Feed SEO pager page number query string name.
public static UrlParam TwitterFeedPageNo
Résultat UrlParam

lvItems protected_oe property

lvItems control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.ListView lvItems
Résultat global::System.Web.UI.WebControls.ListView

pager protected_oe property

pager control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::MonoSoftware.Web.Pager.Pager pager
Résultat global::MonoSoftware.Web.Pager.Pager

pnlContainer protected_oe property

pnlContainer control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Panel pnlContainer
Résultat global::System.Web.UI.WebControls.Panel