ModelValidationContextBase Class
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.
A common base class for ModelValidationContext and ClientModelValidationContext.
public ref class ModelValidationContextBase
C#
public class ModelValidationContextBase
type ModelValidationContextBase = class
Public Class ModelValidationContextBase
- Inheritance
-
ModelValidationContextBase
- Derived
Model |
Instantiates a new ModelValidationContextBase. |
Action |
Gets the ActionContext. |
Metadata |
Gets the IModelMetadataProvider. |
Model |
Gets the ModelMetadata. |
Product | Versions |
---|---|
ASP.NET Core | 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0 |