Skip to content

IValidationFailure

Contract for a single field-level validation error, implemented by ValidationFailure.

Purpose

  • Contract for a single field-level validation error, implemented by ValidationFailure.

Context

  • Namespace: SAIF.Common
  • Assembly/package: SAIF.Framework.Common

Public members

Member Signature Purpose
AttemptedValue object AttemptedValue { get; } The value that failed validation.
ErrorMessage string ErrorMessage { get; } Human-readable description of the failure.
PropertyName string PropertyName { get; } The name of the property/field that failed.

Sources

  • Common/SAIF.Common/Interfaces/IValidationFailure.cs