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

Base class for classes that analyze a YouTube network.
Inheritance: HttpNetworkAnalyzerBase
Afficher le fichier Open project: 2014-sed-team3/term-project

Protected Properties

Свойство Type Description
HttpStatusCodesToFailImmediately HttpStatusCode[]

Méthodes publiques

Méthode Description
AssertValid ( ) : void
CreateXmlNamespaceManager ( XmlDocument oXmlDocument ) : XmlNamespaceManager
ExceptionToMessage ( Exception oException ) : String
YouTubeNetworkAnalyzerBase ( ) : System

Initializes a new instance of the class.

Méthodes protégées

Méthode Description
AppendYouTubeDateGraphMLAttributeValue ( XmlNode oXmlNodeToSelectFrom, String sXPath, XmlNamespaceManager oXmlNamespaceManager, GraphMLXmlDocument oGraphMLXmlDocument, XmlNode oVertexXmlNode, String sGraphMLAttributeID ) : System.Boolean
EncodeUrlParameter ( String urlParameter ) : String
EnumerateXmlNodes ( String sUrl, String sXPath, Int32 iMaximumXmlNodes, System.Boolean bSkipMostPage1Errors, RequestStatistics oRequestStatistics ) : IEnumerable
FormatYouTubeDate ( String sYouTubeDate ) : String
GetXmlDocument ( String sUrl, RequestStatistics oRequestStatistics, XmlNamespaceManager &oXmlNamespaceManager ) : XmlDocument
TryGetXmlDocument ( String sUrl, RequestStatistics oRequestStatistics, XmlDocument &oXmlDocument, XmlNamespaceManager &oXmlNamespaceManager ) : System.Boolean
YouTubeErrorResponseToMessage ( HttpWebResponse oHttpWebResponse ) : String

Method Details

AppendYouTubeDateGraphMLAttributeValue() protected méthode

protected AppendYouTubeDateGraphMLAttributeValue ( XmlNode oXmlNodeToSelectFrom, String sXPath, XmlNamespaceManager oXmlNamespaceManager, GraphMLXmlDocument oGraphMLXmlDocument, XmlNode oVertexXmlNode, String sGraphMLAttributeID ) : System.Boolean
oXmlNodeToSelectFrom System.Xml.XmlNode
sXPath String
oXmlNamespaceManager System.Xml.XmlNamespaceManager
oGraphMLXmlDocument Smrf.XmlLib.GraphMLXmlDocument
oVertexXmlNode System.Xml.XmlNode
sGraphMLAttributeID String
Résultat System.Boolean

AssertValid() public méthode

public AssertValid ( ) : void
Résultat void

CreateXmlNamespaceManager() public static méthode

public static CreateXmlNamespaceManager ( XmlDocument oXmlDocument ) : XmlNamespaceManager
oXmlDocument System.Xml.XmlDocument
Résultat System.Xml.XmlNamespaceManager

EncodeUrlParameter() protected méthode

protected EncodeUrlParameter ( String urlParameter ) : String
urlParameter String
Résultat String

EnumerateXmlNodes() protected méthode

protected EnumerateXmlNodes ( String sUrl, String sXPath, Int32 iMaximumXmlNodes, System.Boolean bSkipMostPage1Errors, RequestStatistics oRequestStatistics ) : IEnumerable
sUrl String
sXPath String
iMaximumXmlNodes System.Int32
bSkipMostPage1Errors System.Boolean
oRequestStatistics Smrf.SocialNetworkLib.RequestStatistics
Résultat IEnumerable

ExceptionToMessage() public méthode

public ExceptionToMessage ( Exception oException ) : String
oException System.Exception
Résultat String

FormatYouTubeDate() protected méthode

protected FormatYouTubeDate ( String sYouTubeDate ) : String
sYouTubeDate String
Résultat String

GetXmlDocument() protected méthode

protected GetXmlDocument ( String sUrl, RequestStatistics oRequestStatistics, XmlNamespaceManager &oXmlNamespaceManager ) : XmlDocument
sUrl String
oRequestStatistics Smrf.SocialNetworkLib.RequestStatistics
oXmlNamespaceManager System.Xml.XmlNamespaceManager
Résultat System.Xml.XmlDocument

TryGetXmlDocument() protected méthode

protected TryGetXmlDocument ( String sUrl, RequestStatistics oRequestStatistics, XmlDocument &oXmlDocument, XmlNamespaceManager &oXmlNamespaceManager ) : System.Boolean
sUrl String
oRequestStatistics Smrf.SocialNetworkLib.RequestStatistics
oXmlDocument System.Xml.XmlDocument
oXmlNamespaceManager System.Xml.XmlNamespaceManager
Résultat System.Boolean

YouTubeErrorResponseToMessage() protected méthode

protected YouTubeErrorResponseToMessage ( HttpWebResponse oHttpWebResponse ) : String
oHttpWebResponse System.Net.HttpWebResponse
Résultat String

YouTubeNetworkAnalyzerBase() public méthode

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

Property Details

HttpStatusCodesToFailImmediately protected_oe static_oe property

protected static HttpStatusCode[] HttpStatusCodesToFailImmediately
Résultat HttpStatusCode[]