Class TestUnitOfWork
Implements
System.IDisposable
Inherited Members
object.GetType()
object.MemberwiseClone()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.AspNetCore.Mvc.Uow
Assembly: Volo.Abp.AspNetCore.Mvc.Tests.dll
Syntax
[Dependency(ReplaceServices = true)]
public class TestUnitOfWork : UnitOfWork, IUnitOfWork, IDatabaseApiContainer, IServiceProviderAccessor, ITransactionApiContainer, IDisposable, ITransientDependency
Constructors
TestUnitOfWork(IServiceProvider, IUnitOfWorkEventPublisher, IOptions<AbpUnitOfWorkDefaultOptions>, TestUnitOfWorkConfig)
Declaration
public TestUnitOfWork(IServiceProvider serviceProvider, IUnitOfWorkEventPublisher unitOfWorkEventPublisher, IOptions<AbpUnitOfWorkDefaultOptions> options, TestUnitOfWorkConfig config)
Parameters
| Type | Name | Description |
|---|---|---|
| System.IServiceProvider | serviceProvider | |
| IUnitOfWorkEventPublisher | unitOfWorkEventPublisher | |
| Microsoft.Extensions.Options.IOptions<TOptions><AbpUnitOfWorkDefaultOptions> | options | |
| TestUnitOfWorkConfig | config |
Methods
CompleteAsync(CancellationToken)
Declaration
public override Task CompleteAsync(CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Threading.CancellationToken | cancellationToken |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task |
Overrides
Implements
System.IDisposable