Class FeatureInterceptor
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.Features
Assembly: Volo.Abp.Features.dll
Syntax
public class FeatureInterceptor : AbpInterceptor, IAbpInterceptor, ITransientDependency
Constructors
FeatureInterceptor(IServiceScopeFactory)
Declaration
public FeatureInterceptor(IServiceScopeFactory serviceScopeFactory)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.Extensions.DependencyInjection.IServiceScopeFactory | serviceScopeFactory |
Methods
CheckFeaturesAsync(IAbpMethodInvocation)
Declaration
protected virtual Task CheckFeaturesAsync(IAbpMethodInvocation invocation)
Parameters
Type | Name | Description |
---|---|---|
IAbpMethodInvocation | invocation |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task |
InterceptAsync(IAbpMethodInvocation)
Declaration
public override Task InterceptAsync(IAbpMethodInvocation invocation)
Parameters
Type | Name | Description |
---|---|---|
IAbpMethodInvocation | invocation |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task |