Class HtmlResultExecutor
Executes a HtmlResult
Namespace: Eighty.AspNetCore.Mvc.ResultExecutors
Assembly: Eighty.AspNetCore.dll
Syntax
public class HtmlResultExecutor : object
Constructors
| Improve this Doc View SourceHtmlResultExecutor(ILogger<HtmlResultExecutor>, IHttpResponseStreamWriterFactory)
Creates an HtmlResultExecutor
Declaration
public HtmlResultExecutor(ILogger<HtmlResultExecutor> logger, IHttpResponseStreamWriterFactory writerFactory)
Parameters
Type | Name | Description |
---|---|---|
ILogger<HtmlResultExecutor> | logger | The logger |
IHttpResponseStreamWriterFactory | writerFactory | The writer factory |
Methods
| Improve this Doc View SourceExecuteAsync(ActionContext, HtmlResult)
Execute the HtmlResult
Declaration
public Task ExecuteAsync(ActionContext context, HtmlResult result)
Parameters
Type | Name | Description |
---|---|---|
ActionContext | context | The action context |
HtmlResult | result | The action result |
Returns
Type | Description |
---|---|
Task |