DataAnnotationsValidatableObjectAdapterFactory Delegate
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides a factory for validators that are based on IValidatableObject.
public delegate System.Web.Mvc.ModelValidator DataAnnotationsValidatableObjectAdapterFactory(ModelMetadata metadata, ControllerContext context);
type DataAnnotationsValidatableObjectAdapterFactory = delegate of ModelMetadata * ControllerContext -> ModelValidator
Public Delegate Function DataAnnotationsValidatableObjectAdapterFactory(metadata As ModelMetadata, context As ControllerContext) As ModelValidator
Parameters
- metadata
- ModelMetadata
- context
- ControllerContext
Return Value
Applies to
Visszajelzés
https://aka.ms/ContentUserFeedback.
Hamarosan elérhető: 2024-ben fokozatosan kivezetjük a GitHub-problémákat a tartalom visszajelzési mechanizmusaként, és lecseréljük egy új visszajelzési rendszerre. További információ:Visszajelzés küldése és megtekintése a következőhöz: