C# 클래스 BlogEngine.Core.Providers.XmlBlogProvider

A storage provider for BlogEngine that uses XML files. To build another provider, you can just copy and modify this one. Then add it to the web.config's BlogEngine section.
상속: BlogProvider
파일 보기 프로젝트 열기: rasmuskl/ReSharperCourse

공개 메소드들

메소드 설명
DeletePackage ( string packageId ) : void

Should delete package and remove all package files

DeletePage ( Page page ) : void

Deletes a Page from the data store specified by the provider.

FillPackageFiles ( string packageId ) : List

Gets list of files for installed package

FillPackages ( ) : List

Gets all installed from gallery packages

FillPages ( ) : List

Retrieves all pages from the data store

InsertPage ( Page page ) : void

Inserts a new Page into the data store specified by the provider.

SavePackage ( InstalledPackage package ) : void

Log of all installed packages

SavePackageFiles ( List packageFiles ) : void

Log of all files for installed package

SelectPage ( System.Guid id ) : Page

Retrieves a Page from the provider based on the specified id.

UpdatePage ( Page page ) : void

Updates an existing Page in the data store specified by the provider.

비공개 메소드들

메소드 설명
AllInstalledFiles ( string pkgId ) : IEnumerable

메소드 상세

DeletePackage() 공개 메소드

Should delete package and remove all package files
public DeletePackage ( string packageId ) : void
packageId string Package ID
리턴 void

DeletePage() 공개 메소드

Deletes a Page from the data store specified by the provider.
public DeletePage ( Page page ) : void
page Page The page to delete.
리턴 void

FillPackageFiles() 공개 메소드

Gets list of files for installed package
public FillPackageFiles ( string packageId ) : List
packageId string Package ID
리턴 List

FillPackages() 공개 메소드

Gets all installed from gallery packages
public FillPackages ( ) : List
리턴 List

FillPages() 공개 메소드

Retrieves all pages from the data store
public FillPages ( ) : List
리턴 List

InsertPage() 공개 메소드

Inserts a new Page into the data store specified by the provider.
public InsertPage ( Page page ) : void
page Page The page to insert.
리턴 void

SavePackage() 공개 메소드

Log of all installed packages
public SavePackage ( InstalledPackage package ) : void
package InstalledPackage Intalled package
리턴 void

SavePackageFiles() 공개 메소드

Log of all files for installed package
public SavePackageFiles ( List packageFiles ) : void
packageFiles List List of intalled package files
리턴 void

SelectPage() 공개 메소드

Retrieves a Page from the provider based on the specified id.
public SelectPage ( System.Guid id ) : Page
id System.Guid The Page id.
리턴 Page

UpdatePage() 공개 메소드

Updates an existing Page in the data store specified by the provider.
public UpdatePage ( Page page ) : void
page Page The page to update.
리턴 void