Method Inject
Inject<T>(T)
Injects all properties with InjectAttribute in the specified object.
public T Inject<T>(T instance)
Parameters
instanceTThe instance to inject.
Returns
- T
The instance with injected dependencies.
Type Parameters
TThe instance type.