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