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

This commit is contained in:
2025-12-07 08:52:05 +03:00
parent 95344cd7a7
commit 226b6b6b21
118 changed files with 5249 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
using SQLLinter.Core.Interfaces;
namespace SQLLinter.Infrastructure.Rules.RuleExceptions
{
public class RuleException : IExtendedRuleException
{
public RuleException(Type ruleType, string ruleName, int startLine, int endLine)
{
RuleType = ruleType;
RuleName = ruleName;
StartLine = startLine;
EndLine = endLine;
}
public Type RuleType { get; }
public int StartLine { get; }
public int EndLine { get; private set; }
public string RuleName { get; }
public void SetEndLine(int endLine)
{
EndLine = endLine;
}
}
}