Добавьте файлы проекта.
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user