Click or drag to resize
IValidationIssueTDto Interface

[This is preliminary documentation and is subject to change.]

Describes an issue discovered in validation

Namespace: Netadmin.Management.EntityValidation.Dto
Assembly: Netadmin.Management.Interfaces (in Netadmin.Management.Interfaces.dll) Version: release/9.0@131b654fe7332b0776120c2b44d96c6cac5ac9a2
Syntax
public interface IValidationIssue<out TDto> : IValidationIssue

Type Parameters

TDto
Type of the dto

The IValidationIssueTDto type exposes the following members.

Properties
  NameDescription
Public propertyIValidationIssueTDtoEntity
The entity that failed validation
Public propertyBooleanFailedCompoundUnique
True if the entity failed unique validation on compound key
(Inherited from IValidationIssue.)
Public propertyNullableT, T: Int32FailedMaxLengthOf
If not null, maximum length of this was exceeded
(Inherited from IValidationIssue.)
Public propertyBooleanFailedUnique
True if the value failed a unique validation
(Inherited from IValidationIssue.)
Public propertyStringPropertyKey
The key of the property that failed validation. If FailedCompoundUnique is set this string will be a pipe (|) separated string of all property keys in the compound key
(Inherited from IValidationIssue.)
Public propertyStringPropertyLocalizationString
The localization string for the property that failed validation. If FailedCompoundUnique is set this string will be a pipe (|) separated string of all localization strings in the compound key
(Inherited from IValidationIssue.)
Public propertyStringPropertyName
The name of the property that failed validation. If FailedCompoundUnique is set this string will be a pipe (|) separated string of all friendly names in the compound key
(Inherited from IValidationIssue.)
Public propertyStringPropertyValue
The value of the property that failed validation. If FailedCompoundUnique is set this string will be a pipe (|) separated string of all values in the compound key
(Inherited from IValidationIssue.)
Public propertyBooleanRegexFail
True if the value failed the regex validation
(Inherited from IValidationIssue.)
Public propertyStringRegexFailReason
The failure reason from regex. Only set if RegexFail is true, otherwise RegexFailReason is null
(Inherited from IValidationIssue.)
Public propertyBooleanRegexTimeout
True if the regex expression timed out, this is usually an indication that the regex is not optimal
(Inherited from IValidationIssue.)
Public propertyBooleanRequiredButNotSet
True if the property was required, but was null or whitespace
(Inherited from IValidationIssue.)
Top
Implemented by
See Also