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