mirror of
https://github.com/fergalmoran/Quartzmin.git
synced 2025-12-22 17:37:51 +00:00
22 lines
501 B
C#
22 lines
501 B
C#
using Microsoft.AspNetCore.Builder;
|
|
using Microsoft.Extensions.DependencyInjection;
|
|
|
|
namespace Quartzmin.AspNetCore
|
|
{
|
|
public class Startup
|
|
{
|
|
public void ConfigureServices(IServiceCollection services)
|
|
{
|
|
services.AddQuartzmin();
|
|
}
|
|
|
|
public void Configure(IApplicationBuilder app)
|
|
{
|
|
app.UseQuartzmin(new QuartzminOptions()
|
|
{
|
|
Scheduler = DemoScheduler.Create().Result,
|
|
});
|
|
}
|
|
}
|
|
}
|