Click or drag to resize
IValidationIssue 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

The IValidationIssue type exposes the following members.

Properties
  NameDescription
Public propertyBooleanFailedCompoundUnique
True if the entity failed unique validation on compound key
Public propertyNullableT, T: Int32FailedMaxLengthOf
If not null, maximum length of this was exceeded
Public propertyBooleanFailedUnique
True if the value failed a unique validation
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
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
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
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
Public propertyBooleanRegexFail
True if the value failed the regex validation
Public propertyStringRegexFailReason
The failure reason from regex. Only set if RegexFail is true, otherwise RegexFailReason is null
Public propertyBooleanRegexTimeout
True if the regex expression timed out, this is usually an indication that the regex is not optimal
Public propertyBooleanRequiredButNotSet
True if the property was required, but was null or whitespace
Top
Implemented by
See Also