Добавьте файлы проекта.

This commit is contained in:
2025-07-24 23:19:59 +04:00
commit 33d1f6218a
168 changed files with 15035 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
using Microsoft.CodeAnalysis.CSharp.Syntax;
namespace Telegrator.Analyzers
{
internal class HandlerDeclarationModel(ClassDeclarationSyntax classDeclaration, IEnumerable<AttributeSyntax> handlerAttributes, BaseTypeSyntax? baseType)
{
public ClassDeclarationSyntax ClassDeclaration { get; } = classDeclaration;
public IEnumerable<AttributeSyntax> HandlerAttributes { get; } = handlerAttributes;
public BaseTypeSyntax? BaseType { get; } = baseType;
public bool HasAttributes => HandlerAttributes.Any();
}
}