# IStartupPlugin
namespace PluginCore.IPlugins
{
/// <summary>
/// 实验阶段
/// <para>无法热插拔: 需要启用插件后, 再 重启站点</para>
/// </summary>
public interface IStartupPlugin : IPlugin
{
/// <summary>
/// This method gets called by the runtime. Use this method to add services to the container.
/// </summary>
/// <param name="services"></param>
void ConfigureServices(IServiceCollection services);
int ConfigureServicesOrder { get; }
/// <summary>
/// This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
/// </summary>
/// <param name="app"></param>
/// <param name="env"></param>
void Configure(IApplicationBuilder app);
int ConfigureOrder { get; }
}
}