lijin
2025-11-20 ee552e8f4dd8a2d7bd59f7bd87845de0188d7a36
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 ApiTools.Core
{
    public class XmlDocBuildHostedService : IHostedService
    {
        public async Task StartAsync(CancellationToken cancellationToken)
        {
            await XmlDocUtils.BuildXmlDocAsync();
        }
 
        public Task StopAsync(CancellationToken cancellationToken)
        {
            return Task.CompletedTask;
        }
    }
}