Show / Hide Table of Contents

Class AbpAspNetCoreAsyncIntegratedTestBase<TModule>

Inheritance
object
AbpAspNetCoreAsyncIntegratedTestBase<TModule>
AbpAspNetCoreAsyncTestBase<TModule>
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 AbpAspNetCoreAsyncIntegratedTestBase<TModule> where TModule : IAbpModule
Type Parameters
Name Description
TModule

Constructors

AbpAspNetCoreAsyncIntegratedTestBase()

Declaration
public AbpAspNetCoreAsyncIntegratedTestBase()

Properties

Client

Declaration
protected HttpClient Client { get; set; }
Property Value
Type Description
System.Net.Http.HttpClient

Server

Declaration
protected TestServer Server { get; set; }
Property Value
Type Description
Microsoft.AspNetCore.TestHost.TestServer

ServiceProvider

Declaration
protected IServiceProvider ServiceProvider { get; set; }
Property Value
Type Description
System.IServiceProvider

WebApplication

Declaration
protected WebApplication WebApplication { get; set; }
Property Value
Type Description
Microsoft.AspNetCore.Builder.WebApplication

Methods

ConfigureServicesAsync(IServiceCollection)

Declaration
protected virtual Task ConfigureServicesAsync(IServiceCollection services)
Parameters
Type Name Description
Microsoft.Extensions.DependencyInjection.IServiceCollection services
Returns
Type Description
System.Threading.Tasks.Task

DisposeAsync()

Declaration
public virtual Task DisposeAsync()
Returns
Type Description
System.Threading.Tasks.Task

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

GetUrl<TController>()

Declaration
protected virtual string GetUrl<TController>()
Returns
Type Description
string
Type Parameters
Name Description
TController

GetUrl<TController>(string, object)

Declaration
protected virtual string GetUrl<TController>(string actionName, object queryStringParamsAsAnonymousObject)
Parameters
Type Name Description
string actionName
object queryStringParamsAsAnonymousObject
Returns
Type Description
string
Type Parameters
Name Description
TController

GetUrl<TController>(string)

Declaration
protected virtual string GetUrl<TController>(string actionName)
Parameters
Type Name Description
string actionName
Returns
Type Description
string
Type Parameters
Name Description
TController

InitializeAsync()

Declaration
public virtual Task InitializeAsync()
Returns
Type Description
System.Threading.Tasks.Task

Extension Methods

AbpObjectExtensions.As<T>(object)
AbpObjectExtensions.To<T>(object)
LockExtensions.Locking(object, Action)
LockExtensions.Locking<TResult>(object, Func<TResult>)
AbpObjectExtensions.If<T>(T, bool, Action<T>)
AbpObjectExtensions.If<T>(T, bool, Func<T, T>)
AbpObjectExtensions.IsIn<T>(T, IEnumerable<T>)
AbpObjectExtensions.IsIn<T>(T, params T[])
AbpQueryableExtensions.OrderByIf<T, TQueryable>(TQueryable, bool, string)
AbpQueryableExtensions.PageBy<T, TQueryable>(TQueryable, int, int)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, bool>>)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, int, bool>>)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
In This Article
Back to top Powered by Volosoft