Добавьте файлы проекта.
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
using SQLLinter.Core;
|
||||
using SQLLinter.Core.Interfaces;
|
||||
|
||||
namespace SQLLinter.Infrastructure.Configuration.Overrides
|
||||
{
|
||||
public class OverrideCompatabilityLevel : IOverride
|
||||
{
|
||||
public OverrideCompatabilityLevel(string value)
|
||||
{
|
||||
if (int.TryParse(value, out var parsedCompatabilityLevel))
|
||||
{
|
||||
CompatabilityLevel = parsedCompatabilityLevel;
|
||||
}
|
||||
else
|
||||
{
|
||||
CompatabilityLevel = Constants.DefaultCompatabilityLevel;
|
||||
}
|
||||
}
|
||||
|
||||
public int CompatabilityLevel { get; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user