add Version property to IPlugin
This commit is contained in:
@@ -1,6 +1,10 @@
|
||||
namespace Pilz.Plugins;
|
||||
using Pilz.Extensions;
|
||||
using System.Reflection;
|
||||
|
||||
namespace Pilz.Plugins;
|
||||
|
||||
public interface IPlugin
|
||||
{
|
||||
public string Name { get; }
|
||||
string Name { get; }
|
||||
AppVersion Version => GetType().Assembly.GetAppVersion();
|
||||
}
|
||||
Reference in New Issue
Block a user