Click or drag to resize

RuntimeConfigurationSetDependencyInjectionInfo Method (IServiceProvider, ActionIServiceProvider, IEntityCore)

Sets the dependency information to use by the runtime, using a ServiceProvider which will provide the injectable elements at runtime.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.9.0.0 (5.9.0)
Syntax
public static void SetDependencyInjectionInfo(
	IServiceProvider injectableProvider,
	params Action<IServiceProvider, IEntityCore>[] injectingFuncs
)

Parameters

injectableProvider
Type: SystemIServiceProvider
The injectable providing object. This can e.g. be the services of an asp.net core Host object
injectingFuncs
Type: SystemActionIServiceProvider, IEntityCore
These functions provide the actual injection. They should call IServiceProvider.GetService(type) and set the appropriate property on the provided IEntityCore element.
See Also