Delen via


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>
Implements

Constructors

ActionResult<TValue>(ActionResult)

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

ActionResult<TValue>(TValue)

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

Properties

Result

Gets the ActionResult.

Value

Gets the value.

Operators

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

Explicit Interface Implementations

IConvertToActionResult.Convert()

Applies to