Make ValidatingModelBase.HasErrors virtual

It really should have been....
This commit is contained in:
Antony Male 2016-08-26 11:37:09 +01:00
parent 3916c825ae
commit 7da6f8a363
1 changed files with 1 additions and 1 deletions

View File

@ -282,7 +282,7 @@ namespace Stylet
/// <summary> /// <summary>
/// Gets a value indicating whether the entity has validation errors. /// Gets a value indicating whether the entity has validation errors.
/// </summary> /// </summary>
public bool HasErrors public virtual bool HasErrors
{ {
get { return this.propertyErrors.Values.Any(x => x != null && x.Length > 0); } get { return this.propertyErrors.Values.Any(x => x != null && x.Length > 0); }
} }