C# Class Smrf.NodeXL.GraphDataProviders.YouTube.YouTubeVideoNetworkAnalyzer

Gets a network of related YouTube videos.
Use GetNetworkAsync to asynchronously get an undirected network of related YouTube videos.
Inheritance: YouTubeNetworkAnalyzerBase
Afficher le fichier Open project: 2014-sed-team3/term-project

Méthodes publiques

Méthode Description
AssertValid ( ) : void
GetNetworkAsync ( String searchTerm, WhatToInclude whatToInclude, Int32 maximumVideos ) : void
YouTubeVideoNetworkAnalyzer ( ) : System

Initializes a new instance of the class.

Méthodes protégées

Méthode Description
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

Method Details

AddVideoIDToDictionary() protected méthode

protected AddVideoIDToDictionary ( String sKey, String sVideoID, Dictionary oDictionary ) : void
sKey String
sVideoID String
oDictionary Dictionary
Résultat void

AppendEdgesFromDictionary() protected méthode

protected AppendEdgesFromDictionary ( Dictionary oDictionary, GraphMLXmlDocument oGraphMLXmlDocument, String sRelationship, String sKeyAttributeID ) : void
oDictionary Dictionary
oGraphMLXmlDocument Smrf.XmlLib.GraphMLXmlDocument
sRelationship String
sKeyAttributeID String
Résultat void

AppendSharedResponderEdges() protected méthode

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
Résultat void

AppendVertexXmlNodes() protected méthode

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
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

CollectCategories() protected méthode

protected CollectCategories ( XmlNode oEntryXmlNode, String sVideoID, XmlNamespaceManager oXmlNamespaceManager, Dictionary oCategoryDictionary ) : void
oEntryXmlNode System.Xml.XmlNode
sVideoID String
oXmlNamespaceManager System.Xml.XmlNamespaceManager
oCategoryDictionary Dictionary
Résultat void

CreateGraphMLXmlDocument() protected méthode

protected CreateGraphMLXmlDocument ( WhatToInclude eWhatToInclude ) : GraphMLXmlDocument
eWhatToInclude WhatToInclude
Résultat Smrf.XmlLib.GraphMLXmlDocument

GetNetworkAsync() public méthode

public GetNetworkAsync ( String searchTerm, WhatToInclude whatToInclude, Int32 maximumVideos ) : void
searchTerm String
whatToInclude WhatToInclude
maximumVideos System.Int32
Résultat void

GetNetworkDescription() protected méthode

protected GetNetworkDescription ( String sSearchTerm, WhatToInclude eWhatToInclude, Int32 iMaximumVideos ) : String
sSearchTerm String
eWhatToInclude WhatToInclude
iMaximumVideos System.Int32
Résultat String

GetVideoNetworkInternal() protected méthode

protected GetVideoNetworkInternal ( String sSearchTerm, WhatToInclude eWhatToInclude, Int32 iMaximumVideos ) : XmlDocument
sSearchTerm String
eWhatToInclude WhatToInclude
iMaximumVideos System.Int32
Résultat System.Xml.XmlDocument

GetVideoNetworkInternal() protected méthode

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
Résultat void

WhatToIncludeFlagIsSet() protected méthode

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

YouTubeVideoNetworkAnalyzer() public méthode

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