C# Class 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.
Inheritance: BlogProvider
Afficher le fichier Open project: rasmuskl/ReSharperCourse

Méthodes publiques

Méthode Description
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.

Private Methods

Méthode Description
AllInstalledFiles ( string pkgId ) : IEnumerable

Method Details

DeletePackage() public méthode

Should delete package and remove all package files
public DeletePackage ( string packageId ) : void
packageId string Package ID
Résultat void

DeletePage() public méthode

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

FillPackageFiles() public méthode

Gets list of files for installed package
public FillPackageFiles ( string packageId ) : List
packageId string Package ID
Résultat List

FillPackages() public méthode

Gets all installed from gallery packages
public FillPackages ( ) : List
Résultat List

FillPages() public méthode

Retrieves all pages from the data store
public FillPages ( ) : List
Résultat List

InsertPage() public méthode

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

SavePackage() public méthode

Log of all installed packages
public SavePackage ( InstalledPackage package ) : void
package InstalledPackage Intalled package
Résultat void

SavePackageFiles() public méthode

Log of all files for installed package
public SavePackageFiles ( List packageFiles ) : void
packageFiles List List of intalled package files
Résultat void

SelectPage() public méthode

Retrieves a Page from the provider based on the specified id.
public SelectPage ( System.Guid id ) : Page
id System.Guid The Page id.
Résultat Page

UpdatePage() public méthode

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