Click or drag to resize

DependencyInjectionInfoAttribute Constructor

Initializes a new instance of the DependencyInjectionInfoAttribute class.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.9.0.0 (5.9.0)
Syntax
public DependencyInjectionInfoAttribute(
	Type targetType,
	string propertyName
)

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