Anvil
Loading...
Searching...
No Matches
Anvil.Services.InjectionService Class Referencesealed
+ Inheritance diagram for Anvil.Services.InjectionService:
+ Collaboration diagram for Anvil.Services.InjectionService:

Public Member Functions

Inject< T > (T instance)
 Injects all properties with InjectAttribute in the specified object.
 

Member Function Documentation

◆ Inject< T >()

T Anvil.Services.InjectionService.Inject< T > ( 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: