C# Класс FluentSitemap.Core.SitemapNode

Наследование: ISitemapNode
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

Set() публичный Метод

Returns you back the SiteMapConfigurator so you can continue adding nodes
public Set ( ) : ISitemapConfigurator
Результат ISitemapConfigurator

Set() публичный Метод

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
Результат ISitemapConfigurator

SitemapNode() публичный Метод

Constructor
Will be disconnected from a SitemapConfigurator
public SitemapNode ( ) : System
Результат System

SitemapNode() публичный Метод

Constructor
public SitemapNode ( ISitemapConfigurator sitemapConfigurator ) : System
sitemapConfigurator ISitemapConfigurator the SitemapConfigurator the node is connected to
Результат System

WithChangeFrequency() публичный Метод

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
Результат ISitemapNode

WithLastModified() публичный Метод

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
Результат ISitemapNode

WithLocation() публичный Метод

The location of a node. Must start with http:// or https://
public WithLocation ( string location ) : ISitemapNode
location string
Результат ISitemapNode

WithPriority() публичный Метод

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
Результат ISitemapNode