Empeld
Empeld plugin documentation.
|
Mark a field or a property in a class as a dependency to-be-injected More...
Public Member Functions | |
DependencyAttribute () | |
Default constructor for dependency More... | |
Properties | |
bool | Optional [get, set] |
If false, the dependency injector will throw an exception if it can't find a dependency. More... | |
Mark a field or a property in a class as a dependency to-be-injected
Attribute: AttributeUsage(AttributeTargets.Property | AttributeTargets.Field)
pluginbase.Dependencies.DependencyAttribute.DependencyAttribute | ( | ) |
|
getset |
If false, the dependency injector will throw an exception if it can't find a dependency.
true
if optional; otherwise, false
.