Share via


EditContextDataAnnotationsExtensions Class

Definition

Extension methods to add DataAnnotations validation to an EditContext.

public ref class EditContextDataAnnotationsExtensions abstract sealed
public static class EditContextDataAnnotationsExtensions
type EditContextDataAnnotationsExtensions = class
Public Module EditContextDataAnnotationsExtensions
Inheritance
EditContextDataAnnotationsExtensions

Methods

AddDataAnnotationsValidation(EditContext)
Obsolete.

Adds DataAnnotations validation support to the EditContext.

EnableDataAnnotationsValidation(EditContext, IServiceProvider)

Enables DataAnnotations validation support for the EditContext.

EnableDataAnnotationsValidation(EditContext)
Obsolete.

Enables DataAnnotations validation support for the EditContext.

Applies to