😐 调整代码格式和 README.md 内容

This commit is contained in:
MonkSoul
2023-01-06 11:20:22 +08:00
parent 0be1dd450a
commit 0999cf5d2d
5 changed files with 5 additions and 4 deletions

1
.gitattributes vendored
View File

@@ -4,5 +4,6 @@
*.yml linguist-language=C#
*.html linguist-language=C#
*.js linguist-language=C#
*.tsx linguist-language=C#
*.xml linguist-language=C#
*.css linguist-language=C#

View File

@@ -24,7 +24,7 @@ public class HelloService
}
```
Open browser access `https://localhost:5001` or `http://localhost:5000`.
Open browser access `http://localhost:5000`.
## Documentation

View File

@@ -24,7 +24,7 @@ public class HelloService
}
```
访 `https://localhost:5001` 或 `http://localhost:5000`。
访 `http://localhost:5000`。
##

View File

@@ -115,7 +115,7 @@ internal sealed class ScheduleHostedService : BackgroundService
/// </summary>
/// <param name="stoppingToken">后台主机服务停止时取消任务 Token</param>
/// <returns><see cref="Task"/> 实例</returns>
protected override async Task ExecuteAsync(CancellationToken stoppingToken)
protected async override Task ExecuteAsync(CancellationToken stoppingToken)
{
_logger.LogInformation("Schedule hosted service is running.");

View File

@@ -115,7 +115,7 @@ internal sealed class ScheduleHostedService : BackgroundService
/// </summary>
/// <param name="stoppingToken">后台主机服务停止时取消任务 Token</param>
/// <returns><see cref="Task"/> 实例</returns>
protected override async Task ExecuteAsync(CancellationToken stoppingToken)
protected async override Task ExecuteAsync(CancellationToken stoppingToken)
{
_logger.LogInformation("Schedule hosted service is running.");