public HtmlOutputFormatter(IDocuTemplate view) { this.view = view; Formatters = new List<IOutputFormatterPart> { new OutputFormatterPart<Summary>(FormatGeneralContainer), new OutputFormatterPart<Remarks>(FormatGeneralContainer), new OutputFormatterPart<See>(FormatSee), new OutputFormatterPart<InlineText>(FormatInlineText), new OutputFormatterPart<InlineCode>(FormatInlineCode), new OutputFormatterPart<MultilineCode>(FormatMultilineCode), new OutputFormatterPart<Paragraph>(FormatParagraph), new OutputFormatterPart<ParameterReference>(FormatParameterReference), new OutputFormatterPart<DefinitionList>(FormatDefinitionList), new OutputFormatterPart<BulletList>(FormatBulletList), new OutputFormatterPart<NumberList>(FormatNumberList), new OutputFormatterPart<TableList>(FormatTableList), }; NamespaceUrlFormat = "~/{namespace}/index.htm"; TypeUrlFormat = "~/{type.namespace}/{type}.htm"; MethodUrlFormat = "~/{type.namespace}/{type}.htm#{method}"; PropertyUrlFormat = "~/{type.namespace}/{type}.htm#{property}"; FieldUrlFormat = "~/{type.namespace}/{type}.htm#{field}"; EventUrlFormat = "~/{type.namespace}/{type}.htm#{event}"; }
public HtmlOutputFormatter(IDocuTemplate view) { this.view = view; Formatters = new List <IOutputFormatterPart> { new OutputFormatterPart <Summary>(FormatGeneralContainer), new OutputFormatterPart <Remarks>(FormatGeneralContainer), new OutputFormatterPart <See>(FormatSee), new OutputFormatterPart <InlineText>(FormatInlineText), new OutputFormatterPart <InlineCode>(FormatInlineCode), new OutputFormatterPart <MultilineCode>(FormatMultilineCode), new OutputFormatterPart <Paragraph>(FormatParagraph), new OutputFormatterPart <ParameterReference>(FormatParameterReference), new OutputFormatterPart <DefinitionList>(FormatDefinitionList), new OutputFormatterPart <BulletList>(FormatBulletList), new OutputFormatterPart <NumberList>(FormatNumberList), new OutputFormatterPart <TableList>(FormatTableList), }; NamespaceUrlFormat = "~/{namespace}/index.htm"; TypeUrlFormat = "~/{type.namespace}/{type}.htm"; MethodUrlFormat = "~/{type.namespace}/{type}.htm#{method}"; PropertyUrlFormat = "~/{type.namespace}/{type}.htm#{property}"; FieldUrlFormat = "~/{type.namespace}/{type}.htm#{field}"; EventUrlFormat = "~/{type.namespace}/{type}.htm#{event}"; }