Interface INovaRazorOutputFormat
Output format specific rendering methods
Namespace: Noxum.Nova.Razor.Model
Assembly: Noxum.Nova.Razor.Model.dll
Syntax
public interface INovaRazorOutputFormat
Properties
MediaType
Get the media type for the output format
Declaration
string MediaType { get; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
RenderXHtmlAsync(NovaRazorContext, string, ObjId, IHtmlContentBuilder)
Convert an XHTML fragment into the desired output format and write it into the provided builder
Declaration
Task RenderXHtmlAsync(NovaRazorContext context, string xhtml, ObjId langId, IHtmlContentBuilder contentBuilder)
Parameters
| Type | Name | Description |
|---|---|---|
| NovaRazorContext | context | |
| string | xhtml | |
| ObjId | langId | |
| IHtmlContentBuilder | contentBuilder |
Returns
| Type | Description |
|---|---|
| Task |