Share via

ModelValidatorProvider.GetValidators Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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


Public MustOverride Function GetValidators ( _
    metadata As ModelMetadata, _
    actionContext As HttpActionContext _
) As IEnumerable(Of ModelValidator)
public abstract IEnumerable<ModelValidator> GetValidators(
    ModelMetadata metadata,
    HttpActionContext actionContext
virtual IEnumerable<ModelValidator^>^ GetValidators(
    ModelMetadata^ metadata, 
    HttpActionContext^ actionContext
) abstract
abstract GetValidators : 
        metadata:ModelMetadata * 
        actionContext:HttpActionContext -> IEnumerable<ModelValidator> 
public abstract function GetValidators(
    metadata : ModelMetadata, 
    actionContext : HttpActionContext
) : IEnumerable<ModelValidator>


Return Value

Type: System.Collections.Generic.IEnumerable<ModelValidator>

See Also


ModelValidatorProvider Class

System.Web.Http.Validation Namespace