chore
This commit is contained in:
26
Atomx.Core/Jos/LocalizationJob.cs
Normal file
26
Atomx.Core/Jos/LocalizationJob.cs
Normal file
@@ -0,0 +1,26 @@
|
||||
using Microsoft.Extensions.Logging;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace Atomx.Core.Jos
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 多语言本地化任务
|
||||
/// </summary>
|
||||
public partial class LocalizationJob
|
||||
{
|
||||
readonly ILogger<LocalizationJob> _logger;
|
||||
public LocalizationJob(ILogger<LocalizationJob> logger)
|
||||
{
|
||||
_logger = logger;
|
||||
}
|
||||
|
||||
public void Execute()
|
||||
{
|
||||
_logger.LogInformation("LocalizationJob executed at: {time}", DateTimeOffset.Now);
|
||||
// 在这里添加多语言本地化的具体任务逻辑
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,13 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace Atomx.Core.Jos
|
||||
{
|
||||
/// <summary>
|
||||
/// 多语言本地化任务
|
||||
/// </summary>
|
||||
public class LocalizationJobs
|
||||
{
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user