Show / Hide Table of Contents

Class HtmlResult

An ActionResult which renders some Html

Inheritance
Object
ActionResult
HtmlResult
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: Eighty.AspNet.Mvc.ActionResults
Assembly: Eighty.AspNet.Mvc.dll
Syntax
public class HtmlResult : ActionResult

Constructors

| Improve this Doc View Source

HtmlResult(Html, Nullable<HttpStatusCode>)

Creates an HtmlResult

Declaration
public HtmlResult(Html html, HttpStatusCode? statusCode = default(HttpStatusCode? ))
Parameters
Type Name Description
Html html

The Html

Nullable<HttpStatusCode> statusCode

A custom status code

Properties

| Improve this Doc View Source

Html

The Html

Declaration
public Html Html { get; }
Property Value
Type Description
Html

The Html

| Improve this Doc View Source

StatusCode

A custom status code

Declaration
public HttpStatusCode? StatusCode { get; }
Property Value
Type Description
Nullable<HttpStatusCode>

A custom status code

Methods

| Improve this Doc View Source

ExecuteResult(ControllerContext)

Declaration
public override void ExecuteResult(ControllerContext context)
Parameters
Type Name Description
ControllerContext context
Overrides
ActionResult.ExecuteResult(ControllerContext)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX