Anvil
Anvil.Services.InjectionService Class Reference
+ Inheritance diagram for Anvil.Services.InjectionService:
+ Collaboration diagram for Anvil.Services.InjectionService:

Public Member Functions

 InjectionService (IServiceManager serviceManager, PluginManager pluginManager)
 
Inject< T > (T instance)
 Injects all properties with InjectAttribute in the specified object. More...
 

Member Function Documentation

◆ Inject< T >()

T Anvil.Services.InjectionService.Inject< T > ( instance)
inline

Injects all properties with InjectAttribute in the specified object.

Parameters
instanceThe instance to inject.
Template Parameters
TThe instance type.
Returns
The instance with injected dependencies.

The documentation for this class was generated from the following file: