ExcludeBindingMetadataProvider 类

定义

一个, IBindingMetadataProvider 它将 IsBindingAllowed 匹配类型配置为 false

public ref class ExcludeBindingMetadataProvider : Microsoft::AspNetCore::Mvc::ModelBinding::Metadata::IBindingMetadataProvider
public class ExcludeBindingMetadataProvider : Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.IBindingMetadataProvider
type ExcludeBindingMetadataProvider = class
    interface IBindingMetadataProvider
    interface IMetadataDetailsProvider
Public Class ExcludeBindingMetadataProvider
Implements IBindingMetadataProvider
继承
ExcludeBindingMetadataProvider
实现

构造函数

ExcludeBindingMetadataProvider(Type)

为给定的创建新 ExcludeBindingMetadataProvidertype

方法

CreateBindingMetadata(BindingMetadataProviderContext)

设置的属性的值 BindingMetadata

适用于