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

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

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

Метод Описание
AssertValid ( ) : void
GetNetworkAsync ( String searchTerm, WhatToInclude whatToInclude, Int32 maximumVideos ) : void
YouTubeVideoNetworkAnalyzer ( ) : System

Initializes a new instance of the class.

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

Метод Описание
AddVideoIDToDictionary ( String sKey, String sVideoID, Dictionary oDictionary ) : void
AppendEdgesFromDictionary ( Dictionary oDictionary, GraphMLXmlDocument oGraphMLXmlDocument, String sRelationship, String sKeyAttributeID ) : void
AppendSharedResponderEdges ( GraphMLXmlDocument oGraphMLXmlDocument, HashSet oVideoIDs, Int32 iMaximumResponses, String sUrlPattern, String sResponderTitle, String sKeyAttributeID, RequestStatistics oRequestStatistics ) : void
AppendVertexXmlNodes ( String sSearchTerm, WhatToInclude eWhatToInclude, Int32 iMaximumVideos, GraphMLXmlDocument oGraphMLXmlDocument, RequestStatistics oRequestStatistics, HashSet &oVideoIDs, Dictionary &oCategoryDictionary ) : void
BackgroundWorker_DoWork ( object sender, DoWorkEventArgs e ) : void
CollectCategories ( XmlNode oEntryXmlNode, String sVideoID, XmlNamespaceManager oXmlNamespaceManager, Dictionary oCategoryDictionary ) : void
CreateGraphMLXmlDocument ( WhatToInclude eWhatToInclude ) : GraphMLXmlDocument
GetNetworkDescription ( String sSearchTerm, WhatToInclude eWhatToInclude, Int32 iMaximumVideos ) : String
GetVideoNetworkInternal ( String sSearchTerm, WhatToInclude eWhatToInclude, Int32 iMaximumVideos ) : XmlDocument
GetVideoNetworkInternal ( String sSearchTerm, WhatToInclude eWhatToInclude, Int32 iMaximumVideos, RequestStatistics oRequestStatistics, GraphMLXmlDocument oGraphMLXmlDocument ) : void
WhatToIncludeFlagIsSet ( WhatToInclude eORedEnumFlags, WhatToInclude eORedEnumFlagsToCheck ) : System.Boolean

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

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

protected AddVideoIDToDictionary ( String sKey, String sVideoID, Dictionary oDictionary ) : void
sKey String
sVideoID String
oDictionary Dictionary
Результат void

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

protected AppendEdgesFromDictionary ( Dictionary oDictionary, GraphMLXmlDocument oGraphMLXmlDocument, String sRelationship, String sKeyAttributeID ) : void
oDictionary Dictionary
oGraphMLXmlDocument Smrf.XmlLib.GraphMLXmlDocument
sRelationship String
sKeyAttributeID String
Результат void

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

protected AppendSharedResponderEdges ( GraphMLXmlDocument oGraphMLXmlDocument, HashSet oVideoIDs, Int32 iMaximumResponses, String sUrlPattern, String sResponderTitle, String sKeyAttributeID, RequestStatistics oRequestStatistics ) : void
oGraphMLXmlDocument Smrf.XmlLib.GraphMLXmlDocument
oVideoIDs HashSet
iMaximumResponses System.Int32
sUrlPattern String
sResponderTitle String
sKeyAttributeID String
oRequestStatistics Smrf.SocialNetworkLib.RequestStatistics
Результат void

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

protected AppendVertexXmlNodes ( String sSearchTerm, WhatToInclude eWhatToInclude, Int32 iMaximumVideos, GraphMLXmlDocument oGraphMLXmlDocument, RequestStatistics oRequestStatistics, HashSet &oVideoIDs, Dictionary &oCategoryDictionary ) : void
sSearchTerm String
eWhatToInclude WhatToInclude
iMaximumVideos System.Int32
oGraphMLXmlDocument Smrf.XmlLib.GraphMLXmlDocument
oRequestStatistics Smrf.SocialNetworkLib.RequestStatistics
oVideoIDs HashSet
oCategoryDictionary Dictionary
Результат void

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

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

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

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

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

protected CollectCategories ( XmlNode oEntryXmlNode, String sVideoID, XmlNamespaceManager oXmlNamespaceManager, Dictionary oCategoryDictionary ) : void
oEntryXmlNode System.Xml.XmlNode
sVideoID String
oXmlNamespaceManager System.Xml.XmlNamespaceManager
oCategoryDictionary Dictionary
Результат void

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

protected CreateGraphMLXmlDocument ( WhatToInclude eWhatToInclude ) : GraphMLXmlDocument
eWhatToInclude WhatToInclude
Результат Smrf.XmlLib.GraphMLXmlDocument

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

public GetNetworkAsync ( String searchTerm, WhatToInclude whatToInclude, Int32 maximumVideos ) : void
searchTerm String
whatToInclude WhatToInclude
maximumVideos System.Int32
Результат void

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

protected GetNetworkDescription ( String sSearchTerm, WhatToInclude eWhatToInclude, Int32 iMaximumVideos ) : String
sSearchTerm String
eWhatToInclude WhatToInclude
iMaximumVideos System.Int32
Результат String

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

protected GetVideoNetworkInternal ( String sSearchTerm, WhatToInclude eWhatToInclude, Int32 iMaximumVideos ) : XmlDocument
sSearchTerm String
eWhatToInclude WhatToInclude
iMaximumVideos System.Int32
Результат System.Xml.XmlDocument

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

protected GetVideoNetworkInternal ( String sSearchTerm, WhatToInclude eWhatToInclude, Int32 iMaximumVideos, RequestStatistics oRequestStatistics, GraphMLXmlDocument oGraphMLXmlDocument ) : void
sSearchTerm String
eWhatToInclude WhatToInclude
iMaximumVideos System.Int32
oRequestStatistics Smrf.SocialNetworkLib.RequestStatistics
oGraphMLXmlDocument Smrf.XmlLib.GraphMLXmlDocument
Результат void

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

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

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

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