Microsoft.AspNetCore.Mvc.DataAnnotations Helper related to generic interface definitions and implementing classes. Determine whether is or implements a closed generic created from . The of interest. The open generic to match. Usually an interface. The closed generic created from that is or implements. null if the two s have no such relationship. This method will return if is typeof(KeyValuePair{,}), and is typeof(KeyValuePair{string, object}). Extension methods for configuring MVC data annotations localization. Adds MVC data annotations localization to the application. The . The . Adds MVC data annotations localization to the application. The . The action to configure . The . Extensions for configuring MVC data annotations using an . Registers MVC data annotations. The . The . Adds MVC data annotations localization to the application. The . The . Registers an action to configure for MVC data annotations localization. The . An . The . An abstract subclass of which wraps up all the required interfaces for the adapters. The type of which is being wrapped. Instantiates a new . The being wrapped. The to be used in error generation. Interface so that adapters provide their relevant values to error messages. Gets the error message. The context to use in message creation. The localized error message. An implementation of which provides client validators for attributes which derive from . It also provides a validator for types which implement . The logic to support is implemented in . Create a new instance of . The that supplies s. The . The . An implementation of and for the System.ComponentModel.DataAnnotations attribute classes. Validates based on the given . Create a new instance of . The that defines what we're validating. The used to create messages. The which 's will be created from. The attribute being validated against. Validates the context against the . The context being validated. An enumerable of the validation results. An implementation of which provides validators for attributes which derive from . It also provides a validator for types which implement . Create a new instance of . The that supplies s. The . The . and are nullable only for testing ease. A validation adapter that is used to map 's to a single client side validation rule. A default implementation of . The provides validators from instances in . Sets up default options for . Sets up default options for . An implementation of that provides the rule for validating numeric types. An implementation of which provides client validators for specific numeric types. Provider for supplying 's. Returns the for the given . The to create an for. The which will be used to create messages. An for the given . Provides programmatic configuration for DataAnnotations localization in the MVC framework. The delegate to invoke for creating . The model object inside the metadata claimed to be compatible with '{0}', but was actually '{1}'. The model object inside the metadata claimed to be compatible with '{0}', but was actually '{1}'. Value cannot be null or empty. Value cannot be null or empty. The '{0}' property of '{1}' must not be null. The '{0}' property of '{1}' must not be null. An implementation of which understands data annotation attributes. The type of the attribute. Create a new instance of . The instance to validate. The . Gets the instance. Adds the given and into if does not contain a value for . The HTML attributes dictionary. The attribute key. The attribute value. true if an attribute was added, otherwise false. Gets the error message formatted using the . The associated with the model annotated with . The value arguments which will be used in constructing the error message. Formatted error string. Creates an for the given attribute. Creates an for the given attribute. The attribute to create an adapter for. The localizer to provide to the adapter. An for the given attribute. Indicates associated property or all properties with the associated type should be edited using an <input> element of type "hidden". When overriding a inherited from a base class, should apply both [HiddenInput(DisplayValue = true)] (if the inherited attribute had DisplayValue = false) and a with some value other than "HiddenInput". Instantiates a new instance of the class. Gets or sets a value indicating whether to display the value as well as provide a hidden <input> element. The default value is true. If false, also causes the default display and editor templates to return HTML lacking the usual per-property <div> wrapper around the associated property and the default display "HiddenInput" template to return string.Empty for the associated property. Thus the default display template effectively skips the property and the default editor template returns only the hidden <input> element for the property.