InjectAttribute Properties |
The InjectAttribute type exposes the following members.
Name | Description | |
---|---|---|
ContractName |
Gets or sets the contract name of the component to inject.
| |
ContractType |
Gets or sets the contract type of the component to inject.
| |
ForceDontCreateMany |
Gets or sets a value that tells the Factory not to inject many components even though the contract type is a subclass of IEnumerable.
| |
InjectFirst |
Gets or sets a value that indicates if the implementation with the highest priority is injected even though there are multiple implementations available.
Equivalent to CreateFirst(String, Object).
| |
IsOrdered |
Gets or sets a value that indicates if the injected values should be ordered by its priority. This has only an effect if multiple components are injected.
Equivalent to CreateManyOrdered(String, Object).
| |
MakeThreadSafe |
Gets or sets a value that tells the weaver to implement a double check lock pattern.
| |
NoPreloading |
Gets or sets a value that indicates if the injection should be preloaded. If false the weaver will weave preloading in the static constructor of the class.
|