C# 클래스 ScrewTurn.Wiki.NavigationPaths

Manages navigation paths.
파일 보기 프로젝트 열기: mono/ScrewTurnWiki 1 사용 예제들

공개 메소드들

메소드 설명
AddNavigationPath ( NamespaceInfo nspace, string name, List pages, IPagesStorageProviderV30 provider ) : bool

Adds a new Navigation Path.

Exists ( string name ) : bool

Finds a Navigation Path's Name.

Find ( string fullName ) : NavigationPath

Finds and returns a Path.

GetAllNavigationPaths ( ) : List

Gets the list of the Navigation Paths.

GetNavigationPaths ( NamespaceInfo nspace ) : List

Gets the list of the Navigation Paths in a namespace.

ModifyNavigationPath ( string fullName, List pages ) : bool

Modifies a Navigation Path.

PathsPerPage ( System.PageInfo page ) : string[]

Finds all the Navigation Paths that include a Page.

RemoveNavigationPath ( string fullName ) : bool

Removes a Navigation Path.

메소드 상세

AddNavigationPath() 공개 정적인 메소드

Adds a new Navigation Path.
public static AddNavigationPath ( NamespaceInfo nspace, string name, List pages, IPagesStorageProviderV30 provider ) : bool
nspace NamespaceInfo The target namespace (null for the root).
name string The Name.
pages List The Pages.
provider IPagesStorageProviderV30 The Provider to use for the new Navigation Path, or null for the default provider.
리턴 bool

Exists() 공개 정적인 메소드

Finds a Navigation Path's Name.
public static Exists ( string name ) : bool
name string The Name.
리턴 bool

Find() 공개 정적인 메소드

Finds and returns a Path.
public static Find ( string fullName ) : NavigationPath
fullName string The full name.
리턴 NavigationPath

GetAllNavigationPaths() 공개 정적인 메소드

Gets the list of the Navigation Paths.
public static GetAllNavigationPaths ( ) : List
리턴 List

GetNavigationPaths() 공개 정적인 메소드

Gets the list of the Navigation Paths in a namespace.
public static GetNavigationPaths ( NamespaceInfo nspace ) : List
nspace NamespaceInfo The namespace.
리턴 List

ModifyNavigationPath() 공개 정적인 메소드

Modifies a Navigation Path.
public static ModifyNavigationPath ( string fullName, List pages ) : bool
fullName string The full name of the path to modify.
pages List The list of Pages.
리턴 bool

PathsPerPage() 공개 정적인 메소드

Finds all the Navigation Paths that include a Page.
public static PathsPerPage ( System.PageInfo page ) : string[]
page System.PageInfo The Page.
리턴 string[]

RemoveNavigationPath() 공개 정적인 메소드

Removes a Navigation Path.
public static RemoveNavigationPath ( string fullName ) : bool
fullName string The full name of the path to remove.
리턴 bool