From 827a270346f1b3c68f43fb2a577d21108b04c5ee Mon Sep 17 00:00:00 2001 From: anonymous2585 <148471165+anonymous2585@users.noreply.github.com> Date: Wed, 14 Aug 2024 17:01:54 +0200 Subject: [PATCH] Update README.md --- README.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index f107837..0e14c8b 100644 --- a/README.md +++ b/README.md @@ -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())); // Prints: 1, 2, 3 } ```