C# Class Kentico.KInspector.Modules.PagesAnalyzerModule

Inheritance: IModule
Mostrar archivo Open project: Kentico/KInspector

Public Methods

Method Description
GetModuleMetadata ( ) : Kentico.KInspector.Core.ModuleMetadata
GetResults ( IInstanceInfo instanceInfo ) : ModuleResults

Private Methods

Method Description
EvaluateAppleTouchIconAvailability ( string html, Uri baseUri, string>.Dictionary touchIconAvailabilityCache, bool evaluatePrecomposed = false ) : string

Evaluates availability of all Apple touch icons within given html.

EvaluateFaviconAvailability ( string html, Uri baseUri, string>.Dictionary faviconAvailabilityCache ) : string

Evaluates availability of all favicons within given html.

GetAppleTouchIconHrefs ( string html ) : ISet

Gets values of href attribute of all Apple touch icon precomosed link elements within html.

GetAppleTouchIconPrecomposedHrefs ( string html ) : ISet

Gets values of href attribute of all Apple touch icon link elements within html.

GetFaviconHrefs ( string html ) : ISet

Gets values of href attribute of all favicon link elements within html.

GetHrefAttributeValue ( string elementXml ) : string

Locates the href attribute within elementXml and returns its value.

GetImagesWithoutAlt ( string html ) : string
GetLinkElementHrefs ( string html, string linkRelValueRegex ) : ISet

Gets values of href attribute of all link elements within html, which have rel attribute value equal to linkRelValueRegex.

GetUri ( Uri baseUri, string href ) : Uri

Gets URI from the provided baseUri and href.

ProbeUri ( Uri uri ) : bool

Tests whether given uri exists and reads the content.

Method Details

GetModuleMetadata() public method

public GetModuleMetadata ( ) : Kentico.KInspector.Core.ModuleMetadata
return Kentico.KInspector.Core.ModuleMetadata

GetResults() public method

public GetResults ( IInstanceInfo instanceInfo ) : ModuleResults
instanceInfo IInstanceInfo
return Kentico.KInspector.Core.ModuleResults