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

Gets a network that shows the connections between a set of Twitter users specified by either a single Twitter List name or by a set of Twitter screen names.
Use GetNetworkAsync to asynchronously get the network.
Inheritance: TwitterNetworkAnalyzerBase
Datei anzeigen Open project: 2014-sed-team3/term-project Class Usage Examples

Public Methods

Method Description
AssertValid ( ) : void
GetNetwork ( System.Boolean useListName, String listName, ICollection screenNames, WhatToInclude whatToInclude ) : XmlDocument
GetNetworkAsync ( System.Boolean useListName, String listName, ICollection screenNames, WhatToInclude whatToInclude ) : void
TryParseListName ( String listName, String &slug, String &ownerScreenName ) : System.Boolean
TwitterListNetworkAnalyzer ( ) : System

Initializes a new instance of the class.

Protected Methods

Method Description
AppendVertexXmlNode ( String sScreenName, String sUserID, GraphMLXmlDocument oGraphMLXmlDocument, TwitterUser>.Dictionary oUserIDDictionary, Object>.Dictionary oUserValueDictionary, System.Boolean bIncludeStatistics, System.Boolean bIncludeLatestStatus, System.Boolean bExpandLatestStatusUrls ) : void
AppendVertexXmlNodes ( System.Boolean bUseListName, String sListName, ICollection oScreenNames, WhatToInclude eWhatToInclude, GraphMLXmlDocument oGraphMLXmlDocument, TwitterUser>.Dictionary oUserIDDictionary, RequestStatistics oRequestStatistics ) : void
BackgroundWorker_DoWork ( object sender, DoWorkEventArgs e ) : void
CreateGraphMLXmlDocument ( System.Boolean bIncludeStatistics, System.Boolean bIncludeLatestStatuses ) : GraphMLXmlDocument
GetNetworkDescription ( System.Boolean bUseListName, String sListName, ICollection oScreenNames, WhatToInclude eWhatToInclude ) : String
GetNetworkInternal ( System.Boolean bUseListName, String sListName, ICollection oScreenNames, WhatToInclude eWhatToInclude ) : XmlDocument
GetNetworkInternal ( System.Boolean bUseListName, String sListName, ICollection oScreenNames, WhatToInclude eWhatToInclude, RequestStatistics oRequestStatistics, GraphMLXmlDocument oGraphMLXmlDocument ) : void
WhatToIncludeFlagIsSet ( WhatToInclude eORedEnumFlags, WhatToInclude eORedEnumFlagsToCheck ) : System.Boolean

Method Details

AppendVertexXmlNode() protected method

protected AppendVertexXmlNode ( String sScreenName, String sUserID, GraphMLXmlDocument oGraphMLXmlDocument, TwitterUser>.Dictionary oUserIDDictionary, Object>.Dictionary oUserValueDictionary, System.Boolean bIncludeStatistics, System.Boolean bIncludeLatestStatus, System.Boolean bExpandLatestStatusUrls ) : void
sScreenName String
sUserID String
oGraphMLXmlDocument Smrf.XmlLib.GraphMLXmlDocument
oUserIDDictionary TwitterUser>.Dictionary
oUserValueDictionary Object>.Dictionary
bIncludeStatistics System.Boolean
bIncludeLatestStatus System.Boolean
bExpandLatestStatusUrls System.Boolean
return void

AppendVertexXmlNodes() protected method

protected AppendVertexXmlNodes ( System.Boolean bUseListName, String sListName, ICollection oScreenNames, WhatToInclude eWhatToInclude, GraphMLXmlDocument oGraphMLXmlDocument, TwitterUser>.Dictionary oUserIDDictionary, RequestStatistics oRequestStatistics ) : void
bUseListName System.Boolean
sListName String
oScreenNames ICollection
eWhatToInclude WhatToInclude
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

CreateGraphMLXmlDocument() protected method

protected CreateGraphMLXmlDocument ( System.Boolean bIncludeStatistics, System.Boolean bIncludeLatestStatuses ) : GraphMLXmlDocument
bIncludeStatistics System.Boolean
bIncludeLatestStatuses System.Boolean
return Smrf.XmlLib.GraphMLXmlDocument

GetNetwork() public method

public GetNetwork ( System.Boolean useListName, String listName, ICollection screenNames, WhatToInclude whatToInclude ) : XmlDocument
useListName System.Boolean
listName String
screenNames ICollection
whatToInclude WhatToInclude
return System.Xml.XmlDocument

GetNetworkAsync() public method

public GetNetworkAsync ( System.Boolean useListName, String listName, ICollection screenNames, WhatToInclude whatToInclude ) : void
useListName System.Boolean
listName String
screenNames ICollection
whatToInclude WhatToInclude
return void

GetNetworkDescription() protected method

protected GetNetworkDescription ( System.Boolean bUseListName, String sListName, ICollection oScreenNames, WhatToInclude eWhatToInclude ) : String
bUseListName System.Boolean
sListName String
oScreenNames ICollection
eWhatToInclude WhatToInclude
return String

GetNetworkInternal() protected method

protected GetNetworkInternal ( System.Boolean bUseListName, String sListName, ICollection oScreenNames, WhatToInclude eWhatToInclude ) : XmlDocument
bUseListName System.Boolean
sListName String
oScreenNames ICollection
eWhatToInclude WhatToInclude
return System.Xml.XmlDocument

GetNetworkInternal() protected method

protected GetNetworkInternal ( System.Boolean bUseListName, String sListName, ICollection oScreenNames, WhatToInclude eWhatToInclude, RequestStatistics oRequestStatistics, GraphMLXmlDocument oGraphMLXmlDocument ) : void
bUseListName System.Boolean
sListName String
oScreenNames ICollection
eWhatToInclude WhatToInclude
oRequestStatistics Smrf.SocialNetworkLib.RequestStatistics
oGraphMLXmlDocument Smrf.XmlLib.GraphMLXmlDocument
return void

TryParseListName() public static method

public static TryParseListName ( String listName, String &slug, String &ownerScreenName ) : System.Boolean
listName String
slug String
ownerScreenName String
return System.Boolean

TwitterListNetworkAnalyzer() public method

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

WhatToIncludeFlagIsSet() protected method

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