DevForce Help Reference
GetTypesImplementing(Type,IEnumerable<String>,Cardinality,Boolean) Method


Interface or base type
Assemblies to load for probing
If not found in the specified assemblies will also check all loaded user assemblies when this parameter is True
Returns a list of all of the types in one or more named assemblies that implement a specific interface or extend a specific class.
Syntax
'Declaration
 
Public Overloads Shared Function GetTypesImplementing( _
   ByVal type As Type, _
   ByVal probeAssemblyNames As IEnumerable(Of String), _
   ByVal expectedCardinality As Cardinality, _
   ByVal checkUserAssembliesIfNotFound As Boolean _
) As Type()
'Usage
 
Dim type As Type
Dim probeAssemblyNames As IEnumerable(Of String)
Dim expectedCardinality As Cardinality
Dim checkUserAssembliesIfNotFound As Boolean
Dim value() As Type
 
value = ReflectionFns.GetTypesImplementing(type, probeAssemblyNames, expectedCardinality, checkUserAssembliesIfNotFound)

Parameters

type
Interface or base type
probeAssemblyNames
Assemblies to load for probing
expectedCardinality
checkUserAssembliesIfNotFound
If not found in the specified assemblies will also check all loaded user assemblies when this parameter is True
Exceptions
ExceptionDescription
IdeaBlade.Core.IdeaBladeExceptionThrown when expected cardinality violated
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

ReflectionFns Class
ReflectionFns Members
Overload List

Send Feedback