ServicesExtensions.GetContentNegotiator Method (ServicesContainer)
Gets the IContentNegotiator service.
Namespace: System.Web.Http
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
public static IContentNegotiator GetContentNegotiator(
this ServicesContainer services
)
public:
[ExtensionAttribute]
static IContentNegotiator^ GetContentNegotiator(
ServicesContainer^ services
)
static member GetContentNegotiator :
services:ServicesContainer -> IContentNegotiator
<ExtensionAttribute>
Public Shared Function GetContentNegotiator (
services As ServicesContainer
) As IContentNegotiator
Parameters
services
Type: System.Web.Http.Controllers.ServicesContainerThe services container.
Return Value
Type: System.Net.Http.Formatting.IContentNegotiator
Returns an IContentNegotiator instance.
See Also
ServicesExtensions Class
System.Web.Http Namespace
Return to top