Share via


ModelMetadata.HasValidators Property

Definition

Gets a value that indicates if the model, or one of its properties or elements, has associated validators.

public:
 virtual property Nullable<bool> HasValidators { Nullable<bool> get(); };
public virtual bool? HasValidators { get; }
member this.HasValidators : Nullable<bool>
Public Overridable ReadOnly Property HasValidators As Nullable(Of Boolean)

Property Value

Remarks

When false, validation can be assume that the model is valid (Valid) without inspecting the object graph.

Applies to