Добавьте файлы проекта.
This commit is contained in:
14
SQLLinter/Infrastructure/Plugins/VersionInfoWrapper.cs
Normal file
14
SQLLinter/Infrastructure/Plugins/VersionInfoWrapper.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using SQLLinter.Core.Interfaces;
|
||||
using System.Diagnostics;
|
||||
using System.Reflection;
|
||||
|
||||
namespace SQLLinter.Infrastructure.Plugins
|
||||
{
|
||||
public class VersionInfoWrapper : IFileversionWrapper
|
||||
{
|
||||
public string GetVersion(Assembly assembly)
|
||||
{
|
||||
return FileVersionInfo.GetVersionInfo(assembly.Location).FileVersion;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user