ValidationAttributeAdapterProvider 类

定义

为给定属性创建 。IAttributeAdapter

public ref class ValidationAttributeAdapterProvider : Microsoft::AspNetCore::Mvc::DataAnnotations::IValidationAttributeAdapterProvider
public class ValidationAttributeAdapterProvider : Microsoft.AspNetCore.Mvc.DataAnnotations.IValidationAttributeAdapterProvider
type ValidationAttributeAdapterProvider = class
    interface IValidationAttributeAdapterProvider
Public Class ValidationAttributeAdapterProvider
Implements IValidationAttributeAdapterProvider
继承
ValidationAttributeAdapterProvider
实现

构造函数

ValidationAttributeAdapterProvider()

为给定属性创建 。IAttributeAdapter

方法

GetAttributeAdapter(ValidationAttribute, IStringLocalizer)

为给定属性创建 。IAttributeAdapter

适用于