ParseEventArgs constructor
初始化 ParseEventArgs
类的新实例。
public ParseEventArgs(int siteId, int channelId, int contentId, IContentInfo contentInfo,
TemplateType templateType, int templateId, string filePath,
SortedDictionary<string, string> headCodes, SortedDictionary<string, string> bodyCodes,
SortedDictionary<string, string> footCodes, StringBuilder contentBuilder)
parameter | description |
---|---|
siteId | 站点Id。 |
channelId | 栏目Id。 |
contentId | 内容Id。 |
contentInfo | 内容实体。 |
templateType | 模板类型。 |
templateId | 模板Id。 |
filePath | 生成页面的绝对路径。 |
headCodes | 生成的Html页面中包含在head标签内的代码。 |
bodyCodes | 生成的Html页面中包含在body标签内的代码。 |
footCodes | 生成的Html页面中包含在页面最底部的代码。 |
contentBuilder | 生成的Html页面代码。 |
See Also
- interface IContentInfo
- class TemplateType
- class ParseEventArgs
- namespace SiteServer.Plugin