Interface IAbpLazyServiceProvider
Assembly: Volo.Abp.Core.dll
Syntax
public interface IAbpLazyServiceProvider : ICachedServiceProviderBase, IKeyedServiceProvider, IServiceProvider
Methods
LazyGetRequiredService(Type)
Declaration
object LazyGetRequiredService(Type serviceType)
Parameters
Type |
Name |
Description |
Type |
serviceType |
|
Returns
LazyGetRequiredService<T>()
Declaration
T LazyGetRequiredService<T>()
Returns
Type Parameters
LazyGetService(Type)
Declaration
object? LazyGetService(Type serviceType)
Parameters
Type |
Name |
Description |
Type |
serviceType |
|
Returns
LazyGetService(Type, Func<IServiceProvider, object>)
Declaration
object LazyGetService(Type serviceType, Func<IServiceProvider, object> factory)
Parameters
Returns
LazyGetService(Type, object)
Declaration
object LazyGetService(Type serviceType, object defaultValue)
Parameters
Type |
Name |
Description |
Type |
serviceType |
|
object |
defaultValue |
|
Returns
LazyGetService<T>()
Declaration
Returns
Type Parameters
LazyGetService<T>(Func<IServiceProvider, object>)
Declaration
T LazyGetService<T>(Func<IServiceProvider, object> factory)
Parameters
Returns
Type Parameters
LazyGetService<T>(T)
Declaration
T LazyGetService<T>(T defaultValue)
Parameters
Type |
Name |
Description |
T |
defaultValue |
|
Returns
Type Parameters
Extension Methods