C# Класс BlogML.BlogMLWriterBase

Показать файл Открыть проект

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

Метод Описание
Write ( XmlWriter writer ) : void

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

Метод Описание
FormatDateTime ( System.DateTime date ) : string
InternalWriteBlog ( ) : void
WriteAttachment ( string embeddedUrl, double size, string mimeType, string externalUri, bool embedded, byte data ) : void
WriteAttachment ( string embeddedUrl, string mimeType, Stream inputStream ) : void
WriteAttachment ( string externalUri, string mimeType, string fullUrl ) : void
WriteAttributeString ( string name, string value ) : void
WriteAttributeStringRequired ( string name, string value ) : void
WriteAuthor ( string id, string name, string email, System.DateTime dateCreated, System.DateTime dateModified, bool approved ) : void
WriteAuthorReference ( string refId ) : void
WriteCategory ( string id, string title, ContentTypes titleContentType, System.DateTime dateCreated, System.DateTime dateModified, bool approved, string description, string parentRef ) : void
WriteCategory ( string id, string title, System.DateTime dateCreated, System.DateTime dateModified, bool approved, string description, string parentRef ) : void
WriteCategoryReference ( string refId ) : void
WriteComment ( string id, BlogMLContent title, System.DateTime dateCreated, System.DateTime dateModified, bool approved, string userName, string userEmail, string userUrl, BlogMLContent content ) : void
WriteComment ( string id, string title, ContentTypes titleContentType, System.DateTime dateCreated, System.DateTime dateModified, bool approved, string userName, string userEmail, string userUrl, string content, ContentTypes commentContentType ) : void
WriteComment ( string id, string title, System.DateTime dateCreated, System.DateTime dateModified, bool approved, string userName, string userEmail, string userUrl, string content ) : void
WriteContent ( string elementName, BlogMLContent content ) : void
WriteEndElement ( ) : void
WriteExtendedProperty ( string name, string value ) : void
WriteNodeAttributes ( string id, System.DateTime dateCreated, System.DateTime dateModified, bool approved ) : void
WriteStartAttachments ( ) : void
WriteStartAuthors ( ) : void
WriteStartBlog ( string title, ContentTypes titleContentType, string subTitle, ContentTypes subTitleContentType, string rootUrl, System.DateTime dateCreated ) : void
WriteStartBlog ( string title, string subTitle, string rootUrl ) : void
WriteStartBlog ( string title, string subTitle, string rootUrl, System.DateTime dateCreated ) : void
WriteStartCategories ( ) : void
WriteStartComments ( ) : void
WriteStartElement ( string tag ) : void
WriteStartExtendedProperties ( ) : void
WriteStartPost ( string id, BlogMLContent title, System.DateTime dateCreated, System.DateTime dateModified, bool approved, BlogMLContent content, string postUrl, UInt32 views, bool hasexcerpt, BlogMLContent excerpt, BlogPostTypes blogpostType, string postName ) : void
WriteStartPost ( string id, string title, ContentTypes titleContentType, System.DateTime dateCreated, System.DateTime dateModified, bool approved, string content, ContentTypes postContentType, string postUrl, UInt32 views, bool hasexcerpt, string excerpt, ContentTypes excerptContentType, BlogPostTypes blogpostType, string postName ) : void
WriteStartPost ( string id, string title, System.DateTime dateCreated, System.DateTime dateModified, bool approved, string content, string postUrl ) : void
WriteStartPost ( string id, string title, System.DateTime dateCreated, System.DateTime dateModified, bool approved, string content, string postUrl, UInt32 views, BlogPostTypes blogpostType, string postName ) : void
WriteStartPost ( string id, string title, System.DateTime dateCreated, System.DateTime dateModified, bool approved, string content, string postUrl, UInt32 views, string excerpt, BlogPostTypes blogpostType, string postName ) : void
WriteStartPosts ( ) : void
WriteStartTrackbacks ( ) : void
WriteTrackback ( string id, string title, ContentTypes titleContentType, System.DateTime dateCreated, System.DateTime dateModified, bool approved, string url ) : void
WriteTrackback ( string id, string title, System.DateTime dateCreated, System.DateTime dateModified, bool approved, string url ) : void

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

Метод Описание
CopyStream ( Stream src, Stream dst ) : void

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

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

protected FormatDateTime ( System.DateTime date ) : string
date System.DateTime
Результат string

InternalWriteBlog() защищенный абстрактный Метод

protected abstract InternalWriteBlog ( ) : void
Результат void

Write() публичный Метод

public Write ( XmlWriter writer ) : void
writer System.Xml.XmlWriter
Результат void

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

protected WriteAttachment ( string embeddedUrl, double size, string mimeType, string externalUri, bool embedded, byte data ) : void
embeddedUrl string
size double
mimeType string
externalUri string
embedded bool
data byte
Результат void

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

protected WriteAttachment ( string embeddedUrl, string mimeType, Stream inputStream ) : void
embeddedUrl string
mimeType string
inputStream Stream
Результат void

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

protected WriteAttachment ( string externalUri, string mimeType, string fullUrl ) : void
externalUri string
mimeType string
fullUrl string
Результат void

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

protected WriteAttributeString ( string name, string value ) : void
name string
value string
Результат void

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

protected WriteAttributeStringRequired ( string name, string value ) : void
name string
value string
Результат void

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

protected WriteAuthor ( string id, string name, string email, System.DateTime dateCreated, System.DateTime dateModified, bool approved ) : void
id string
name string
email string
dateCreated System.DateTime
dateModified System.DateTime
approved bool
Результат void

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

protected WriteAuthorReference ( string refId ) : void
refId string
Результат void

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

protected WriteCategory ( string id, string title, ContentTypes titleContentType, System.DateTime dateCreated, System.DateTime dateModified, bool approved, string description, string parentRef ) : void
id string
title string
titleContentType ContentTypes
dateCreated System.DateTime
dateModified System.DateTime
approved bool
description string
parentRef string
Результат void

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

protected WriteCategory ( string id, string title, System.DateTime dateCreated, System.DateTime dateModified, bool approved, string description, string parentRef ) : void
id string
title string
dateCreated System.DateTime
dateModified System.DateTime
approved bool
description string
parentRef string
Результат void

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

protected WriteCategoryReference ( string refId ) : void
refId string
Результат void

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

protected WriteComment ( string id, BlogMLContent title, System.DateTime dateCreated, System.DateTime dateModified, bool approved, string userName, string userEmail, string userUrl, BlogMLContent content ) : void
id string
title BlogML.Xml.BlogMLContent
dateCreated System.DateTime
dateModified System.DateTime
approved bool
userName string
userEmail string
userUrl string
content BlogML.Xml.BlogMLContent
Результат void

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

protected WriteComment ( string id, string title, ContentTypes titleContentType, System.DateTime dateCreated, System.DateTime dateModified, bool approved, string userName, string userEmail, string userUrl, string content, ContentTypes commentContentType ) : void
id string
title string
titleContentType ContentTypes
dateCreated System.DateTime
dateModified System.DateTime
approved bool
userName string
userEmail string
userUrl string
content string
commentContentType ContentTypes
Результат void

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

protected WriteComment ( string id, string title, System.DateTime dateCreated, System.DateTime dateModified, bool approved, string userName, string userEmail, string userUrl, string content ) : void
id string
title string
dateCreated System.DateTime
dateModified System.DateTime
approved bool
userName string
userEmail string
userUrl string
content string
Результат void

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

protected WriteContent ( string elementName, BlogMLContent content ) : void
elementName string
content BlogML.Xml.BlogMLContent
Результат void

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

protected WriteEndElement ( ) : void
Результат void

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

protected WriteExtendedProperty ( string name, string value ) : void
name string
value string
Результат void

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

protected WriteNodeAttributes ( string id, System.DateTime dateCreated, System.DateTime dateModified, bool approved ) : void
id string
dateCreated System.DateTime
dateModified System.DateTime
approved bool
Результат void

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

protected WriteStartAttachments ( ) : void
Результат void

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

protected WriteStartAuthors ( ) : void
Результат void

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

protected WriteStartBlog ( string title, ContentTypes titleContentType, string subTitle, ContentTypes subTitleContentType, string rootUrl, System.DateTime dateCreated ) : void
title string
titleContentType ContentTypes
subTitle string
subTitleContentType ContentTypes
rootUrl string
dateCreated System.DateTime
Результат void

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

protected WriteStartBlog ( string title, string subTitle, string rootUrl ) : void
title string
subTitle string
rootUrl string
Результат void

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

protected WriteStartBlog ( string title, string subTitle, string rootUrl, System.DateTime dateCreated ) : void
title string
subTitle string
rootUrl string
dateCreated System.DateTime
Результат void

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

protected WriteStartCategories ( ) : void
Результат void

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

protected WriteStartComments ( ) : void
Результат void

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

protected WriteStartElement ( string tag ) : void
tag string
Результат void

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

protected WriteStartExtendedProperties ( ) : void
Результат void

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

protected WriteStartPost ( string id, BlogMLContent title, System.DateTime dateCreated, System.DateTime dateModified, bool approved, BlogMLContent content, string postUrl, UInt32 views, bool hasexcerpt, BlogMLContent excerpt, BlogPostTypes blogpostType, string postName ) : void
id string
title BlogML.Xml.BlogMLContent
dateCreated System.DateTime
dateModified System.DateTime
approved bool
content BlogML.Xml.BlogMLContent
postUrl string
views System.UInt32
hasexcerpt bool
excerpt BlogML.Xml.BlogMLContent
blogpostType BlogPostTypes
postName string
Результат void

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

protected WriteStartPost ( string id, string title, ContentTypes titleContentType, System.DateTime dateCreated, System.DateTime dateModified, bool approved, string content, ContentTypes postContentType, string postUrl, UInt32 views, bool hasexcerpt, string excerpt, ContentTypes excerptContentType, BlogPostTypes blogpostType, string postName ) : void
id string
title string
titleContentType ContentTypes
dateCreated System.DateTime
dateModified System.DateTime
approved bool
content string
postContentType ContentTypes
postUrl string
views System.UInt32
hasexcerpt bool
excerpt string
excerptContentType ContentTypes
blogpostType BlogPostTypes
postName string
Результат void

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

protected WriteStartPost ( string id, string title, System.DateTime dateCreated, System.DateTime dateModified, bool approved, string content, string postUrl ) : void
id string
title string
dateCreated System.DateTime
dateModified System.DateTime
approved bool
content string
postUrl string
Результат void

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

protected WriteStartPost ( string id, string title, System.DateTime dateCreated, System.DateTime dateModified, bool approved, string content, string postUrl, UInt32 views, BlogPostTypes blogpostType, string postName ) : void
id string
title string
dateCreated System.DateTime
dateModified System.DateTime
approved bool
content string
postUrl string
views System.UInt32
blogpostType BlogPostTypes
postName string
Результат void

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

protected WriteStartPost ( string id, string title, System.DateTime dateCreated, System.DateTime dateModified, bool approved, string content, string postUrl, UInt32 views, string excerpt, BlogPostTypes blogpostType, string postName ) : void
id string
title string
dateCreated System.DateTime
dateModified System.DateTime
approved bool
content string
postUrl string
views System.UInt32
excerpt string
blogpostType BlogPostTypes
postName string
Результат void

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

protected WriteStartPosts ( ) : void
Результат void

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

protected WriteStartTrackbacks ( ) : void
Результат void

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

protected WriteTrackback ( string id, string title, ContentTypes titleContentType, System.DateTime dateCreated, System.DateTime dateModified, bool approved, string url ) : void
id string
title string
titleContentType ContentTypes
dateCreated System.DateTime
dateModified System.DateTime
approved bool
url string
Результат void

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

protected WriteTrackback ( string id, string title, System.DateTime dateCreated, System.DateTime dateModified, bool approved, string url ) : void
id string
title string
dateCreated System.DateTime
dateModified System.DateTime
approved bool
url string
Результат void