Share via


IOutputFormatter Interface

Definition

Writes an object to the output stream.

public interface class IOutputFormatter
public interface IOutputFormatter
type IOutputFormatter = interface
Public Interface IOutputFormatter
Derived

Methods

Name Description
CanWriteResult(OutputFormatterCanWriteContext)

Determines whether this IOutputFormatter can serialize an object of the specified type.

WriteAsync(OutputFormatterWriteContext)

Writes the object represented by context's Object property.

Applies to