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