public override EvaluationCode Evaluate(IA11yElement e) { if (e == null) { throw new ArgumentNullException(nameof(e)); } return(LocalizedLandmarkType.IsNoCase("custom").Matches(e) ? EvaluationCode.Error : EvaluationCode.Pass); }
public override bool PassesTest(IA11yElement e) { if (e == null) { throw new ArgumentNullException(nameof(e)); } return(!LocalizedLandmarkType.IsNoCase("custom").Matches(e)); }