Show / Hide Table of Contents

Class DependencyInjection_Standard_Tests

Inheritance
object
AbpTestBaseWithServiceProvider
AbpIntegratedTest<DependencyInjection_Standard_Tests.TestModule>
DependencyInjection_Standard_Tests
Autofac_DependencyInjection_Standard_Tests
Implements
IDisposable
Inherited Members
AbpIntegratedTest<DependencyInjection_Standard_Tests.TestModule>.CreateServiceCollection()
AbpIntegratedTest<DependencyInjection_Standard_Tests.TestModule>.BeforeAddApplication(IServiceCollection)
AbpIntegratedTest<DependencyInjection_Standard_Tests.TestModule>.SetAbpApplicationCreationOptions(AbpApplicationCreationOptions)
AbpIntegratedTest<DependencyInjection_Standard_Tests.TestModule>.AfterAddApplication(IServiceCollection)
AbpIntegratedTest<DependencyInjection_Standard_Tests.TestModule>.CreateServiceProvider(IServiceCollection)
AbpIntegratedTest<DependencyInjection_Standard_Tests.TestModule>.Dispose()
AbpIntegratedTest<DependencyInjection_Standard_Tests.TestModule>.Application
AbpIntegratedTest<DependencyInjection_Standard_Tests.TestModule>.RootServiceProvider
AbpIntegratedTest<DependencyInjection_Standard_Tests.TestModule>.TestServiceScope
AbpTestBaseWithServiceProvider.GetService<T>()
AbpTestBaseWithServiceProvider.GetRequiredService<T>()
AbpTestBaseWithServiceProvider.GetKeyedServices<T>(object)
AbpTestBaseWithServiceProvider.GetRequiredKeyedService<T>(object)
AbpTestBaseWithServiceProvider.ServiceProvider
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Microsoft.Extensions.DependencyInjection
Assembly: Volo.Abp.Core.Tests.dll
Syntax
public abstract class DependencyInjection_Standard_Tests : AbpIntegratedTest<DependencyInjection_Standard_Tests.TestModule>, IDisposable

Constructors

DependencyInjection_Standard_Tests()

Declaration
protected DependencyInjection_Standard_Tests()

Methods

ExposeKeyedServices_Should_Expose_Correct_Services()

Declaration
public void ExposeKeyedServices_Should_Expose_Correct_Services()

Should_Get_Keyed_Services()

Declaration
public void Should_Get_Keyed_Services()

Should_Inject_Services_As_Properties()

Declaration
public void Should_Inject_Services_As_Properties()

Should_Inject_Services_As_Properties_For_Generic_Classes()

Declaration
public void Should_Inject_Services_As_Properties_For_Generic_Classes()

Should_Inject_Services_As_Properties_For_Generic_Concrete_Classes()

Declaration
public void Should_Inject_Services_As_Properties_For_Generic_Concrete_Classes()

Should_Not_Inject_Services_As_Properties_When_Class_With_DisablePropertyInjection()

Declaration
public void Should_Not_Inject_Services_As_Properties_When_Class_With_DisablePropertyInjection()

Should_Not_Inject_Services_As_Properties_When_Property_With_DisablePropertyInjection()

Declaration
public void Should_Not_Inject_Services_As_Properties_When_Property_With_DisablePropertyInjection()

Singleton_Service_Should_Resolve_Dependencies_Independent_From_The_Scope()

Declaration
public void Singleton_Service_Should_Resolve_Dependencies_Independent_From_The_Scope()

Singletons_Exposing_Multiple_Services_Should_Returns_The_Same_Instance()

Declaration
public void Singletons_Exposing_Multiple_Services_Should_Returns_The_Same_Instance()

Implements

IDisposable

Extension Methods

AbpObjectExtensions.If<T>(T, bool, Action<T>)
AbpObjectExtensions.If<T>(T, bool, Func<T, T>)
AbpObjectExtensions.IsIn<T>(T, params T[])
AbpObjectExtensions.IsIn<T>(T, IEnumerable<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>>)
AbpOpenIddictQueryableExtensions.SkipIf<T, TQueryable>(TQueryable, bool, int?)
AbpOpenIddictQueryableExtensions.TakeIf<T, TQueryable>(TQueryable, bool, int?)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
AbpObjectExtensions.As<T>(object)
AbpObjectExtensions.To<T>(object)
LockExtensions.Locking(object, Action)
LockExtensions.Locking<TResult>(object, Func<TResult>)
In this article
Back to top Powered by ABP.IO Platform