mirror of https://github.com/abpframework/abp
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
920 B
25 lines
920 B
using System.Threading.Tasks;
|
|
using Microsoft.Extensions.DependencyInjection;
|
|
using Volo.Abp.DependencyInjection;
|
|
using Volo.Abp.Studio.ModuleInstalling;
|
|
|
|
namespace Volo.Abp.AuditLogging
|
|
{
|
|
[Dependency(ServiceLifetime.Transient, ReplaceServices = true)]
|
|
[ExposeServices(typeof(IModuleInstallingPipelineBuilder))]
|
|
public class AuditLoggingInstallerPipelineBuilder : ModuleInstallingPipelineBuilderBase, IModuleInstallingPipelineBuilder, ITransientDependency
|
|
{
|
|
public async Task<ModuleInstallingPipeline> BuildAsync(ModuleInstallingContext context)
|
|
{
|
|
context.AddEfCoreConfigurationMethodDeclaration(
|
|
new EfCoreConfigurationMethodDeclaration(
|
|
"Volo.Abp.AuditLogging.EntityFrameworkCore",
|
|
"ConfigureAuditLogging"
|
|
)
|
|
);
|
|
|
|
return GetBasePipeline(context);
|
|
}
|
|
}
|
|
}
|