ODataMediaTypeFormatterCollectionExtensions Class

Provides extension methods for the MediaTypeFormatterCollection class.

Inheritance Hierarchy

System.Object
  System.Web.Http.ODataMediaTypeFormatterCollectionExtensions

Namespace:  System.Web.Http
Assembly:  System.Web.Http.OData (in System.Web.Http.OData.dll)

Syntax

'Declaration
<ExtensionAttribute> _
Public NotInheritable Class ODataMediaTypeFormatterCollectionExtensions
'Usage
public static class ODataMediaTypeFormatterCollectionExtensions
[ExtensionAttribute]
public ref class ODataMediaTypeFormatterCollectionExtensions abstract sealed
[<AbstractClassAttribute>]
[<SealedAttribute>]
type ODataMediaTypeFormatterCollectionExtensions =  class end
public final class ODataMediaTypeFormatterCollectionExtensions

The ODataMediaTypeFormatterCollectionExtensions type exposes the following members.

Methods

  Name Description
Public methodStatic member AddRange Adds the elements of the specified collection to the end of the MediaTypeFormatterCollection .
Public methodStatic member InsertRange Inserts the elements of a collection into the MediaTypeFormatterCollection at the specified index.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

System.Web.Http Namespace