This commit is contained in:
2025-12-12 12:56:22 +08:00
parent 46e209081d
commit cd43abc7eb
7 changed files with 100 additions and 42 deletions

View File

@@ -7,7 +7,6 @@
</PropertyGroup>
<ItemGroup>
<Folder Include="Services\" />
<Folder Include="Configuration\" />
<Folder Include="Events\" />
</ItemGroup>

View File

@@ -1,7 +0,0 @@
namespace Atomx.Core
{
public class Class1
{
}
}

View 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);
// 在这里添加多语言本地化的具体任务逻辑
}
}
}

View File

@@ -1,13 +0,0 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace Atomx.Core.Jos
{
/// <summary>
/// 多语言本地化任务
/// </summary>
public class LocalizationJobs
{
}
}

View File

@@ -0,0 +1,14 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace Atomx.Core.Jos
{
public partial interface IBackgroundJobsService
{
}
public partial class BackgroundJobsService : IBackgroundJobsService
{
}
}