Dela via


ActionResult<TValue> Constructors

Definition

Overloads

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.

ActionResult<TValue>(ActionResult)

Source:
ActionResultOfT.cs
Source:
ActionResultOfT.cs
Source:
ActionResultOfT.cs

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

public:
 ActionResult(Microsoft::AspNetCore::Mvc::ActionResult ^ result);
public ActionResult (Microsoft.AspNetCore.Mvc.ActionResult result);
new Microsoft.AspNetCore.Mvc.ActionResult<'Value> : Microsoft.AspNetCore.Mvc.ActionResult -> Microsoft.AspNetCore.Mvc.ActionResult<'Value>
Public Sub New (result As ActionResult)

Parameters

Applies to

ActionResult<TValue>(TValue)

Source:
ActionResultOfT.cs
Source:
ActionResultOfT.cs
Source:
ActionResultOfT.cs

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

public:
 ActionResult(TValue value);
public ActionResult (TValue value);
new Microsoft.AspNetCore.Mvc.ActionResult<'Value> : 'Value -> Microsoft.AspNetCore.Mvc.ActionResult<'Value>
Public Sub New (value As TValue)

Parameters

value
TValue

The value.

Applies to