Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
pgauledev committed Mar 27, 2023
1 parent 6c9d2b9 commit 7fae6eb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ public virtual IEnumerable<ModelValidationResult> Validate(ModelValidationContex
}

protected bool ShouldSkip(ModelValidationContext mvContext) {
//Apply customer filter (if specified)
//Apply custom filter (if specified)
//validation will be skipped unless we match on this filter
if (_filter != null && !_filter.Invoke(mvContext.ModelMetadata.ModelType)) {
return true;
Expand Down

0 comments on commit 7fae6eb

Please sign in to comment.