Table of Contents

Namespace Volo.Abp.DependencyInjection

Classes

AbpLazyServiceProvider

This class is equivalent of the TransientCachedServiceProvider. Use TransientCachedServiceProvider instead of this class, for new projects.

CachedServiceProvider
CachedServiceProviderBase
ConventionalRegistrarBase
DefaultConventionalRegistrar
DependencyAttribute
DisableConventionalRegistrationAttribute
DisablePropertyInjectionAttribute
ExposeKeyedServiceAttribute<TServiceType>
ExposeServicesAttribute
ExposedServiceExplorer
NullInjectPropertiesService
ObjectAccessor<T>
OnServiceActivatedContext
OnServiceExposingContext
OnServiceRegistredContext
RootServiceProvider
ServiceActivatedActionList
ServiceExposingActionList
ServiceRegistrationActionList
TransientCachedServiceProvider

Structs

ServiceIdentifier

https://github.com/dotnet/runtime/blob/release/8.0/src/libraries/Microsoft.Extensions.DependencyInjection/src/ServiceLookup/ServiceIdentifier.cs#L9

Interfaces

IAbpLazyServiceProvider

This service is equivalent of the ITransientCachedServiceProvider. Use ITransientCachedServiceProvider instead of this interface, for new projects.

ICachedServiceProvider

Provides services by caching the resolved services. It caches all type of services including transients. This service's lifetime is scoped and it should be used for a limited scope.

ICachedServiceProviderBase
IClientScopeServiceProviderAccessor
IConventionalRegistrar
IExposedKeyedServiceTypesProvider
IExposedServiceTypesProvider
IInjectPropertiesService
IObjectAccessor<T>
IOnServiceActivatedContext
IOnServiceExposingContext
IOnServiceRegistredContext
IRootServiceProvider

The root service provider of the application. Be careful to use the root service provider since there is no way to release/dispose objects resolved from the root service provider. So, always create a new scope if you need to resolve any service.

IScopedDependency
IServiceProviderAccessor
ISingletonDependency
ITransientCachedServiceProvider

Provides services by caching the resolved services. It caches all type of services including transients. This service's lifetime is transient. ICachedServiceProvider for the one with scoped lifetime.

ITransientDependency