public RemoveError ( AcErrorType type ) : void | ||
type | AcErrorType | |
return | void |
public void RemoveError(AcErrorType type) {
if (!HasError(type)) return;
_errors.Remove(_errors.FirstOrDefault(x => x.Type == type));
if (Errors.Count == 0) {
OnPropertyChanged(nameof(HasErrors));
}
}
AcCommonObject::RemoveError ( IAcError error ) : void |