You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
363 B
29 lines
363 B
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
namespace PluginSystem
|
|
{
|
|
|
|
public interface IRecurringJob:IJobPlugin
|
|
{
|
|
|
|
}
|
|
public interface ICustomJob:IJobPlugin
|
|
{
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
namespace PluginSystem
|
|
{
|
|
// 插件接口定义
|
|
public interface IJobPlugin
|
|
{
|
|
string Name { get; }
|
|
string Description { get; }
|
|
Task ExecuteAsync();
|
|
}
|
|
}
|