DevForce Help Reference
AddGenerator(Type) Method


Creates and adds a constructor function for the type to the CompositionContext.
Syntax
'Declaration
 
Protected Overloads Sub AddGenerator( _
   ByVal type As Type _
) 
'Usage
 
Dim instance As CompositionContext
Dim type As Type
 
instance.AddGenerator(type)
protected void AddGenerator( 
   Type type
)

Parameters

type
Exceptions
ExceptionDescription
System.ArgumentExceptionThrown if the specified type does not have a composable base type or interface
Requirements

Target Platforms: Windows 7, 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

Reference

CompositionContext Class
CompositionContext Members
Overload List

Send Feedback