Show / Hide Table of Contents

Interface IAbpLazyServiceProvider

Inherited Members
ICachedServiceProviderBase.GetService<T>(T)
ICachedServiceProviderBase.GetService(Type, object)
ICachedServiceProviderBase.GetService<T>(Func<IServiceProvider, object>)
ICachedServiceProviderBase.GetService(Type, Func<IServiceProvider, object>)
System.IServiceProvider.GetService(System.Type)
Namespace: Volo.Abp.DependencyInjection
Assembly: Volo.Abp.Core.dll
Syntax
public interface IAbpLazyServiceProvider : ICachedServiceProviderBase, IServiceProvider

Methods

LazyGetRequiredService(Type)

Declaration
object LazyGetRequiredService(Type serviceType)
Parameters
Type Name Description
System.Type serviceType
Returns
Type Description
object

LazyGetRequiredService<T>()

Declaration
T LazyGetRequiredService<T>()
Returns
Type Description
T
Type Parameters
Name Description
T

LazyGetService(Type, Func<IServiceProvider, object>)

Declaration
object LazyGetService(Type serviceType, Func<IServiceProvider, object> factory)
Parameters
Type Name Description
System.Type serviceType
System.Func<T, TResult><System.IServiceProvider, object> factory
Returns
Type Description
object

LazyGetService(Type, object)

Declaration
object LazyGetService(Type serviceType, object defaultValue)
Parameters
Type Name Description
System.Type serviceType
object defaultValue
Returns
Type Description
object

LazyGetService(Type)

Declaration
object? LazyGetService(Type serviceType)
Parameters
Type Name Description
System.Type serviceType
Returns
Type Description
object

LazyGetService<T>()

Declaration
T? LazyGetService<T>()
Returns
Type Description
T
Type Parameters
Name Description
T

LazyGetService<T>(T)

Declaration
T LazyGetService<T>(T defaultValue)
Parameters
Type Name Description
T defaultValue
Returns
Type Description
T
Type Parameters
Name Description
T

LazyGetService<T>(Func<IServiceProvider, object>)

Declaration
T LazyGetService<T>(Func<IServiceProvider, object> factory)
Parameters
Type Name Description
System.Func<T, TResult><System.IServiceProvider, object> factory
Returns
Type Description
T
Type Parameters
Name Description
T

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