C# Class FluentSitemap.Core.SitemapNode

Inheritance: ISitemapNode
Afficher le fichier Open project: khalidabuhakmeh/FluentSitemap

Méthodes publiques

Méthode Description
Set ( ) : ISitemapConfigurator

Returns you back the SiteMapConfigurator so you can continue adding nodes

Set ( ISitemapNode changes ) : ISitemapConfigurator

Allows you to set changes all at once by using a SiteMapConfigurator node

SitemapNode ( ) : System

Constructor

Will be disconnected from a SitemapConfigurator

SitemapNode ( ISitemapConfigurator sitemapConfigurator ) : System

Constructor

WithChangeFrequency ( ChangeFrequencyType changeFrequency ) : ISitemapNode

used as a hint for the crawlers to indicate how ofter the page is modified and how often it should be indexed.

WithLastModified ( System.DateTime lastModified ) : ISitemapNode

The date when this location was last modified Be advised that you do not have to modify this tag each time you modify the document. The search engines will get the dates of the documents once they crawl them.

WithLocation ( string location ) : ISitemapNode

The location of a node. Must start with http:// or https://

WithPriority ( double priority ) : ISitemapNode

The Priority value can vary from 0.0 to 1.0. Be advised that this indicates only your personal preferences for the way you would like to have your website indexed. The default value of a page that is not prioritized is 0.5. Any page with higher value will be crawled before the page with priority 0.5, and all pages with lower priority will be indexed after the page with 0.5 value. Since the priority is relative it is used only for your website and even if you set a high priority to all of your pages this does not mean that they will be indexed more often, because this value is not used to make comparison between different websites.

Method Details

Set() public méthode

Returns you back the SiteMapConfigurator so you can continue adding nodes
public Set ( ) : ISitemapConfigurator
Résultat ISitemapConfigurator

Set() public méthode

Allows you to set changes all at once by using a SiteMapConfigurator node
public Set ( ISitemapNode changes ) : ISitemapConfigurator
changes ISitemapNode the changes to be mapped
Résultat ISitemapConfigurator

SitemapNode() public méthode

Constructor
Will be disconnected from a SitemapConfigurator
public SitemapNode ( ) : System
Résultat System

SitemapNode() public méthode

Constructor
public SitemapNode ( ISitemapConfigurator sitemapConfigurator ) : System
sitemapConfigurator ISitemapConfigurator the SitemapConfigurator the node is connected to
Résultat System

WithChangeFrequency() public méthode

used as a hint for the crawlers to indicate how ofter the page is modified and how often it should be indexed.
public WithChangeFrequency ( ChangeFrequencyType changeFrequency ) : ISitemapNode
changeFrequency ChangeFrequencyType
Résultat ISitemapNode

WithLastModified() public méthode

The date when this location was last modified Be advised that you do not have to modify this tag each time you modify the document. The search engines will get the dates of the documents once they crawl them.
public WithLastModified ( System.DateTime lastModified ) : ISitemapNode
lastModified System.DateTime
Résultat ISitemapNode

WithLocation() public méthode

The location of a node. Must start with http:// or https://
public WithLocation ( string location ) : ISitemapNode
location string
Résultat ISitemapNode

WithPriority() public méthode

The Priority value can vary from 0.0 to 1.0. Be advised that this indicates only your personal preferences for the way you would like to have your website indexed. The default value of a page that is not prioritized is 0.5. Any page with higher value will be crawled before the page with priority 0.5, and all pages with lower priority will be indexed after the page with 0.5 value. Since the priority is relative it is used only for your website and even if you set a high priority to all of your pages this does not mean that they will be indexed more often, because this value is not used to make comparison between different websites.
public WithPriority ( double priority ) : ISitemapNode
priority double
Résultat ISitemapNode