Use file-scoped namespaces

This commit is contained in:
Andriy
2023-07-29 15:14:52 +03:00
parent a24332370d
commit 8ab067a027
58 changed files with 2222 additions and 2280 deletions
+8 -9
View File
@@ -6,15 +6,14 @@ using Kruzya.TelegramBot.Core;
using Microsoft.Extensions.DependencyInjection;
namespace West.Entertainment
{
public class Entertainment : Module
{
public Entertainment(Core core) : base(core) { }
namespace West.Entertainment;
public override void ConfigureServices(IServiceCollection services)
{
services.AddSingleton<IGuessCache, GuessCache>();
}
public class Entertainment : Module
{
public Entertainment(Core core) : base(core) { }
public override void ConfigureServices(IServiceCollection services)
{
services.AddSingleton<IGuessCache, GuessCache>();
}
}