Skip to content

Commit

Permalink
fix typo (#1990)
Browse files Browse the repository at this point in the history
  • Loading branch information
tugrulelmas committed Aug 10, 2022
1 parent f8003f1 commit 40188b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/di.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ When using FluentValidation in an ASP.NET project with auto-validation, the same
Alternative method overloads that take a type instance and an assembly reference exist too:

```csharp
// Load using a type refernce rather than the generic.
// Load using a type reference rather than the generic.
services.AddValidatorsFromAssemblyContaining(typeof(UserValidator));

// Load an assembly reference rather than using a marker type.
Expand All @@ -112,4 +112,4 @@ services.AddValidatorsFromAssemblyContaining<MyValidator>(ServiceLifetime.Scoped
filter => filter.ValidatorType != typeof(CustomerValidator));
```

The `CustomerValidator` will not be added to the service provider (but all other validators will).
The `CustomerValidator` will not be added to the service provider (but all other validators will).

0 comments on commit 40188b0

Please sign in to comment.