Initializes a new instance of the ValidationSummary class and filters all the validations on the specified tag.
Parameters
Name
Description
validationContext
The validation context to base the summary on.
tag
The tag.
Exceptions
Name
Description
ArgumentNullException
The validationContext isnull.
Properties
BusinessRuleErrors
Gets a collection of business rule errors.
BusinessRuleWarnings
Gets a collection of business rule warnings.
FieldErrors
Gets a collection of field errors.
FieldWarnings
Gets a collection of field warnings.
HasBusinessRuleErrors
Gets a value indicating whether the summary contains business rule errors.
HasBusinessRuleWarnings
Gets a value indicating whether the summary contains business rule warnings.
HasErrors
Gets a value indicating whether the summary contains errors.
HasFieldErrors
Gets a value indicating whether the summary contains field errors.
HasFieldWarnings
Gets a value indicating whether the summary contains field warnings.
HasWarnings
Gets a value indicating whether the summary contains warnings.
LastModified
Gets the last modified date/time. Note that this is just an informational value and should not be used for comparisons. The is not accurate enough. Use theLastModifiedTicks instead.
LastModifiedTicks
Gets the last modified ticks which is much more precise that the LastModified. Use this value to compare last modification ticks on other validation contexts. Because only full .NET provides a stopwatch, this property is only available in full .NET. All other target frameworks will return the which isnot reliable.
Methods
ToString()
Returns a that represents this instance.
Returns
A that represents this instance.
Have a question about Catel? Use StackOverflow with the Catel tag!