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

A base class for all custom providers to inherit from.
상속: System.Configuration.Provider.ProviderBase
파일 보기 프로젝트 열기: rasmuskl/ReSharperCourse 1 사용 예제들

공개 메소드들

메소드 설명
DeleteBlog ( Blog blog ) : void

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

DeleteBlogRollItem ( BlogRollItem blogRollItem ) : void

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

DeleteBlogStorageContainer ( Blog blog ) : bool

Deletes a Blog's storage container from the data store specified by the provider.

DeleteCategory ( Category category ) : void

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

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.

DeletePost ( Post post ) : void

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

DeleteProfile ( AuthorProfile profile ) : void

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

DeleteQuickNote ( System.Guid noteId ) : void

Delete quick note

FillBlogRoll ( ) : List

Retrieves all BlogRolls from the provider and returns them in a list.

FillBlogs ( ) : List

Retrieves all Blogs from the provider and returns them in a list.

FillCategories ( ) : List

Retrieves all Categories from the provider and returns them in a List.

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 provider and returns them in a List.

FillPosts ( ) : List

Retrieves all Posts from the provider and returns them in a List.

FillProfiles ( ) : List

Retrieves all Pages from the provider and returns them in a List.

FillQuickNotes ( string userId ) : List

Fill quick notes

FillQuickSettings ( string userId ) : List

Fill quick settings

FillReferrers ( ) : List

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

FillRights ( ) : IEnumerable>.IDictionary

Returns a dictionary representing rights and the roles that allow them.

InsertBlog ( Blog blog ) : void

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

InsertBlogRollItem ( BlogRollItem blogRollItem ) : void

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

InsertCategory ( Category category ) : void

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

InsertPage ( Page page ) : void

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

InsertPost ( Post post ) : void

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

InsertProfile ( AuthorProfile profile ) : void

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

InsertReferrer ( Referrer referrer ) : void

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

LoadFromDataStore ( ExtensionType extensionType, string extensionId ) : object

Loads settings from data store

LoadPingServices ( ) : StringCollection

Loads the ping services.

LoadSettings ( ) : StringDictionary

Loads the settings from the provider.

LoadStopWords ( ) : StringCollection

Loads the stop words used in the search feature.

RemoveFromDataStore ( ExtensionType extensionType, string extensionId ) : void

Removes settings from data store

SavePackage ( InstalledPackage package ) : void

Save installed package id and version

SavePackageFiles ( List packageFiles ) : void

Log of all files for installed package

SavePingServices ( StringCollection services ) : void

Saves the ping services.

SaveQuickNote ( QuickNote note ) : void

Save quick note

SaveQuickSetting ( QuickSetting setting ) : void

Save quick setting

SaveRights ( IEnumerable rights ) : void

Saves all of the Rights and the roles that coorespond with them.

SaveSettings ( StringDictionary settings ) : void

Saves the settings to the provider.

SaveToDataStore ( ExtensionType extensionType, string extensionId, object settings ) : void

Saves settings to data store

SelectBlog ( System.Guid id ) : Blog

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

SelectBlogRollItem ( System.Guid id ) : BlogRollItem

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

SelectCategory ( System.Guid id ) : Category

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

SelectPage ( System.Guid id ) : Page

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

SelectPost ( System.Guid id ) : Post

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

SelectProfile ( string id ) : AuthorProfile

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

SelectReferrer ( System.Guid id ) : Referrer

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

SetupBlogFromExistingBlog ( Blog existingBlog, Blog newBlog ) : bool

Sets up the required storage files/tables for a new Blog instance, from an existing blog instance.

UpdateBlog ( Blog blog ) : void

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

UpdateBlogRollItem ( BlogRollItem blogRollItem ) : void

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

UpdateCategory ( Category category ) : void

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

UpdatePage ( Page page ) : void

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

UpdatePost ( Post post ) : void

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

UpdateProfile ( AuthorProfile profile ) : void

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

UpdateReferrer ( Referrer referrer ) : void

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

메소드 상세

DeleteBlog() 공개 추상적인 메소드

Deletes a Blog from the data store specified by the provider.
public abstract DeleteBlog ( Blog blog ) : void
blog Blog /// The blog to delete. ///
리턴 void

DeleteBlogRollItem() 공개 추상적인 메소드

Deletes a BlogRoll from the data store specified by the provider.
public abstract DeleteBlogRollItem ( BlogRollItem blogRollItem ) : void
blogRollItem BlogRollItem /// The blog Roll Item to delete. ///
리턴 void

DeleteBlogStorageContainer() 공개 추상적인 메소드

Deletes a Blog's storage container from the data store specified by the provider.
public abstract DeleteBlogStorageContainer ( Blog blog ) : bool
blog Blog /// The blog to delete the storage container of. ///
리턴 bool

DeleteCategory() 공개 추상적인 메소드

Deletes a Category from the data store specified by the provider.
public abstract DeleteCategory ( Category category ) : void
category Category /// The category to delete. ///
리턴 void

DeletePackage() 공개 추상적인 메소드

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

DeletePage() 공개 추상적인 메소드

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

DeletePost() 공개 추상적인 메소드

Deletes a Post from the data store specified by the provider.
public abstract DeletePost ( Post post ) : void
post Post /// The post to delete. ///
리턴 void

DeleteProfile() 공개 추상적인 메소드

Deletes a Page from the data store specified by the provider.
public abstract DeleteProfile ( AuthorProfile profile ) : void
profile AuthorProfile /// The profile to delete. ///
리턴 void

DeleteQuickNote() 공개 추상적인 메소드

Delete quick note
public abstract DeleteQuickNote ( System.Guid noteId ) : void
noteId System.Guid Note ID
리턴 void

FillBlogRoll() 공개 추상적인 메소드

Retrieves all BlogRolls from the provider and returns them in a list.
public abstract FillBlogRoll ( ) : List
리턴 List

FillBlogs() 공개 추상적인 메소드

Retrieves all Blogs from the provider and returns them in a list.
public abstract FillBlogs ( ) : List
리턴 List

FillCategories() 공개 추상적인 메소드

Retrieves all Categories from the provider and returns them in a List.
public abstract FillCategories ( ) : List
리턴 List

FillPackageFiles() 공개 추상적인 메소드

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

FillPackages() 공개 추상적인 메소드

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

FillPages() 공개 추상적인 메소드

Retrieves all Pages from the provider and returns them in a List.
public abstract FillPages ( ) : List
리턴 List

FillPosts() 공개 추상적인 메소드

Retrieves all Posts from the provider and returns them in a List.
public abstract FillPosts ( ) : List
리턴 List

FillProfiles() 공개 추상적인 메소드

Retrieves all Pages from the provider and returns them in a List.
public abstract FillProfiles ( ) : List
리턴 List

FillQuickNotes() 공개 추상적인 메소드

Fill quick notes
public abstract FillQuickNotes ( string userId ) : List
userId string User ID
리턴 List

FillQuickSettings() 공개 추상적인 메소드

Fill quick settings
public abstract FillQuickSettings ( string userId ) : List
userId string User ID
리턴 List

FillReferrers() 공개 추상적인 메소드

Deletes a Referrer from the data store specified by the provider.
public abstract FillReferrers ( ) : List
리턴 List

FillRights() 공개 추상적인 메소드

Returns a dictionary representing rights and the roles that allow them.
public abstract FillRights ( ) : IEnumerable>.IDictionary
리턴 IEnumerable>.IDictionary

InsertBlog() 공개 추상적인 메소드

Inserts a new Blog into the data store specified by the provider.
public abstract InsertBlog ( Blog blog ) : void
blog Blog /// The blog. ///
리턴 void

InsertBlogRollItem() 공개 추상적인 메소드

Inserts a new BlogRoll into the data store specified by the provider.
public abstract InsertBlogRollItem ( BlogRollItem blogRollItem ) : void
blogRollItem BlogRollItem /// The blog Roll Item. ///
리턴 void

InsertCategory() 공개 추상적인 메소드

Inserts a new Category into the data store specified by the provider.
public abstract InsertCategory ( Category category ) : void
category Category /// The category. ///
리턴 void

InsertPage() 공개 추상적인 메소드

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

InsertPost() 공개 추상적인 메소드

Inserts a new Post into the data store specified by the provider.
public abstract InsertPost ( Post post ) : void
post Post /// The post to insert. ///
리턴 void

InsertProfile() 공개 추상적인 메소드

Inserts a new Page into the data store specified by the provider.
public abstract InsertProfile ( AuthorProfile profile ) : void
profile AuthorProfile /// The profile to insert. ///
리턴 void

InsertReferrer() 공개 추상적인 메소드

Inserts a new Referrer into the data store specified by the provider.
public abstract InsertReferrer ( Referrer referrer ) : void
referrer Referrer /// The referrer to insert. ///
리턴 void

LoadFromDataStore() 공개 추상적인 메소드

Loads settings from data store
public abstract LoadFromDataStore ( ExtensionType extensionType, string extensionId ) : object
extensionType ExtensionType /// Extension Type ///
extensionId string /// Extensio Id ///
리턴 object

LoadPingServices() 공개 추상적인 메소드

Loads the ping services.
public abstract LoadPingServices ( ) : StringCollection
리턴 System.Collections.Specialized.StringCollection

LoadSettings() 공개 추상적인 메소드

Loads the settings from the provider.
public abstract LoadSettings ( ) : StringDictionary
리턴 System.Collections.Specialized.StringDictionary

LoadStopWords() 공개 추상적인 메소드

Loads the stop words used in the search feature.
public abstract LoadStopWords ( ) : StringCollection
리턴 System.Collections.Specialized.StringCollection

RemoveFromDataStore() 공개 추상적인 메소드

Removes settings from data store
public abstract RemoveFromDataStore ( ExtensionType extensionType, string extensionId ) : void
extensionType ExtensionType /// Extension Type ///
extensionId string /// Extension Id ///
리턴 void

SavePackage() 공개 추상적인 메소드

Save installed package id and version
public abstract SavePackage ( InstalledPackage package ) : void
package InstalledPackage Intalled package
리턴 void

SavePackageFiles() 공개 추상적인 메소드

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

SavePingServices() 공개 추상적인 메소드

Saves the ping services.
public abstract SavePingServices ( StringCollection services ) : void
services System.Collections.Specialized.StringCollection /// The services. ///
리턴 void

SaveQuickNote() 공개 추상적인 메소드

Save quick note
public abstract SaveQuickNote ( QuickNote note ) : void
note QuickNote Quick note
리턴 void

SaveQuickSetting() 공개 추상적인 메소드

Save quick setting
public abstract SaveQuickSetting ( QuickSetting setting ) : void
setting QuickSetting Quick setting
리턴 void

SaveRights() 공개 추상적인 메소드

Saves all of the Rights and the roles that coorespond with them.
public abstract SaveRights ( IEnumerable rights ) : void
rights IEnumerable
리턴 void

SaveSettings() 공개 추상적인 메소드

Saves the settings to the provider.
public abstract SaveSettings ( StringDictionary settings ) : void
settings System.Collections.Specialized.StringDictionary /// The settings. ///
리턴 void

SaveToDataStore() 공개 추상적인 메소드

Saves settings to data store
public abstract SaveToDataStore ( ExtensionType extensionType, string extensionId, object settings ) : void
extensionType ExtensionType /// Extension Type ///
extensionId string /// Extension Id ///
settings object /// Settings object ///
리턴 void

SelectBlog() 공개 추상적인 메소드

Retrieves a Blog from the provider based on the specified id.
public abstract SelectBlog ( System.Guid id ) : Blog
id System.Guid The Blog Id.
리턴 Blog

SelectBlogRollItem() 공개 추상적인 메소드

Retrieves a BlogRoll from the provider based on the specified id.
public abstract SelectBlogRollItem ( System.Guid id ) : BlogRollItem
id System.Guid The Blog Roll Item Id.
리턴 BlogRollItem

SelectCategory() 공개 추상적인 메소드

Retrieves a Category from the provider based on the specified id.
public abstract SelectCategory ( System.Guid id ) : Category
id System.Guid The Category id.
리턴 Category

SelectPage() 공개 추상적인 메소드

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

SelectPost() 공개 추상적인 메소드

Retrieves a Post from the provider based on the specified id.
public abstract SelectPost ( System.Guid id ) : Post
id System.Guid The Post id.
리턴 Post

SelectProfile() 공개 추상적인 메소드

Retrieves a Page from the provider based on the specified id.
public abstract SelectProfile ( string id ) : AuthorProfile
id string The AuthorProfile id.
리턴 AuthorProfile

SelectReferrer() 공개 추상적인 메소드

Retrieves a Referrer from the provider based on the specified id.
public abstract SelectReferrer ( System.Guid id ) : Referrer
id System.Guid The Referrer Id.
리턴 Referrer

SetupBlogFromExistingBlog() 공개 추상적인 메소드

Sets up the required storage files/tables for a new Blog instance, from an existing blog instance.
public abstract SetupBlogFromExistingBlog ( Blog existingBlog, Blog newBlog ) : bool
existingBlog Blog The existing blog instance to base the new blog instance off of.
newBlog Blog The new blog instance.
리턴 bool

UpdateBlog() 공개 추상적인 메소드

Updates an existing Blog in the data store specified by the provider.
public abstract UpdateBlog ( Blog blog ) : void
blog Blog /// The blog to update. ///
리턴 void

UpdateBlogRollItem() 공개 추상적인 메소드

Updates an existing BlogRollItem in the data store specified by the provider.
public abstract UpdateBlogRollItem ( BlogRollItem blogRollItem ) : void
blogRollItem BlogRollItem /// The blogroll item to update. ///
리턴 void

UpdateCategory() 공개 추상적인 메소드

Updates an existing Category in the data store specified by the provider.
public abstract UpdateCategory ( Category category ) : void
category Category /// The category to update. ///
리턴 void

UpdatePage() 공개 추상적인 메소드

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

UpdatePost() 공개 추상적인 메소드

Updates an existing Post in the data store specified by the provider.
public abstract UpdatePost ( Post post ) : void
post Post /// The post to update. ///
리턴 void

UpdateProfile() 공개 추상적인 메소드

Updates an existing Page in the data store specified by the provider.
public abstract UpdateProfile ( AuthorProfile profile ) : void
profile AuthorProfile /// The profile to update. ///
리턴 void

UpdateReferrer() 공개 추상적인 메소드

Updates an existing Referrer in the data store specified by the provider.
public abstract UpdateReferrer ( Referrer referrer ) : void
referrer Referrer /// The referrer to update. ///
리턴 void