Configure members
Change how and when a member is injected, for one member or for many.
A member's options are properties of its [Inject] attribute, such as
[Inject(Optional = true)]. A scope sets the same options for every member of a class, an assembly or
the project.
Topics
| Topic | Description |
|---|---|
| Options | Accept a missing dependency, wait for one that loads, follow replacements, and choose when a member is injected. |
| Wait until a context is ready | Wait for Async members in a coroutine, an async method or a callback, and read or control the wait. |
| Inject with scopes | Inject every member of a class, an assembly or the project, and set options for all of them. |