C# Класс Smrf.NodeXL.GraphDataProviders.YouTube.YouTubeUserNetworkAnalyzer

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

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

Метод Описание
AssertValid ( ) : void
GetNetworkAsync ( String userNameToAnalyze, WhatToInclude whatToInclude, NetworkLevel networkLevel, Int32 maximumPeoplePerRequest ) : void
YouTubeUserNetworkAnalyzer ( ) : System

Initializes a new instance of the class.

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

Метод Описание
AppendAllStatisticGraphMLAttributeValues ( GraphMLXmlDocument oGraphMLXmlDocument, XmlNode>.Dictionary oUserNameDictionary, RequestStatistics oRequestStatistics ) : void
AppendAllStatisticGraphMLAttributeValues ( String sUserName, XmlNode oVertexXmlNode, GraphMLXmlDocument oGraphMLXmlDocument, RequestStatistics oRequestStatistics ) : void
AppendInt32GraphMLAttributeValue ( String sUrl, String sXPath, GraphMLXmlDocument oGraphMLXmlDocument, RequestStatistics oRequestStatistics, XmlNode oVertexXmlNode, String sGraphMLAttributeID ) : void
BackgroundWorker_DoWork ( object sender, DoWorkEventArgs e ) : void
CreateGraphMLXmlDocument ( System.Boolean bIncludeAllStatistics ) : GraphMLXmlDocument
GetFriendsOrSubscriptionsUrl ( String sUserName, System.Boolean bFriends ) : String
GetNetworkDescription ( String sUserNameToAnalyze, WhatToInclude eWhatToInclude, NetworkLevel eNetworkLevel, Int32 iMaximumPeoplePerRequest ) : String
GetUserNetworkInternal ( String sUserNameToAnalyze, WhatToInclude eWhatToInclude, NetworkLevel eNetworkLevel, Int32 iMaximumPeoplePerRequest ) : XmlDocument
GetUserNetworkInternal ( String sUserNameToAnalyze, WhatToInclude eWhatToInclude, NetworkLevel eNetworkLevel, Int32 iMaximumPeoplePerRequest, RequestStatistics oRequestStatistics, GraphMLXmlDocument oGraphMLXmlDocument ) : void
GetUserNetworkRecursive ( String sUserName, WhatToInclude eWhatToInclude, System.Boolean bIncludeFriendsThisCall, NetworkLevel eNetworkLevel, Int32 iMaximumPeoplePerRequest, Int32 iRecursionLevel, GraphMLXmlDocument oGraphMLXmlDocument, XmlNode>.Dictionary oUserNameDictionary, RequestStatistics oRequestStatistics ) : void
ReportProgressForFriendsOrSubscriptions ( String sUserName, System.Boolean bFriends ) : void
TryAppendVertexXmlNode ( String sUserName, XmlNode oEntryXmlNode, GraphMLXmlDocument oGraphMLXmlDocument, XmlNode>.Dictionary oUserNameDictionary ) : System.Boolean
WhatToIncludeFlagIsSet ( WhatToInclude eORedEnumFlags, WhatToInclude eORedEnumFlagsToCheck ) : System.Boolean

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

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

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

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

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

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

protected AppendInt32GraphMLAttributeValue ( String sUrl, String sXPath, GraphMLXmlDocument oGraphMLXmlDocument, RequestStatistics oRequestStatistics, XmlNode oVertexXmlNode, String sGraphMLAttributeID ) : void
sUrl String
sXPath String
oGraphMLXmlDocument Smrf.XmlLib.GraphMLXmlDocument
oRequestStatistics Smrf.SocialNetworkLib.RequestStatistics
oVertexXmlNode System.Xml.XmlNode
sGraphMLAttributeID String
Результат 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 bIncludeAllStatistics ) : GraphMLXmlDocument
bIncludeAllStatistics System.Boolean
Результат Smrf.XmlLib.GraphMLXmlDocument

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

protected GetFriendsOrSubscriptionsUrl ( String sUserName, System.Boolean bFriends ) : String
sUserName String
bFriends System.Boolean
Результат String

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

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

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

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

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

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

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

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

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

protected GetUserNetworkRecursive ( String sUserName, WhatToInclude eWhatToInclude, System.Boolean bIncludeFriendsThisCall, NetworkLevel eNetworkLevel, Int32 iMaximumPeoplePerRequest, Int32 iRecursionLevel, GraphMLXmlDocument oGraphMLXmlDocument, XmlNode>.Dictionary oUserNameDictionary, RequestStatistics oRequestStatistics ) : void
sUserName String
eWhatToInclude WhatToInclude
bIncludeFriendsThisCall System.Boolean
eNetworkLevel NetworkLevel
iMaximumPeoplePerRequest System.Int32
iRecursionLevel System.Int32
oGraphMLXmlDocument Smrf.XmlLib.GraphMLXmlDocument
oUserNameDictionary XmlNode>.Dictionary
oRequestStatistics Smrf.SocialNetworkLib.RequestStatistics
Результат void

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

protected ReportProgressForFriendsOrSubscriptions ( String sUserName, System.Boolean bFriends ) : void
sUserName String
bFriends System.Boolean
Результат void

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

protected TryAppendVertexXmlNode ( String sUserName, XmlNode oEntryXmlNode, GraphMLXmlDocument oGraphMLXmlDocument, XmlNode>.Dictionary oUserNameDictionary ) : System.Boolean
sUserName String
oEntryXmlNode System.Xml.XmlNode
oGraphMLXmlDocument Smrf.XmlLib.GraphMLXmlDocument
oUserNameDictionary XmlNode>.Dictionary
Результат System.Boolean

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

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

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

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