Метод | Описание | |
---|---|---|
CreateBlogPost ( BlogMLBlog blog, |
Creates a blog post and returns the id.
|
|
CreateCategories ( BlogMLBlog blog ) : string>.IDictionary |
Creates categories from the blog ml.
|
|
CreatePostComment ( |
Creates a comment in the system.
|
|
CreatePostTrackback ( |
Creates a trackback for the post.
|
|
GetAllCategories ( string blogId ) : IList |
Returns every blog category in the blog.
|
|
GetAttachmentDirectoryPath ( |
The physical path to the attachment directory. The attachment is passed in to give the blog engine the opportunity to use attachment specific directories (ex. based on mime type) should it choose. |
|
GetAttachmentDirectoryUrl ( |
The url to the attachment directory The attachment is passed in to give the blog engine the opportunity to use attachment specific directories (ex. based on mime type) should it choose. |
|
GetBlog ( string blogId ) : BlogMLBlog |
Returns the information about the specified blog
|
|
GetBlogMlContext ( ) : IBlogMLContext |
Returns the blog id from whichever context the provider happens to be running in.
|
|
GetBlogPosts ( string blogId, int pageIndex, int pageSize ) : IPagedCollection |
Returns a page of fully hydrated blog posts. The blog posts allow the user of this method to navigate blog post categories, comments, etc...
|
|
ImportComplete ( ) : void | ||
Initialize ( string name, System configValue ) : void |
Initializes the provider with values from its configuration section in web.config. The connection string can be initialized via the "ConnectionStringName" property or via the "ConnectionString" attribute. If the "ConnectionStringName" is specified, the connection string is looked up in the ConnectionStrings section of web.config. If "ConnectionString" is specified, it overrides "ConnectionStringName" and is used instead. |
|
Instance ( ) : IBlogMLProvider |
Returns the default instance of this provider.
|
|
LogError ( string message, |
Lets the provider decide how to log errors.
|
|
PreImport ( ) : void |
Method called before an import begins. Allows the provider to initialize any state in the current blog.
|
|
SetBlogMlExtendedProperties ( BlogMLBlog extendedProperties ) : void |
Sets the extended properties for the blog.
|
public abstract CreateBlogPost ( BlogMLBlog blog, |
||
blog | BlogMLBlog | |
post | ||
content | string | The rewritten content of the post. |
categoryIdMap | string>.IDictionary | A dictionary used to map the blogml category id to the internal category id. |
Результат | string |
public abstract CreateCategories ( BlogMLBlog blog ) : string>.IDictionary |
||
blog | BlogMLBlog | |
Результат | string>.IDictionary |
public abstract CreatePostComment ( |
||
bmlComment | ||
newPostId | string | |
Результат | void |
public abstract CreatePostTrackback ( |
||
trackback | ||
newPostId | string | |
Результат | void |
public abstract GetAllCategories ( string blogId ) : IList |
||
blogId | string | |
Результат | IList |
public abstract GetAttachmentDirectoryPath ( |
||
attachment | ||
Результат | string |
public abstract GetAttachmentDirectoryUrl ( |
||
attachment | ||
Результат | string |
public abstract GetBlog ( string blogId ) : BlogMLBlog | ||
blogId | string | |
Результат | BlogMLBlog |
public abstract GetBlogMlContext ( ) : IBlogMLContext | ||
Результат | IBlogMLContext |
public abstract GetBlogPosts ( string blogId, int pageIndex, int pageSize ) : IPagedCollection |
||
blogId | string | |
pageIndex | int | |
pageSize | int | |
Результат | IPagedCollection |
public abstract ImportComplete ( ) : void | ||
Результат | void |
public Initialize ( string name, System configValue ) : void | ||
name | string | The name. |
configValue | System | The config value. |
Результат | void |
public static Instance ( ) : IBlogMLProvider | ||
Результат | IBlogMLProvider |
public abstract LogError ( string message, |
||
message | string | |
e | ||
Результат | void |
public abstract SetBlogMlExtendedProperties ( BlogMLBlog extendedProperties ) : void | ||
extendedProperties | BlogMLBlog | |
Результат | void |