AngleSharp by AngleSharp

<PackageReference Include="AngleSharp" Version="1.3.0" />

.NET API 960,512 bytes

 ValidityState

sealed class ValidityState : IValidityState
A class for representing the current validity state.
public bool IsBadInput { get; set; }

Gets or sets if the input is regarded as invalid.

public bool IsCustomError { get; set; }

Gets or sets if validation failed due to a custom error.

public bool IsPatternMismatch { get; set; }

Gets or sets if the input does not match a given pattern.

public bool IsRangeOverflow { get; set; }

Gets or sets if the range is too big.

public bool IsRangeUnderflow { get; set; }

Gets or sets if the range is too small.

public bool IsStepMismatch { get; set; }

Gets or sets if the new value is invalid.

public bool IsTooLong { get; set; }

Gets or sets if the input is too long.

public bool IsTooShort { get; set; }

Gets or sets if the input is too short.

public bool IsTypeMismatch { get; set; }

Gets or sets if the given type is wrong.

public bool IsValid { get; }

Gets if the value is valid.

public bool IsValueMissing { get; set; }

Gets or sets if a required value is missing.

public void Reset(ValidationErrors err = 0)