C# Class FederatedSearch.TwitterSearchWebPart.TwitterSearchWebPartUserControl

Show file Open project: ivankozyrev/fls-internal-portal

Public Properties

Property Type Description
PropertiesWebPart TwitterSearchWebPart

Protected Properties

Property Type Description
AsynchPanel global::System.Web.UI.UpdatePanel
Error global::System.Web.UI.WebControls.Label
ProfileImage global::System.Web.UI.WebControls.Image
Timer1 global::System.Web.UI.Timer
Title global::System.Web.UI.WebControls.HyperLink
TwitterResults global::System.Web.UI.WebControls.ListView
cssReg global::Microsoft.SharePoint.WebControls.CssRegistration

Protected Methods

Method Description
DisplayTweets ( ) : void
OnInit ( EventArgs e ) : void
OnLoad ( object sender, EventArgs e ) : void
OnTimerTick ( object sender, EventArgs e ) : void

Private Methods

Method Description
DayAgo ( DateTime date ) : string
GetProfile ( string screenName, int count, bool includeRetweets, bool includeReplies ) : IList
GetSearch ( string search, int count ) : IList
Query ( string url ) : XDocument
SetInterval ( ) : void

Method Details

DisplayTweets() protected method

protected DisplayTweets ( ) : void
return void

OnInit() protected method

protected OnInit ( EventArgs e ) : void
e EventArgs
return void

OnLoad() protected method

protected OnLoad ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void

OnTimerTick() protected method

protected OnTimerTick ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void

Property Details

AsynchPanel protected property

AsynchPanel control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.UpdatePanel AsynchPanel
return global::System.Web.UI.UpdatePanel

Error protected property

Error control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Label Error
return global::System.Web.UI.WebControls.Label

ProfileImage protected property

ProfileImage control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Image ProfileImage
return global::System.Web.UI.WebControls.Image

PropertiesWebPart public property

public TwitterSearchWebPart,FederatedSearch.TwitterSearchWebPart PropertiesWebPart
return TwitterSearchWebPart

Timer1 protected property

Timer1 control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.Timer Timer1
return global::System.Web.UI.Timer

Title protected property

Title control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.HyperLink Title
return global::System.Web.UI.WebControls.HyperLink

TwitterResults protected property

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

cssReg protected property

cssReg control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::Microsoft.SharePoint.WebControls.CssRegistration cssReg
return global::Microsoft.SharePoint.WebControls.CssRegistration