Namespace Azos.Apps.Injection
Classes
ApplicationDependencyInjector
Implements base app dependency injection services
DependencyInjectionException
Thrown to indicate errors relating to dependency injection
InjectAttribute
Decorates fields that should be injected with app-rooted services (for example log or data store). A call to IApplication.DependencyInjector.InjectInto(instance) performs injection. Framework code invokes this method automatically for glue servers and MVC objects.
InjectModuleAttribute
Performs application module injection
InjectSingletonAttribute
Performs application singleton instance injection based on the type. If Name is specified and a singleton instance is INamed, also check for name match
SkyApplicationDependencyInjector
Implements sky app dependency injection services
TypeInjector
Framework-internal type which performs dependency injection on the specified type. Business app developers - do not use. Advanced: you can derive from this type in case of custom dependency injection implementation (e.g. use precompiled lambdas instead of reflection)
Interfaces
IApplicationDependencyInjector
Designates entities that process [Inject]-decorated fields and IApplicationInjection on a target objects passed into InjectInto(target) method. Access application default injector using IApplication.DependencyInjector property
IApplicationDependencyInjectorImplementation
IApplicationInjection
Denotes entities that implement custom application injection code, e.g. a data document may implement this interface to set its internal module dependencies by code (vs. using [Inject] attributes).
Delegates
InjectorAction
Framework internal delegate type participating in dependency injection