чистка кода
All checks were successful
CI / build-test (push) Successful in 1m2s

This commit is contained in:
FrigaT
2025-12-16 16:19:50 +03:00
parent 246a5cb278
commit 41986987b1
8 changed files with 22 additions and 33 deletions

View File

@@ -1,10 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BotPages.Core.Routing;
namespace BotPages.Core.Routing;
/// <summary>
/// Обработчик команды: получает контекст страницы, аргументы команды и токен отмены.

View File

@@ -31,7 +31,7 @@ internal sealed class RoutesRegistry
internal void Map(Type? type)
{
foreach(var attr in type.GetCustomAttributes<RouteAttribute>(inherit: true))
foreach (var attr in type.GetCustomAttributes<RouteAttribute>(inherit: true))
{
_routes.Add(attr.Template, type);
}