using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.StaticFiles; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Options; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using VolPro.Core.SignalR; namespace VolPro.Core.Log { public static class ActionChangeExtensions { /// /// 注册审计日志 /// /// /// public static IServiceCollection AddActionLog(this IServiceCollection services) { services.AddSingleton(); services.AddScoped(); services.AddHostedService(); return services; } } }