Browse Source
Rename `DisableInterceptorAttribute` to `DisableAbpInterceptorAttribute`.
pull/18638/head
maliming
2 years ago
No known key found for this signature in database
GPG Key ID: A646B9CB645ECEA4
2 changed files with
2 additions and
2 deletions
-
framework/src/Volo.Abp.Autofac/Autofac/Builder/AbpRegistrationBuilderExtensions.cs
-
framework/src/Volo.Abp.Core/Volo/Abp/DynamicProxy/DisableAbpInterceptorAttribute.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, |
|
|
|
|
|
|
|
@ -3,7 +3,7 @@ using System; |
|
|
|
namespace Volo.Abp.DynamicProxy; |
|
|
|
|
|
|
|
[AttributeUsage(AttributeTargets.Class)] |
|
|
|
public class DisableInterceptorAttribute : Attribute |
|
|
|
public class DisableAbpInterceptorAttribute : Attribute |
|
|
|
{ |
|
|
|
|
|
|
|
} |