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

Gets a network of Twitter users related to a specified user.
Use GetNetworkAsync to asynchronously get the network, or GetNetwork to get it synchronously.
Inheritance: TwitterNetworkAnalyzerBase
Afficher le fichier Open project: 2014-sed-team3/term-project Class Usage Examples

Méthodes publiques

Méthode Description
AppendOneDegreeNetwork ( String sScreenName, WhatToInclude eWhatToInclude, System.Boolean bIncludeFollowedThisCall, Int32 iMaximumPeoplePerRequest, GraphMLXmlDocument oGraphMLXmlDocument, HashSet oUniqueScreenNames, TwitterUser>.Dictionary oUserIDDictionary, HashSet oOneDegreeOtherScreenNames, RequestStatistics oRequestStatistics ) : void
AssertValid ( ) : void
GetNetwork ( String screenNameToAnalyze, WhatToInclude whatToInclude, NetworkLevel networkLevel, Int32 maximumPeoplePerRequest ) : XmlDocument
GetNetworkAsync ( String screenNameToAnalyze, WhatToInclude whatToInclude, NetworkLevel networkLevel, Int32 maximumPeoplePerRequest ) : void
TwitterUserNetworkAnalyzer ( ) : System

Initializes a new instance of the class.

Méthodes protégées

Méthode Description
AppendOnePointFiveDegreeNetwork ( String sScreenNameToAnalyze, WhatToInclude eWhatToInclude, System.Boolean bIncludeFollowedThisCall, Int32 iMaximumPeoplePerRequest, GraphMLXmlDocument oGraphMLXmlDocument, TwitterUser>.Dictionary oUserIDDictionary, HashSet oOneDegreeOtherScreenNames, RequestStatistics oRequestStatistics ) : void
AppendTwoDegreeNetwork ( String sScreenNameToAnalyze, WhatToInclude eWhatToInclude, System.Boolean bIncludeFollowedThisCall, Int32 iMaximumPeoplePerRequest, GraphMLXmlDocument oGraphMLXmlDocument, HashSet oUniqueScreenNames, TwitterUser>.Dictionary oUserIDDictionary, HashSet oOneDegreeOtherScreenNames, RequestStatistics oRequestStatistics ) : void
BackgroundWorker_DoWork ( object sender, DoWorkEventArgs e ) : void
CreateGraphMLXmlDocument ( System.Boolean bIncludeLatestStatuses ) : GraphMLXmlDocument
GetNetworkDescription ( String sScreenNameToAnalyze, WhatToInclude eWhatToInclude, NetworkLevel eNetworkLevel, Int32 iMaximumPeoplePerRequest ) : String
GetNetworkInternal ( String sScreenNameToAnalyze, WhatToInclude eWhatToInclude, NetworkLevel eNetworkLevel, Int32 iMaximumPeoplePerRequest ) : XmlDocument
GetNetworkInternal ( String sScreenNameToAnalyze, WhatToInclude eWhatToInclude, NetworkLevel eNetworkLevel, Int32 iMaximumPeoplePerRequest, RequestStatistics oRequestStatistics, GraphMLXmlDocument oGraphMLXmlDocument ) : void
WhatToIncludeFlagIsSet ( WhatToInclude eORedEnumFlags, WhatToInclude eORedEnumFlagsToCheck ) : System.Boolean

Method Details

AppendOneDegreeNetwork() public méthode

public AppendOneDegreeNetwork ( String sScreenName, WhatToInclude eWhatToInclude, System.Boolean bIncludeFollowedThisCall, Int32 iMaximumPeoplePerRequest, GraphMLXmlDocument oGraphMLXmlDocument, HashSet oUniqueScreenNames, TwitterUser>.Dictionary oUserIDDictionary, HashSet oOneDegreeOtherScreenNames, RequestStatistics oRequestStatistics ) : void
sScreenName String
eWhatToInclude WhatToInclude
bIncludeFollowedThisCall System.Boolean
iMaximumPeoplePerRequest System.Int32
oGraphMLXmlDocument Smrf.XmlLib.GraphMLXmlDocument
oUniqueScreenNames HashSet
oUserIDDictionary TwitterUser>.Dictionary
oOneDegreeOtherScreenNames HashSet
oRequestStatistics Smrf.SocialNetworkLib.RequestStatistics
Résultat void

AppendOnePointFiveDegreeNetwork() protected méthode

protected AppendOnePointFiveDegreeNetwork ( String sScreenNameToAnalyze, WhatToInclude eWhatToInclude, System.Boolean bIncludeFollowedThisCall, Int32 iMaximumPeoplePerRequest, GraphMLXmlDocument oGraphMLXmlDocument, TwitterUser>.Dictionary oUserIDDictionary, HashSet oOneDegreeOtherScreenNames, RequestStatistics oRequestStatistics ) : void
sScreenNameToAnalyze String
eWhatToInclude WhatToInclude
bIncludeFollowedThisCall System.Boolean
iMaximumPeoplePerRequest System.Int32
oGraphMLXmlDocument Smrf.XmlLib.GraphMLXmlDocument
oUserIDDictionary TwitterUser>.Dictionary
oOneDegreeOtherScreenNames HashSet
oRequestStatistics Smrf.SocialNetworkLib.RequestStatistics
Résultat void

AppendTwoDegreeNetwork() protected méthode

protected AppendTwoDegreeNetwork ( String sScreenNameToAnalyze, WhatToInclude eWhatToInclude, System.Boolean bIncludeFollowedThisCall, Int32 iMaximumPeoplePerRequest, GraphMLXmlDocument oGraphMLXmlDocument, HashSet oUniqueScreenNames, TwitterUser>.Dictionary oUserIDDictionary, HashSet oOneDegreeOtherScreenNames, RequestStatistics oRequestStatistics ) : void
sScreenNameToAnalyze String
eWhatToInclude WhatToInclude
bIncludeFollowedThisCall System.Boolean
iMaximumPeoplePerRequest System.Int32
oGraphMLXmlDocument Smrf.XmlLib.GraphMLXmlDocument
oUniqueScreenNames HashSet
oUserIDDictionary TwitterUser>.Dictionary
oOneDegreeOtherScreenNames HashSet
oRequestStatistics Smrf.SocialNetworkLib.RequestStatistics
Résultat void

AssertValid() public méthode

public AssertValid ( ) : void
Résultat void

BackgroundWorker_DoWork() protected méthode

protected BackgroundWorker_DoWork ( object sender, DoWorkEventArgs e ) : void
sender object
e System.ComponentModel.DoWorkEventArgs
Résultat void

CreateGraphMLXmlDocument() protected méthode

protected CreateGraphMLXmlDocument ( System.Boolean bIncludeLatestStatuses ) : GraphMLXmlDocument
bIncludeLatestStatuses System.Boolean
Résultat Smrf.XmlLib.GraphMLXmlDocument

GetNetwork() public méthode

public GetNetwork ( String screenNameToAnalyze, WhatToInclude whatToInclude, NetworkLevel networkLevel, Int32 maximumPeoplePerRequest ) : XmlDocument
screenNameToAnalyze String
whatToInclude WhatToInclude
networkLevel NetworkLevel
maximumPeoplePerRequest System.Int32
Résultat System.Xml.XmlDocument

GetNetworkAsync() public méthode

public GetNetworkAsync ( String screenNameToAnalyze, WhatToInclude whatToInclude, NetworkLevel networkLevel, Int32 maximumPeoplePerRequest ) : void
screenNameToAnalyze String
whatToInclude WhatToInclude
networkLevel NetworkLevel
maximumPeoplePerRequest System.Int32
Résultat void

GetNetworkDescription() protected méthode

protected GetNetworkDescription ( String sScreenNameToAnalyze, WhatToInclude eWhatToInclude, NetworkLevel eNetworkLevel, Int32 iMaximumPeoplePerRequest ) : String
sScreenNameToAnalyze String
eWhatToInclude WhatToInclude
eNetworkLevel NetworkLevel
iMaximumPeoplePerRequest System.Int32
Résultat String

GetNetworkInternal() protected méthode

protected GetNetworkInternal ( String sScreenNameToAnalyze, WhatToInclude eWhatToInclude, NetworkLevel eNetworkLevel, Int32 iMaximumPeoplePerRequest ) : XmlDocument
sScreenNameToAnalyze String
eWhatToInclude WhatToInclude
eNetworkLevel NetworkLevel
iMaximumPeoplePerRequest System.Int32
Résultat System.Xml.XmlDocument

GetNetworkInternal() protected méthode

protected GetNetworkInternal ( String sScreenNameToAnalyze, WhatToInclude eWhatToInclude, NetworkLevel eNetworkLevel, Int32 iMaximumPeoplePerRequest, RequestStatistics oRequestStatistics, GraphMLXmlDocument oGraphMLXmlDocument ) : void
sScreenNameToAnalyze String
eWhatToInclude WhatToInclude
eNetworkLevel NetworkLevel
iMaximumPeoplePerRequest System.Int32
oRequestStatistics Smrf.SocialNetworkLib.RequestStatistics
oGraphMLXmlDocument Smrf.XmlLib.GraphMLXmlDocument
Résultat void

TwitterUserNetworkAnalyzer() public méthode

Initializes a new instance of the class.
public TwitterUserNetworkAnalyzer ( ) : System
Résultat System

WhatToIncludeFlagIsSet() protected méthode

protected WhatToIncludeFlagIsSet ( WhatToInclude eORedEnumFlags, WhatToInclude eORedEnumFlagsToCheck ) : System.Boolean
eORedEnumFlags WhatToInclude
eORedEnumFlagsToCheck WhatToInclude
Résultat System.Boolean