InputFormatterResult Třída

Definice

public ref class InputFormatterResult
public class InputFormatterResult
type InputFormatterResult = class
Public Class InputFormatterResult
Dědičnost
InputFormatterResult

Vlastnosti

HasError

Získá informace o tom, jestli operace ReadAsync(InputFormatterContext) měla chybu.

IsModelSet

Získá indikaci, zda byla zadána hodnota vlastnosti Model .

Model

Získá deserializovaný Object.

Metody

Failure()

InputFormatterResult Vrátí indikaci, že ReadAsync(InputFormatterContext) operace selhala.

FailureAsync()

Task Vrátí hodnotu, která po dokončení poskytuje InputFormatterResult indikaciReadAsync(InputFormatterContext), že operace selhala.

NoValue()

InputFormatterResult Vrátí indikující operaci, která ReadAsync(InputFormatterContext) nevygeneruje žádnou hodnotu.

NoValueAsync()

Task Vrátí hodnotu, která po dokončení poskytuje InputFormatterResult indikaci, že ReadAsync(InputFormatterContext) operace nevygeneruje žádnou hodnotu.

Success(Object)

InputFormatterResult Vrátí indikující, že ReadAsync(InputFormatterContext) operace byla úspěšná.

SuccessAsync(Object)

Task Vrátí hodnotu, která po dokončení poskytuje InputFormatterResult indikaci úspěšné ReadAsync(InputFormatterContext) operace.

Platí pro