Dela via


ExcludeBindingMetadataProvider Class

Definition

An IBindingMetadataProvider which configures IsBindingAllowed to false for matching types.

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
Inheritance
ExcludeBindingMetadataProvider
Implements

Constructors

ExcludeBindingMetadataProvider(Type)

Creates a new ExcludeBindingMetadataProvider for the given type.

Methods

CreateBindingMetadata(BindingMetadataProviderContext)

Sets the values for properties of BindingMetadata.

Applies to