protected WriteComment ( string id, |
||
id | string | |
title | ||
dateCreated | System.DateTime | |
dateModified | System.DateTime | |
approved | bool | |
userName | string | |
userEmail | string | |
userUrl | string | |
content | ||
Результат | void |
protected void WriteComment( string id,
BlogMLContent title,
DateTime dateCreated,
DateTime dateModified,
bool approved,
string userName,
string userEmail,
string userUrl,
BlogMLContent content
)
{
WriteStartElement("comment");
WriteNodeAttributes(id, dateCreated, dateModified, approved);
WriteAttributeStringRequired("user-name", userName ?? "");
WriteAttributeString("user-url", userUrl ?? "");
WriteAttributeString("user-email", userEmail ?? "");
WriteContent("title", title);
WriteContent("content", content);
WriteEndElement();
}
BlogMLWriterBase::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 | |
BlogMLWriterBase::WriteComment ( string id, string title, System.DateTime dateCreated, System.DateTime dateModified, bool approved, string userName, string userEmail, string userUrl, string content ) : void |