Retrieve the instance of all types in the assembly that are derived from the given type.
The given type is excludes in the list.
A list of excluded types are provided.
Namespace: Cartella.SupportAssembly: CartellaBase (in CartellaBase.dll) Version: 4.1.0.171 (4.1.0.171)
Syntax
C# |
---|
public static List<T> GetAssignableTypeInstancesFromAssembly<T>(
Assembly assembly,
Type deriveFromType,
Object[] parameters,
List<Type> excludesTypes
)
where T : class
|
Visual Basic |
---|
Public Shared Function GetAssignableTypeInstancesFromAssembly(Of T As Class) ( _
assembly As Assembly, _
deriveFromType As Type, _
parameters As Object(), _
excludesTypes As List(Of Type) _
) As List(Of T) |
Visual C++ |
---|
public:
generic<typename T>
where T : ref class
static List<T>^ GetAssignableTypeInstancesFromAssembly(
Assembly^ assembly,
Type^ deriveFromType,
array<Object^>^ parameters,
List<Type^>^ excludesTypes
) |
Type Parameters
- T
- The given type to retrieve
Return Value
List of created instances
See Also