C# 클래스 FluentSitemap.Core.SitemapNode

상속: ISitemapNode
파일 보기 프로젝트 열기: khalidabuhakmeh/FluentSitemap

공개 메소드들

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