Click or drag to resize

InjectAttribute Properties

The InjectAttribute type exposes the following members.

Properties
  NameDescription
Public propertyContractName
Gets or sets the contract name of the component to inject.
Public propertyContractType
Gets or sets the contract type of the component to inject.
Public propertyForceDontCreateMany
Gets or sets a value that tells the Factory not to inject many components even though the contract type is a subclass of IEnumerable.
Public propertyInjectFirst
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).
Public propertyIsOrdered
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).
Public propertyMakeThreadSafe
Gets or sets a value that tells the weaver to implement a double check lock pattern.
Public propertyNoPreloading
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.
Top
See Also