C# Класс Subtext.BlogML.BlogMLWriter

Наследование: BlogML.BlogMLWriterBase
Показать файл Открыть проект

Открытые методы

Метод Описание
Create ( IBlogMLProvider provider ) : BlogMLWriter

Creates an instance of the BlogMl Writer.

GetMimeType ( string fullUrl ) : string

Returns a MimeType from a URL

Защищенные методы

Метод Описание
InternalWriteBlog ( ) : void

Writes the blog.

WritePostCategories ( BlogMLPost categoryRefs ) : void
WritePostsPage ( IPagedCollection posts ) : void

Приватные методы

Метод Описание
BlogMLWriter ( IBlogMLProvider provider, IBlogMLContext context ) : System

Constructs an instance of the BlogMlWriter for the specified blogId.

WriteAuthors ( ) : void
WriteCategories ( IList bmlCategories ) : void
WriteExtendedProperties ( ) : void
WritePost ( BlogMLPost bmlPost ) : void
WritePostAttachments ( BlogMLPost bmlPost ) : void
WritePostAuthor ( string authorId ) : void
WritePostAuthors ( BlogMLPost authorsRefs ) : void
WritePostCategory ( string categoryId ) : void
WritePostComment ( BlogMLComment bmlComment ) : void
WritePostComments ( BlogMLPost comments ) : void
WritePostTrackbacks ( BlogMLPost trackbacks ) : void
WritePosts ( ICollectionBook allPosts ) : void

Описание методов

Create() публичный статический Метод

Creates an instance of the BlogMl Writer.
public static Create ( IBlogMLProvider provider ) : BlogMLWriter
provider IBlogMLProvider The provider.
Результат BlogMLWriter

GetMimeType() публичный статический Метод

Returns a MimeType from a URL
public static GetMimeType ( string fullUrl ) : string
fullUrl string The URL to check for a mime type
Результат string

InternalWriteBlog() защищенный Метод

Writes the blog.
protected InternalWriteBlog ( ) : void
Результат void

WritePostCategories() защищенный Метод

protected WritePostCategories ( BlogMLPost categoryRefs ) : void
categoryRefs BlogML.Xml.BlogMLPost
Результат void

WritePostsPage() защищенный Метод

protected WritePostsPage ( IPagedCollection posts ) : void
posts IPagedCollection
Результат void