From 7774602e928b40968a28fb8a1fce978b8ad7d8b8 Mon Sep 17 00:00:00 2001 From: Hsu Still <341464@gmail.com> Date: Sat, 30 Sep 2017 12:12:00 +0800 Subject: [PATCH] Fix DepMap sample formatting --- .../commands/samples/dependency_map_setup.cs | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/guides/commands/samples/dependency_map_setup.cs b/docs/guides/commands/samples/dependency_map_setup.cs index 08f06edbf..a36925904 100644 --- a/docs/guides/commands/samples/dependency_map_setup.cs +++ b/docs/guides/commands/samples/dependency_map_setup.cs @@ -6,13 +6,13 @@ public async Task InstallAsync(DiscordSocketClient client) // Here, we will inject the ServiceProvider with // all of the services our client will use. _services = new ServiceCollection() - .AddSingleton(client) - .AddSingleton(_commands) - // You can pass in an instance of the desired type - .AddSingleton(new NotificationService()) - // ...or by using the generic method. - .AddSingleton() - .BuildServiceProvider(); + .AddSingleton(client) + .AddSingleton(_commands) + // You can pass in an instance of the desired type + .AddSingleton(new NotificationService()) + // ...or by using the generic method. + .AddSingleton() + .BuildServiceProvider(); // ... await _commands.AddModulesAsync(Assembly.GetEntryAssembly()); -} +} \ No newline at end of file