C# Класс Smrf.NodeXL.GraphDataProviders.Flickr.FlickrUserNetworkAnalyzer

Gets a network of Flickr users.
Use GetNetworkAsync to asynchronously get a directed network of Flickr users.
Наследование: FlickrNetworkAnalyzerBase
Показать файл Открыть проект

Открытые методы

Метод Описание
AssertValid ( ) : void
FlickrUserNetworkAnalyzer ( ) : System

Initializes a new instance of the class.

GetNetworkAsync ( String screenName, WhatToInclude whatToInclude, NetworkLevel networkLevel, Int32 maximumPerRequest, String apiKey ) : void

Защищенные методы

Метод Описание
AppendUserInformationGraphMLAttributeValues ( GraphMLXmlDocument oGraphMLXmlDocument, XmlNode>.Dictionary oUserIDDictionary, String sApiKey, RequestStatistics oRequestStatistics ) : void
AppendUserInformationGraphMLAttributeValues ( String sUserID, XmlNode oVertexXmlNode, GraphMLXmlDocument oGraphMLXmlDocument, String sApiKey, RequestStatistics oRequestStatistics ) : void
BackgroundWorker_DoWork ( object sender, DoWorkEventArgs e ) : void
CreateGraphMLXmlDocument ( System.Boolean bIncludeCommenterVertices, System.Boolean bIncludeUserInformation ) : GraphMLXmlDocument
GetCommentersEnumerator ( String sUserID, Int32 iMaximumPerRequest, System.Boolean bSkipMostPage1Errors, String sApiKey, RequestStatistics oRequestStatistics ) : IEnumerable
GetContactsOrCommentersEnumerator ( String sUserID, System.Boolean bForContacts, Int32 iMaximumPerRequest, GraphMLXmlDocument oGraphMLXmlDocument, String sApiKey, RequestStatistics oRequestStatistics ) : IEnumerable
GetNetworkDescription ( String sScreenName, WhatToInclude eWhatToInclude, NetworkLevel eNetworkLevel, Int32 iMaximumPerRequest ) : String
GetScreenNameFromVertexXmlNode ( XmlNode oVertexXmlNode ) : String
GetUserNetworkInternal ( String sScreenName, WhatToInclude eWhatToInclude, NetworkLevel eNetworkLevel, Int32 iMaximumPerRequest, String sApiKey ) : XmlDocument
GetUserNetworkInternal ( String sScreenName, WhatToInclude eWhatToInclude, NetworkLevel eNetworkLevel, Int32 iMaximumPerRequest, String sApiKey, RequestStatistics oRequestStatistics, GraphMLXmlDocument oGraphMLXmlDocument ) : void
GetUserNetworkRecursive ( String sUserID, String sScreenName, WhatToInclude eWhatToInclude, System.Boolean bIncludeContactsThisCall, NetworkLevel eNetworkLevel, Int32 iMaximumPerRequest, String sApiKey, Int32 iRecursionLevel, GraphMLXmlDocument oGraphMLXmlDocument, XmlNode>.Dictionary oUserIDDictionary, RequestStatistics oRequestStatistics ) : void
ReportProgressForContactsOrCommenters ( String sScreenName, System.Boolean bForContacts ) : void
TryAppendVertexXmlNode ( String sUserID, String sScreenName, GraphMLXmlDocument oGraphMLXmlDocument, XmlNode>.Dictionary oUserIDDictionary ) : System.Boolean
WhatToIncludeFlagIsSet ( WhatToInclude eORedEnumFlags, WhatToInclude eORedEnumFlagsToCheck ) : System.Boolean

Описание методов

AppendUserInformationGraphMLAttributeValues() защищенный Метод

protected AppendUserInformationGraphMLAttributeValues ( GraphMLXmlDocument oGraphMLXmlDocument, XmlNode>.Dictionary oUserIDDictionary, String sApiKey, RequestStatistics oRequestStatistics ) : void
oGraphMLXmlDocument Smrf.XmlLib.GraphMLXmlDocument
oUserIDDictionary XmlNode>.Dictionary
sApiKey String
oRequestStatistics Smrf.SocialNetworkLib.RequestStatistics
Результат void

AppendUserInformationGraphMLAttributeValues() защищенный Метод

protected AppendUserInformationGraphMLAttributeValues ( String sUserID, XmlNode oVertexXmlNode, GraphMLXmlDocument oGraphMLXmlDocument, String sApiKey, RequestStatistics oRequestStatistics ) : void
sUserID String
oVertexXmlNode System.Xml.XmlNode
oGraphMLXmlDocument Smrf.XmlLib.GraphMLXmlDocument
sApiKey String
oRequestStatistics Smrf.SocialNetworkLib.RequestStatistics
Результат void

AssertValid() публичный Метод

public AssertValid ( ) : void
Результат void

BackgroundWorker_DoWork() защищенный Метод

protected BackgroundWorker_DoWork ( object sender, DoWorkEventArgs e ) : void
sender object
e System.ComponentModel.DoWorkEventArgs
Результат void

CreateGraphMLXmlDocument() защищенный Метод

protected CreateGraphMLXmlDocument ( System.Boolean bIncludeCommenterVertices, System.Boolean bIncludeUserInformation ) : GraphMLXmlDocument
bIncludeCommenterVertices System.Boolean
bIncludeUserInformation System.Boolean
Результат Smrf.XmlLib.GraphMLXmlDocument

FlickrUserNetworkAnalyzer() публичный Метод

Initializes a new instance of the class.
public FlickrUserNetworkAnalyzer ( ) : System
Результат System

GetCommentersEnumerator() защищенный Метод

protected GetCommentersEnumerator ( String sUserID, Int32 iMaximumPerRequest, System.Boolean bSkipMostPage1Errors, String sApiKey, RequestStatistics oRequestStatistics ) : IEnumerable
sUserID String
iMaximumPerRequest System.Int32
bSkipMostPage1Errors System.Boolean
sApiKey String
oRequestStatistics Smrf.SocialNetworkLib.RequestStatistics
Результат IEnumerable

GetContactsOrCommentersEnumerator() защищенный Метод

protected GetContactsOrCommentersEnumerator ( String sUserID, System.Boolean bForContacts, Int32 iMaximumPerRequest, GraphMLXmlDocument oGraphMLXmlDocument, String sApiKey, RequestStatistics oRequestStatistics ) : IEnumerable
sUserID String
bForContacts System.Boolean
iMaximumPerRequest System.Int32
oGraphMLXmlDocument Smrf.XmlLib.GraphMLXmlDocument
sApiKey String
oRequestStatistics Smrf.SocialNetworkLib.RequestStatistics
Результат IEnumerable

GetNetworkAsync() публичный Метод

public GetNetworkAsync ( String screenName, WhatToInclude whatToInclude, NetworkLevel networkLevel, Int32 maximumPerRequest, String apiKey ) : void
screenName String
whatToInclude WhatToInclude
networkLevel NetworkLevel
maximumPerRequest System.Int32
apiKey String
Результат void

GetNetworkDescription() защищенный Метод

protected GetNetworkDescription ( String sScreenName, WhatToInclude eWhatToInclude, NetworkLevel eNetworkLevel, Int32 iMaximumPerRequest ) : String
sScreenName String
eWhatToInclude WhatToInclude
eNetworkLevel NetworkLevel
iMaximumPerRequest System.Int32
Результат String

GetScreenNameFromVertexXmlNode() защищенный Метод

protected GetScreenNameFromVertexXmlNode ( XmlNode oVertexXmlNode ) : String
oVertexXmlNode System.Xml.XmlNode
Результат String

GetUserNetworkInternal() защищенный Метод

protected GetUserNetworkInternal ( String sScreenName, WhatToInclude eWhatToInclude, NetworkLevel eNetworkLevel, Int32 iMaximumPerRequest, String sApiKey ) : XmlDocument
sScreenName String
eWhatToInclude WhatToInclude
eNetworkLevel NetworkLevel
iMaximumPerRequest System.Int32
sApiKey String
Результат System.Xml.XmlDocument

GetUserNetworkInternal() защищенный Метод

protected GetUserNetworkInternal ( String sScreenName, WhatToInclude eWhatToInclude, NetworkLevel eNetworkLevel, Int32 iMaximumPerRequest, String sApiKey, RequestStatistics oRequestStatistics, GraphMLXmlDocument oGraphMLXmlDocument ) : void
sScreenName String
eWhatToInclude WhatToInclude
eNetworkLevel NetworkLevel
iMaximumPerRequest System.Int32
sApiKey String
oRequestStatistics Smrf.SocialNetworkLib.RequestStatistics
oGraphMLXmlDocument Smrf.XmlLib.GraphMLXmlDocument
Результат void

GetUserNetworkRecursive() защищенный Метод

protected GetUserNetworkRecursive ( String sUserID, String sScreenName, WhatToInclude eWhatToInclude, System.Boolean bIncludeContactsThisCall, NetworkLevel eNetworkLevel, Int32 iMaximumPerRequest, String sApiKey, Int32 iRecursionLevel, GraphMLXmlDocument oGraphMLXmlDocument, XmlNode>.Dictionary oUserIDDictionary, RequestStatistics oRequestStatistics ) : void
sUserID String
sScreenName String
eWhatToInclude WhatToInclude
bIncludeContactsThisCall System.Boolean
eNetworkLevel NetworkLevel
iMaximumPerRequest System.Int32
sApiKey String
iRecursionLevel System.Int32
oGraphMLXmlDocument Smrf.XmlLib.GraphMLXmlDocument
oUserIDDictionary XmlNode>.Dictionary
oRequestStatistics Smrf.SocialNetworkLib.RequestStatistics
Результат void

ReportProgressForContactsOrCommenters() защищенный Метод

protected ReportProgressForContactsOrCommenters ( String sScreenName, System.Boolean bForContacts ) : void
sScreenName String
bForContacts System.Boolean
Результат void

TryAppendVertexXmlNode() защищенный Метод

protected TryAppendVertexXmlNode ( String sUserID, String sScreenName, GraphMLXmlDocument oGraphMLXmlDocument, XmlNode>.Dictionary oUserIDDictionary ) : System.Boolean
sUserID String
sScreenName String
oGraphMLXmlDocument Smrf.XmlLib.GraphMLXmlDocument
oUserIDDictionary XmlNode>.Dictionary
Результат System.Boolean

WhatToIncludeFlagIsSet() защищенный Метод

protected WhatToIncludeFlagIsSet ( WhatToInclude eORedEnumFlags, WhatToInclude eORedEnumFlagsToCheck ) : System.Boolean
eORedEnumFlags WhatToInclude
eORedEnumFlagsToCheck WhatToInclude
Результат System.Boolean