Browse Source

Rename `DisableInterceptorAttribute` to `DisableAbpInterceptorAttribute`.

pull/18638/head
maliming 2 years ago
parent
commit
cb7e441a71
No known key found for this signature in database GPG Key ID: A646B9CB645ECEA4
  1. 2
      framework/src/Volo.Abp.Autofac/Autofac/Builder/AbpRegistrationBuilderExtensions.cs
  2. 2
      framework/src/Volo.Abp.Core/Volo/Abp/DynamicProxy/DisableAbpInterceptorAttribute.cs

2
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,

2
framework/src/Volo.Abp.Core/Volo/Abp/DynamicProxy/DisableInterceptorAttribute.cs → 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
{
}
Loading…
Cancel
Save