C# 클래스 ScrewTurn.Wiki.Content

Contains the Contents.
파일 보기 프로젝트 열기: mono/ScrewTurnWiki 1 사용 예제들

공개 메소드들

메소드 설명
ClearPseudoCache ( ) : void

Clears the pseudo cache.

GetFormattedPageContent ( System.PageInfo page, bool cached ) : string

Gets the formatted Page Content, properly handling content caching and the Formatting Pipeline.

GetPageContent ( System.PageInfo pageInfo, bool cached ) : PageContent

Reads the Content of a Page.

GetPseudoCacheValue ( string name ) : string

Gets a pseudo cache item value.

InvalidateAllPages ( ) : void

Invalidates all the cache Contents.

InvalidatePage ( System.PageInfo pageInfo ) : void

Invalidates the cached Content of a Page.

SetPseudoCacheValue ( string name, string value ) : void

Sets a pseudo cache item value, only if the content cache is enabled.

메소드 상세

ClearPseudoCache() 공개 정적인 메소드

Clears the pseudo cache.
public static ClearPseudoCache ( ) : void
리턴 void

GetFormattedPageContent() 공개 정적인 메소드

Gets the formatted Page Content, properly handling content caching and the Formatting Pipeline.
public static GetFormattedPageContent ( System.PageInfo page, bool cached ) : string
page System.PageInfo The Page to get the formatted Content of.
cached bool Specifies whether the formatted content has to be cached or not.
리턴 string

GetPageContent() 공개 정적인 메소드

Reads the Content of a Page.
public static GetPageContent ( System.PageInfo pageInfo, bool cached ) : PageContent
pageInfo System.PageInfo The Page.
cached bool Specifies whether the page has to be cached or not.
리턴 ScrewTurn.Wiki.PluginFramework.PageContent

GetPseudoCacheValue() 공개 정적인 메소드

Gets a pseudo cache item value.
public static GetPseudoCacheValue ( string name ) : string
name string The name of the item to retrieve the value of.
리턴 string

InvalidateAllPages() 공개 정적인 메소드

Invalidates all the cache Contents.
public static InvalidateAllPages ( ) : void
리턴 void

InvalidatePage() 공개 정적인 메소드

Invalidates the cached Content of a Page.
public static InvalidatePage ( System.PageInfo pageInfo ) : void
pageInfo System.PageInfo The Page to invalidate the cached content of.
리턴 void

SetPseudoCacheValue() 공개 정적인 메소드

Sets a pseudo cache item value, only if the content cache is enabled.
public static SetPseudoCacheValue ( string name, string value ) : void
name string The name of the item to store the value of.
value string The value of the item.
리턴 void