sunpengfei
2025-08-11 539296a625cdd347161ce4f44b35bf85abafbc50
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
using Microsoft.Extensions.Hosting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
 
namespace FlexJobApi.Core
{
    public class BuildDynamicControllersHostedService : IHostedService
    {
        public Task StartAsync(CancellationToken cancellationToken)
        {
            return ResourceUtils.BuildDynamicControllersAsync();
        }
 
        public Task StopAsync(CancellationToken cancellationToken)
        {
            return Task.CompletedTask;
        }
    }
}