using NetAdmin.Cache;
using NetAdmin.SysComponent.Application.Services.Sys.Dependency;
using NetAdmin.SysComponent.Cache.Sys.Dependency;
namespace NetAdmin.SysComponent.Cache.Sys;
///
/// 工具缓存
///
public sealed class ToolsCache : DistributedCache, IScoped, IToolsCache
{
///
/// Initializes a new instance of the class.
///
public ToolsCache(IDistributedCache cache, IToolsService service) //
: base(cache, service) { }
///
public DateTime GetServerUtcTime()
{
return Service.GetServerUtcTime();
}
///
public string Version()
{
return Service.Version();
}
}