Share via


ServicesExtensions.GetBodyModelValidator Method (ServicesContainer)

 

Gets the IBodyModelValidator service.

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

Syntax

public static IBodyModelValidator GetBodyModelValidator(
    this ServicesContainer services
)
public:
[ExtensionAttribute]
static IBodyModelValidator^ GetBodyModelValidator(
    ServicesContainer^ services
)
static member GetBodyModelValidator : 
        services:ServicesContainer -> IBodyModelValidator
<ExtensionAttribute>
Public Shared Function GetBodyModelValidator (
    services As ServicesContainer
) As IBodyModelValidator

Parameters

Return Value

Type: System.Web.Http.Validation.IBodyModelValidator

Returns an IBodyModelValidator instance.

See Also

ServicesExtensions Class
System.Web.Http Namespace

Return to top