mirror of https://github.com/AMT-Cheif/Stylet.git
Make ValidatingModelBase.HasErrors virtual
It really should have been....
This commit is contained in:
parent
3916c825ae
commit
7da6f8a363
|
@ -282,7 +282,7 @@ namespace Stylet
|
|||
/// <summary>
|
||||
/// Gets a value indicating whether the entity has validation errors.
|
||||
/// </summary>
|
||||
public bool HasErrors
|
||||
public virtual bool HasErrors
|
||||
{
|
||||
get { return this.propertyErrors.Values.Any(x => x != null && x.Length > 0); }
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue