Export (0) Print
Expand All

MediaTypeFormatterCollection Constructor (IEnumerable<MediaTypeFormatter>)

Initializes a new instance of the MediaTypeFormatterCollection class with the given formatters.

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

public MediaTypeFormatterCollection(
	IEnumerable<MediaTypeFormatter> formatters
)

Parameters

formatters
Type: System.Collections.Generic.IEnumerable<MediaTypeFormatter>
A collection of MediaTypeFormatter instances to place in the collection.
Show:
© 2014 Microsoft