Class AbpTestBaseWithServiceProvider
Inheritance
object
AbpTestBaseWithServiceProvider
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp
Assembly: Volo.Abp.TestBase.dll
Syntax
public abstract class AbpTestBaseWithServiceProvider
Constructors
AbpTestBaseWithServiceProvider()
Declaration
protected AbpTestBaseWithServiceProvider()
Properties
ServiceProvider
Declaration
protected IServiceProvider ServiceProvider { get; set; }
Property Value
| Type | Description |
|---|---|
| System.IServiceProvider |
Methods
GetRequiredService<T>()
Declaration
protected virtual T GetRequiredService<T>()
Returns
| Type | Description |
|---|---|
| T |
Type Parameters
| Name | Description |
|---|---|
| T |
GetService<T>()
Declaration
protected virtual T GetService<T>()
Returns
| Type | Description |
|---|---|
| T |
Type Parameters
| Name | Description |
|---|---|
| T |