public bool Inform(int indGlyph, DIAction diaToApply) { bool bRet = true; if (indGlyph == GConsts.IND_ALL) { this.InformAll(diaToApply); bRet = true; } else { GErrList gerrlist = this.gerrlists[indGlyph] as GErrList; if (gerrlist != null) { //If some error is of type Error or AppError, then return false bRet &= gerrlist.TestErrors(); gerrlist.ApplyToEach(diaToApply); } } return(bRet); }