DefaultModelBindingMessageProvider DefaultModelBindingMessageProvider DefaultModelBindingMessageProvider Class

Definition

Read / write ModelBindingMessageProvider implementation.

public class DefaultModelBindingMessageProvider : Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ModelBindingMessageProvider
type DefaultModelBindingMessageProvider = class
    inherit ModelBindingMessageProvider
Public Class DefaultModelBindingMessageProvider
Inherits ModelBindingMessageProvider
Inheritance
DefaultModelBindingMessageProviderDefaultModelBindingMessageProviderDefaultModelBindingMessageProvider

Constructors

DefaultModelBindingMessageProvider() DefaultModelBindingMessageProvider() DefaultModelBindingMessageProvider()

Initializes a new instance of the DefaultModelBindingMessageProvider class.

DefaultModelBindingMessageProvider(DefaultModelBindingMessageProvider) DefaultModelBindingMessageProvider(DefaultModelBindingMessageProvider) DefaultModelBindingMessageProvider(DefaultModelBindingMessageProvider)

Initializes a new instance of the DefaultModelBindingMessageProvider class based on originalProvider.

Properties

AttemptedValueIsInvalidAccessor AttemptedValueIsInvalidAccessor AttemptedValueIsInvalidAccessor
MissingBindRequiredValueAccessor MissingBindRequiredValueAccessor MissingBindRequiredValueAccessor
MissingKeyOrValueAccessor MissingKeyOrValueAccessor MissingKeyOrValueAccessor
MissingRequestBodyRequiredValueAccessor MissingRequestBodyRequiredValueAccessor MissingRequestBodyRequiredValueAccessor
NonPropertyAttemptedValueIsInvalidAccessor NonPropertyAttemptedValueIsInvalidAccessor NonPropertyAttemptedValueIsInvalidAccessor
NonPropertyUnknownValueIsInvalidAccessor NonPropertyUnknownValueIsInvalidAccessor NonPropertyUnknownValueIsInvalidAccessor
NonPropertyValueMustBeANumberAccessor NonPropertyValueMustBeANumberAccessor NonPropertyValueMustBeANumberAccessor
UnknownValueIsInvalidAccessor UnknownValueIsInvalidAccessor UnknownValueIsInvalidAccessor
ValueIsInvalidAccessor ValueIsInvalidAccessor ValueIsInvalidAccessor
ValueMustBeANumberAccessor ValueMustBeANumberAccessor ValueMustBeANumberAccessor
ValueMustNotBeNullAccessor ValueMustNotBeNullAccessor ValueMustNotBeNullAccessor

Methods

SetAttemptedValueIsInvalidAccessor(Func<String,String,String>) SetAttemptedValueIsInvalidAccessor(Func<String,String,String>) SetAttemptedValueIsInvalidAccessor(Func<String,String,String>)

Sets the AttemptedValueIsInvalidAccessor property.

SetMissingBindRequiredValueAccessor(Func<String,String>) SetMissingBindRequiredValueAccessor(Func<String,String>) SetMissingBindRequiredValueAccessor(Func<String,String>)

Sets the MissingBindRequiredValueAccessor property.

SetMissingKeyOrValueAccessor(Func<String>) SetMissingKeyOrValueAccessor(Func<String>) SetMissingKeyOrValueAccessor(Func<String>)

Sets the MissingKeyOrValueAccessor property.

SetMissingRequestBodyRequiredValueAccessor(Func<String>) SetMissingRequestBodyRequiredValueAccessor(Func<String>) SetMissingRequestBodyRequiredValueAccessor(Func<String>)

Sets the MissingRequestBodyRequiredValueAccessor property.

SetNonPropertyAttemptedValueIsInvalidAccessor(Func<String,String>) SetNonPropertyAttemptedValueIsInvalidAccessor(Func<String,String>) SetNonPropertyAttemptedValueIsInvalidAccessor(Func<String,String>)

Sets the NonPropertyAttemptedValueIsInvalidAccessor property.

SetNonPropertyUnknownValueIsInvalidAccessor(Func<String>) SetNonPropertyUnknownValueIsInvalidAccessor(Func<String>) SetNonPropertyUnknownValueIsInvalidAccessor(Func<String>)

Sets the NonPropertyUnknownValueIsInvalidAccessor property.

SetNonPropertyValueMustBeANumberAccessor(Func<String>) SetNonPropertyValueMustBeANumberAccessor(Func<String>) SetNonPropertyValueMustBeANumberAccessor(Func<String>)

Sets the NonPropertyValueMustBeANumberAccessor property.

SetUnknownValueIsInvalidAccessor(Func<String,String>) SetUnknownValueIsInvalidAccessor(Func<String,String>) SetUnknownValueIsInvalidAccessor(Func<String,String>)

Sets the UnknownValueIsInvalidAccessor property.

SetValueIsInvalidAccessor(Func<String,String>) SetValueIsInvalidAccessor(Func<String,String>) SetValueIsInvalidAccessor(Func<String,String>)

Sets the ValueIsInvalidAccessor property.

SetValueMustBeANumberAccessor(Func<String,String>) SetValueMustBeANumberAccessor(Func<String,String>) SetValueMustBeANumberAccessor(Func<String,String>)

Sets the ValueMustBeANumberAccessor property.

SetValueMustNotBeNullAccessor(Func<String,String>) SetValueMustNotBeNullAccessor(Func<String,String>) SetValueMustNotBeNullAccessor(Func<String,String>)

Sets the ValueMustNotBeNullAccessor property.

Applies to