Skip to content

Commit

Permalink
fix summary
Browse files Browse the repository at this point in the history
  • Loading branch information
diegodrf committed Sep 16, 2024
1 parent 8a8134f commit 5bab7a4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ large scale, or as your main dependency container.
- [Register All](#register-all)
- [Override instances](#override-instances)
- [MultipleConstructorsException](#multipleconstructorsexception)
- [ArgumentException](#ArgumentException)
- [Get instances](#get-instances)

### Installation
Expand Down Expand Up @@ -146,7 +147,7 @@ class Foo : IFoo
If you try to register a not concrete class, like *interface* or *abstract class*, **BuddyInjector** will fail fast trowing `ArgumentException`.

Example:
```
```cs
using (BuddyInjector buddyInjector = new BuddyInjector())
{
buddyInjector.RegisterSingleton<IFoo, IFoo>(); // It throws [ArgumentException].
Expand Down

0 comments on commit 5bab7a4

Please sign in to comment.