ActionResult<TValue> ActionResult<TValue> ActionResult<TValue> ActionResult<TValue> Class

Definition

A type that wraps either an TValue instance or an ActionResult.

generic <typename TValue>
public ref class ActionResult sealed : Microsoft::AspNetCore::Mvc::Infrastructure::IConvertToActionResult
public sealed class ActionResult<TValue> : Microsoft.AspNetCore.Mvc.Infrastructure.IConvertToActionResult
type ActionResult<'Value> = class
    interface IConvertToActionResult
Public NotInheritable Class ActionResult(Of TValue)
Implements IConvertToActionResult

Type Parameters

TValue

The type of the result.

Inheritance
ActionResult<TValue>ActionResult<TValue>ActionResult<TValue>ActionResult<TValue>
Implements

Constructors

ActionResult<TValue>(ActionResult) ActionResult<TValue>(ActionResult) ActionResult<TValue>(ActionResult) ActionResult<TValue>(ActionResult)

Initializes a new instance of ActionResult<TValue> using the specified ActionResult.

ActionResult<TValue>(TValue) ActionResult<TValue>(TValue) ActionResult<TValue>(TValue) ActionResult<TValue>(TValue)

Initializes a new instance of ActionResult<TValue> using the specified value.

Properties

Result Result Result Result

Gets the ActionResult.

Value Value Value Value

Gets the value.

Operators

Implicit(ActionResult to ActionResult<TValue>) Implicit(ActionResult to ActionResult<TValue>) Implicit(ActionResult to ActionResult<TValue>) Implicit(ActionResult to ActionResult<TValue>)
Implicit(TValue to ActionResult<TValue>) Implicit(TValue to ActionResult<TValue>) Implicit(TValue to ActionResult<TValue>) Implicit(TValue to ActionResult<TValue>)

Explicit Interface Implementations

IConvertToActionResult.Convert() IConvertToActionResult.Convert() IConvertToActionResult.Convert() IConvertToActionResult.Convert()

Applies to