C# Class Smrf.NodeXL.GraphDataProviders.Twitter.TwitterSearchNetworkAnalyzer

Gets a network of people who have tweeted a specified search term.
Use GetNetworkAsync to asynchronously get the network, or GetNetwork to get it synchronously.
Inheritance: TwitterNetworkAnalyzerBase
Mostra file Open project: 2014-sed-team3/term-project Class Usage Examples

Public Methods

Method Description
AssertValid ( ) : void
GetNetwork ( String searchTerm, WhatToInclude whatToInclude, Int32 maximumStatuses ) : XmlDocument
GetNetworkAsync ( String searchTerm, WhatToInclude whatToInclude, Int32 maximumStatuses ) : void
TwitterSearchNetworkAnalyzer ( ) : System

Initializes a new instance of the class.

Protected Methods

Method Description
AppendVertexXmlNodesForMentionsAndRepliesTo ( WhatToInclude eWhatToInclude, GraphMLXmlDocument oGraphMLXmlDocument, TwitterUser>.Dictionary oUserIDDictionary, RequestStatistics oRequestStatistics ) : void
AppendVertexXmlNodesForSearchTerm ( String sSearchTerm, WhatToInclude eWhatToInclude, Int32 iMaximumStatuses, GraphMLXmlDocument oGraphMLXmlDocument, TwitterUser>.Dictionary oUserIDDictionary, RequestStatistics oRequestStatistics ) : void
BackgroundWorker_DoWork ( object sender, DoWorkEventArgs e ) : void
GetNetworkDescription ( String sSearchTerm, WhatToInclude eWhatToInclude, Int32 iMaximumStatuses, GraphMLXmlDocument oGraphMLXmlDocument ) : String
GetNetworkInternal ( String sSearchTerm, WhatToInclude eWhatToInclude, Int32 iMaximumStatuses ) : XmlDocument
GetNetworkInternal ( String sSearchTerm, WhatToInclude eWhatToInclude, Int32 iMaximumStatuses, RequestStatistics oRequestStatistics, GraphMLXmlDocument oGraphMLXmlDocument ) : void
WhatToIncludeFlagIsSet ( WhatToInclude eORedEnumFlags, WhatToInclude eORedEnumFlagsToCheck ) : System.Boolean

Method Details

AppendVertexXmlNodesForMentionsAndRepliesTo() protected method

protected AppendVertexXmlNodesForMentionsAndRepliesTo ( WhatToInclude eWhatToInclude, GraphMLXmlDocument oGraphMLXmlDocument, TwitterUser>.Dictionary oUserIDDictionary, RequestStatistics oRequestStatistics ) : void
eWhatToInclude WhatToInclude
oGraphMLXmlDocument Smrf.XmlLib.GraphMLXmlDocument
oUserIDDictionary TwitterUser>.Dictionary
oRequestStatistics Smrf.SocialNetworkLib.RequestStatistics
return void

AppendVertexXmlNodesForSearchTerm() protected method

protected AppendVertexXmlNodesForSearchTerm ( String sSearchTerm, WhatToInclude eWhatToInclude, Int32 iMaximumStatuses, GraphMLXmlDocument oGraphMLXmlDocument, TwitterUser>.Dictionary oUserIDDictionary, RequestStatistics oRequestStatistics ) : void
sSearchTerm String
eWhatToInclude WhatToInclude
iMaximumStatuses System.Int32
oGraphMLXmlDocument Smrf.XmlLib.GraphMLXmlDocument
oUserIDDictionary TwitterUser>.Dictionary
oRequestStatistics Smrf.SocialNetworkLib.RequestStatistics
return void

AssertValid() public method

public AssertValid ( ) : void
return void

BackgroundWorker_DoWork() protected method

protected BackgroundWorker_DoWork ( object sender, DoWorkEventArgs e ) : void
sender object
e System.ComponentModel.DoWorkEventArgs
return void

GetNetwork() public method

public GetNetwork ( String searchTerm, WhatToInclude whatToInclude, Int32 maximumStatuses ) : XmlDocument
searchTerm String
whatToInclude WhatToInclude
maximumStatuses System.Int32
return System.Xml.XmlDocument

GetNetworkAsync() public method

public GetNetworkAsync ( String searchTerm, WhatToInclude whatToInclude, Int32 maximumStatuses ) : void
searchTerm String
whatToInclude WhatToInclude
maximumStatuses System.Int32
return void

GetNetworkDescription() protected method

protected GetNetworkDescription ( String sSearchTerm, WhatToInclude eWhatToInclude, Int32 iMaximumStatuses, GraphMLXmlDocument oGraphMLXmlDocument ) : String
sSearchTerm String
eWhatToInclude WhatToInclude
iMaximumStatuses System.Int32
oGraphMLXmlDocument Smrf.XmlLib.GraphMLXmlDocument
return String

GetNetworkInternal() protected method

protected GetNetworkInternal ( String sSearchTerm, WhatToInclude eWhatToInclude, Int32 iMaximumStatuses ) : XmlDocument
sSearchTerm String
eWhatToInclude WhatToInclude
iMaximumStatuses System.Int32
return System.Xml.XmlDocument

GetNetworkInternal() protected method

protected GetNetworkInternal ( String sSearchTerm, WhatToInclude eWhatToInclude, Int32 iMaximumStatuses, RequestStatistics oRequestStatistics, GraphMLXmlDocument oGraphMLXmlDocument ) : void
sSearchTerm String
eWhatToInclude WhatToInclude
iMaximumStatuses System.Int32
oRequestStatistics Smrf.SocialNetworkLib.RequestStatistics
oGraphMLXmlDocument Smrf.XmlLib.GraphMLXmlDocument
return void

TwitterSearchNetworkAnalyzer() public method

Initializes a new instance of the class.
public TwitterSearchNetworkAnalyzer ( ) : System
return System

WhatToIncludeFlagIsSet() protected method

protected WhatToIncludeFlagIsSet ( WhatToInclude eORedEnumFlags, WhatToInclude eORedEnumFlagsToCheck ) : System.Boolean
eORedEnumFlags WhatToInclude
eORedEnumFlagsToCheck WhatToInclude
return System.Boolean