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(); } }