Create a list of object instances with their types derived from the given generic
argument type.
Namespace: Cartella.SupportAssembly: CartellaBase (in CartellaBase.dll) Version: 4.1.0.171 (4.1.0.171)
Syntax
C# |
---|
public static List<T> GetAssignableTypeInstancesFromAssembly<T>(
string assemblyFilePath,
Type creationType,
Object[] parameters
)
where T : class, new()
|
Visual Basic |
---|
Public Shared Function GetAssignableTypeInstancesFromAssembly(Of T As {Class, New}) ( _
assemblyFilePath As String, _
creationType As Type, _
parameters As Object() _
) As List(Of T) |
Visual C++ |
---|
public:
generic<typename T>
where T : ref class, gcnew()
static List<T>^ GetAssignableTypeInstancesFromAssembly(
String^ assemblyFilePath,
Type^ creationType,
array<Object^>^ parameters
) |
Type Parameters
Return Value
Returns list of instances or a null object if the assembly file doesn't exist,
or is not a DLL file
See Also