Files
SQLLint/SQLLinter/Infrastructure/Rules/RuleExceptions/GlobalRuleException.cs

25 lines
550 B
C#

using SQLLinter.Core.Interfaces;
namespace SQLLinter.Infrastructure.Rules.RuleExceptions
{
public class GlobalRuleException : IExtendedRuleException
{
public GlobalRuleException(int startLine, int endLine)
{
EndLine = endLine;
StartLine = startLine;
}
public int EndLine { get; private set; }
public string RuleName => "Global";
public int StartLine { get; }
public void SetEndLine(int endLine)
{
EndLine = endLine;
}
}
}