DependencyInjectionInfoAttribute Constructor |
Namespace:
SD.LLBLGen.Pro.ORMSupportClasses
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.4.0.0 (5.4.0)
Syntax public DependencyInjectionInfoAttribute(
Type targetType,
string propertyName
)
Public Sub New (
targetType As Type,
propertyName As String
)
Parameters
- targetType
- Type: SystemType
Type of the target into which to inject an instance of the type annotated with this attribute. Can be an interface, in
which case all types which implement the interface and thus with the specified propertyName will get the instance type injected (if applicable) - propertyName
- Type: SystemString
Name of the property to set with the instance of the type annotated with this attribute.
See Also