Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
anonymous2585 authored Aug 14, 2024
1 parent 803d520 commit 827a270
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -384,13 +384,13 @@ It's recommended for every binding that you know that there should be a single b
Example:
```csharp
private void Documentation_Bindings()
{
var container = new ContainerBuilder("")
.AddSingleton(1)
.AddSingleton(2)
.AddSingleton(3)
.Build();
{
var container = new ContainerBuilder()
.AddSingleton(1)
.AddSingleton(2)
.AddSingleton(3)
.Build();

Debug.Log(string.Join(", ", container.All<int>())); // Prints: 1, 2, 3
}
```
Expand Down

0 comments on commit 827a270

Please sign in to comment.