2020-10-06 16:00:27 +02:00
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Threading.Tasks;
|
2020-05-19 10:57:35 +02:00
|
|
|
|
|
|
|
|
namespace zero.Core.Plugins
|
|
|
|
|
{
|
|
|
|
|
public class ZeroPluginOptions : IZeroPluginOptions
|
|
|
|
|
{
|
|
|
|
|
public string Name { get; set; }
|
|
|
|
|
|
|
|
|
|
public string Description { get; set; }
|
|
|
|
|
|
|
|
|
|
public List<string> LocalizationPaths { get; private set; } = new List<string>();
|
2020-10-15 15:19:39 +02:00
|
|
|
|
|
|
|
|
public string PluginPath { get; set; }
|
2020-05-19 10:57:35 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public interface IZeroPluginOptions
|
|
|
|
|
{
|
|
|
|
|
string Name { get; set; }
|
|
|
|
|
|
|
|
|
|
string Description { get; set; }
|
|
|
|
|
|
|
|
|
|
List<string> LocalizationPaths { get; }
|
2020-10-15 15:19:39 +02:00
|
|
|
|
|
|
|
|
string PluginPath { get; set; }
|
2020-05-19 10:57:35 +02:00
|
|
|
}
|
2020-10-06 16:00:27 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
public interface IZeroPluginStartup
|
|
|
|
|
{
|
|
|
|
|
Task Startup();
|
|
|
|
|
}
|
2020-05-19 10:57:35 +02:00
|
|
|
}
|