Class TestNoopHostLifetime
Inheritance
object
TestNoopHostLifetime
Implements
Microsoft.Extensions.Hosting.IHostLifetime
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.AspNetCore.TestBase
Assembly: Volo.Abp.AspNetCore.TestBase.dll
Syntax
public class TestNoopHostLifetime : IHostLifetime
Constructors
TestNoopHostLifetime()
Declaration
public TestNoopHostLifetime()
Methods
StopAsync(CancellationToken)
Declaration
public Task StopAsync(CancellationToken cancellationToken)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Threading.CancellationToken | cancellationToken |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task |
WaitForStartAsync(CancellationToken)
Declaration
public Task WaitForStartAsync(CancellationToken cancellationToken)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Threading.CancellationToken | cancellationToken |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task |
Implements
Microsoft.Extensions.Hosting.IHostLifetime