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)

Syntax

'Declaration
Public Interface IFormatterSelector
public interface IFormatterSelector
public interface class IFormatterSelector
type IFormatterSelector =  interface end
public interface IFormatterSelector

The IFormatterSelector type exposes the following members.

Methods

  Name Description
Public method SelectReadFormatter Selects a formatter for deserializing an instance of a given type.
Public method SelectWriteFormatter Selects a formatter for serializing an instance of a given type.

Top

See Also

Reference

System.Net.Http.Formatting Namespace