DependencyInjectionInfoAttribute Constructor |
Namespace:
SD.LLBLGen.Pro.ORMSupportClasses
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.6.0.0 (5.6.19.0117)
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