diff --git a/framework/src/Volo.Abp.Autofac/Autofac/Builder/AbpRegistrationBuilderExtensions.cs b/framework/src/Volo.Abp.Autofac/Autofac/Builder/AbpRegistrationBuilderExtensions.cs index 9a2b1fa43a..de5effd86c 100644 --- a/framework/src/Volo.Abp.Autofac/Autofac/Builder/AbpRegistrationBuilderExtensions.cs +++ b/framework/src/Volo.Abp.Autofac/Autofac/Builder/AbpRegistrationBuilderExtensions.cs @@ -75,7 +75,7 @@ public static class AbpRegistrationBuilderExtensions } if (serviceRegistredArgs.Interceptors.Any() && - !serviceRegistredArgs.ImplementationType.IsDefined(typeof(DisableInterceptorAttribute), true)) + !serviceRegistredArgs.ImplementationType.IsDefined(typeof(DisableAbpInterceptorAttribute), true)) { registrationBuilder = registrationBuilder.AddInterceptors( registrationActionList, diff --git a/framework/src/Volo.Abp.Core/Volo/Abp/DynamicProxy/DisableInterceptorAttribute.cs b/framework/src/Volo.Abp.Core/Volo/Abp/DynamicProxy/DisableAbpInterceptorAttribute.cs similarity index 62% rename from framework/src/Volo.Abp.Core/Volo/Abp/DynamicProxy/DisableInterceptorAttribute.cs rename to framework/src/Volo.Abp.Core/Volo/Abp/DynamicProxy/DisableAbpInterceptorAttribute.cs index 7d3bf5bcc5..be7b773c87 100644 --- a/framework/src/Volo.Abp.Core/Volo/Abp/DynamicProxy/DisableInterceptorAttribute.cs +++ b/framework/src/Volo.Abp.Core/Volo/Abp/DynamicProxy/DisableAbpInterceptorAttribute.cs @@ -3,7 +3,7 @@ using System; namespace Volo.Abp.DynamicProxy; [AttributeUsage(AttributeTargets.Class)] -public class DisableInterceptorAttribute : Attribute +public class DisableAbpInterceptorAttribute : Attribute { }