Version

AddOlapPart<T> Method (OlapComposition)

Add a part to composition. This method is used for building the tree for composing the required object. The part could specify the type of object for creation or the type of the instance that is expected.
Syntax
'Declaration
 
Public Sub AddOlapPart(Of T As Class)( _
   ByVal ParamArray interfaceConnectors() As Type _
) 
public void AddOlapPart<T>( 
   params Type[] interfaceConnectors
)
where T: class

Parameters

interfaceConnectors
List of types used for creating an instance of mainType. The class of type "T" should have a constructor with the same set of parameters.

Type Parameters

T
The type that will be created or the type of object that is expected.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also