ActionResult<TValue> Sınıf

Tanım

Bir örneği ya da bir sarmalayan tür TValue 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

Tür Parametreleri

TValue

Sonuç türü.

Devralma
ActionResult<TValue>
Uygulamalar

Oluşturucular

ActionResult<TValue>(ActionResult)

Belirtilen öğesinin yeni bir örneğini başlatır ActionResult<TValue> ActionResult .

ActionResult<TValue>(TValue)

Belirtilen öğesinin yeni bir örneğini başlatır ActionResult<TValue> value .

Özellikler

Result

ActionResult öğesini alır.

Value

Değeri alır.

İşleçler

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

Belirtik Arabirim Kullanımları

IConvertToActionResult.Convert()

Şunlara uygulanır