Click or drag to resize

TypeConverterDataValueProjector Constructor (String, Int32, Type, Boolean, ProjectionValueProducerFunc, Int32, TypeConverter)

Initializes a new instance of the DataValueProjector class.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.10.0.0 (5.10.0)
Syntax
public TypeConverterDataValueProjector(
	string projectedResultName,
	int valueIndex,
	Type valueType,
	bool setUsingCTorHint,
	ProjectionValueProducerFunc valueProducerFunc,
	int[] valueProducerFuncParameterIndices,
	TypeConverter typeConverterToUse
)

Parameters

projectedResultName
Type: SystemString
Name of the projected result.
valueIndex
Type: SystemInt32
Index of the value. Ignored if valueProducerFunc has been specified
valueType
Type: SystemType
Type of the value.
setUsingCTorHint
Type: SystemBoolean
Flag which hints the projector engine how to set the destination element: via the constructor (true) or on another way (false). This flag can be ignored by the projector engine if values can better be set otherwise.
valueProducerFunc
Type: SD.LLBLGen.Pro.ORMSupportClassesProjectionValueProducerFunc
The the delegate to use to produce a value for this projector out of the list of object values. Be sure to set ValueProducerFuncParameterIndices if the delegate contained inside ValueProducerFunc requires any input values from the list of values to project
valueProducerFuncParameterIndices
Type: SystemInt32
the parameter indices array to use with ValueProducer. If ValueProducerFunc is null, this array is ignored.
typeConverterToUse
Type: System.ComponentModelTypeConverter
The type converter to use.
See Also