From cb7e441a71e54a6bc03b65955a8cb266ca096dba Mon Sep 17 00:00:00 2001 From: maliming Date: Sat, 30 Dec 2023 17:57:32 +0800 Subject: [PATCH] Rename `DisableInterceptorAttribute` to `DisableAbpInterceptorAttribute`. --- .../Autofac/Builder/AbpRegistrationBuilderExtensions.cs | 2 +- ...nterceptorAttribute.cs => DisableAbpInterceptorAttribute.cs} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename framework/src/Volo.Abp.Core/Volo/Abp/DynamicProxy/{DisableInterceptorAttribute.cs => DisableAbpInterceptorAttribute.cs} (62%) 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 { }