The method should return a type with parameterless constructor that will be used to create a new IData instance. The returned type is used by C1 to construct a new object when New<(Of <<'(TData>)>>)()()()() is called.

Namespace: Composite.Data
Assembly: Composite (in Composite.dll) Version: 6.1.6325.31818

Syntax

C#
Type GetTypeToBuild(
	Type dataType
)
Visual Basic
Function GetTypeToBuild ( _
	dataType As Type _
) As Type
Visual C++
Type^ GetTypeToBuild(
	Type^ dataType
)

Parameters

dataType
Type: System..::..Type
The data interface type in question. This interface type is inheriting IData. And the interface type is also decorated with the attribute BuildNewHandlerAttribute.

Return Value

Should return a type that will be used to create an object that implements the given dataType interface.

See Also