C# Class Eighty.AspNetCore.Mvc.ActionResults.HtmlResult

An IActionResult which renders some Html
Inheritance: IActionResult
显示文件 Open project: benjamin-hodgson/Eighty

Public Methods

Method Description
ExecuteResultAsync ( ActionContext context ) : Task
HtmlResult ( Html html, HttpStatusCode? statusCode = null, bool renderAsync = false ) : System

Creates an HtmlResult

Method Details

ExecuteResultAsync() public method

public ExecuteResultAsync ( ActionContext context ) : Task
context ActionContext
return Task

HtmlResult() public method

Creates an HtmlResult
public HtmlResult ( Html html, HttpStatusCode? statusCode = null, bool renderAsync = false ) : System
html Html The
statusCode HttpStatusCode? A custom status code
renderAsync bool Render the HTML into the response asynchronously
return System