InputFormatterResult InputFormatterResult InputFormatterResult InputFormatterResult Class

Definition

Result of a ReadAsync(InputFormatterContext) operation.

public ref class InputFormatterResult
public class InputFormatterResult
type InputFormatterResult = class
Public Class InputFormatterResult
Inheritance
InputFormatterResultInputFormatterResultInputFormatterResultInputFormatterResult

Properties

HasError HasError HasError HasError

Gets an indication whether the ReadAsync(InputFormatterContext) operation had an error.

IsModelSet IsModelSet IsModelSet IsModelSet

Gets an indication whether a value for the Model property was supplied.

Model Model Model Model

Gets the deserialized Object.

Methods

Failure() Failure() Failure() Failure()

Returns an InputFormatterResult indicating the ReadAsync(InputFormatterContext) operation failed.

FailureAsync() FailureAsync() FailureAsync() FailureAsync()

Returns a Task that on completion provides an InputFormatterResult indicating the ReadAsync(InputFormatterContext) operation failed.

NoValue() NoValue() NoValue() NoValue()

Returns an InputFormatterResult indicating the ReadAsync(InputFormatterContext) operation produced no value.

NoValueAsync() NoValueAsync() NoValueAsync() NoValueAsync()

Returns a Task that on completion provides an InputFormatterResult indicating the ReadAsync(InputFormatterContext) operation produced no value.

Success(Object) Success(Object) Success(Object) Success(Object)

Returns an InputFormatterResult indicating the ReadAsync(InputFormatterContext) operation was successful.

SuccessAsync(Object) SuccessAsync(Object) SuccessAsync(Object) SuccessAsync(Object)

Returns a Task that on completion provides an InputFormatterResult indicating the ReadAsync(InputFormatterContext) operation was successful.

Applies to