Show / Hide Table of Contents

Class CurrentTenant_Tests

Inheritance
object
AbpTestBaseWithServiceProvider
AbpIntegratedTest<MultiTenancyTestModule>
MultiTenancyTestBase
CurrentTenant_Tests
Implements
System.IDisposable
Inherited Members
AbpIntegratedTest<MultiTenancyTestModule>.CreateServiceCollection()
AbpIntegratedTest<MultiTenancyTestModule>.SetAbpApplicationCreationOptions(AbpApplicationCreationOptions)
AbpIntegratedTest<MultiTenancyTestModule>.AfterAddApplication(IServiceCollection)
AbpIntegratedTest<MultiTenancyTestModule>.CreateServiceProvider(IServiceCollection)
AbpIntegratedTest<MultiTenancyTestModule>.Dispose()
AbpIntegratedTest<MultiTenancyTestModule>.Application
AbpIntegratedTest<MultiTenancyTestModule>.RootServiceProvider
AbpIntegratedTest<MultiTenancyTestModule>.TestServiceScope
AbpTestBaseWithServiceProvider.GetService<T>()
AbpTestBaseWithServiceProvider.GetRequiredService<T>()
AbpTestBaseWithServiceProvider.ServiceProvider
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.MultiTenancy
Assembly: Volo.Abp.MultiTenancy.Tests.dll
Syntax
public class CurrentTenant_Tests : MultiTenancyTestBase, IDisposable

Constructors

CurrentTenant_Tests()

Declaration
public CurrentTenant_Tests()

Methods

BeforeAddApplication(IServiceCollection)

Declaration
protected override void BeforeAddApplication(IServiceCollection services)
Parameters
Type Name Description
Microsoft.Extensions.DependencyInjection.IServiceCollection services
Overrides
Volo.Abp.Testing.AbpIntegratedTest<Volo.Abp.MultiTenancy.MultiTenancyTestModule>.BeforeAddApplication(Microsoft.Extensions.DependencyInjection.IServiceCollection)

CurrentTenant_Should_Be_Null_As_Default()

Declaration
public void CurrentTenant_Should_Be_Null_As_Default()

Should_Get_Changed_Tenant_If()

Declaration
public void Should_Get_Changed_Tenant_If()

Should_Get_Null_If_Not_Set()

Declaration
public void Should_Get_Null_If_Not_Set()

Implements

System.IDisposable

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