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
파일 보기 프로젝트 열기: 2014-sed-team3/term-project

공개 메소드들

메소드 설명
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