IFormatterSelector Interface

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Interface to select a MediaTypeFormatter for an HttpRequestMessage or HttpResponseMessage.

Namespace:  System.Net.Http.Formatting
Assembly:  System.Net.Http.Formatting (in System.Net.Http.Formatting.dll)

public interface class IFormatterSelector

The IFormatterSelector type exposes the following members.

  NameDescription
Public methodSelectReadFormatter Selects a formatter for deserializing an instance of a given type.
Public methodSelectWriteFormatter Selects a formatter for serializing an instance of a given type.
Top
Show: