xxl-job的dotnet core 执行器实现
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.
|
using Microsoft.AspNetCore.Builder; |
|
|
|
namespace ASPNetCoreExecutor |
|
{ |
|
public static class ApplicationBuilderExtensions |
|
{ |
|
public static IApplicationBuilder UseXxlJobExecutor(this IApplicationBuilder @this) |
|
{ |
|
return @this.UseMiddleware<XxlJobExecutorMiddleware>(); |
|
} |
|
} |
|
} |