The TypeFinder type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() ![]() | Create<(Of <<'(T>)>>) |
Create an instance of certain object, then cast it to the given generic argument.
WARN: This method does not support T having multiple ctor() overloads with same number of parameters.
|
![]() | Equals | (Inherited from Object.) |
![]() ![]() | GetAssembliesInFolder |
Retrieve all the assemblies from given folder.
|
![]() ![]() | getAssembliesInFolderForTypeFind |
Collect all assemblies in given location.
|
![]() ![]() | GetAssignableInstances(Type, Boolean, array<Object>[]()[][]) |
Non-generic version of "GetAssignableInstances<T>". Ideal for
invocation in late bound context.
|
![]() ![]() | GetAssignableInstances<(Of <<'(T>)>>)(Boolean, array<Object>[]()[][]) |
Create a list instances of any types derived from the given generic argument type.
|
![]() ![]() | GetAssignableTypeInstancesFromAssembly<(Of <<'(T>)>>)(Assembly, array<Object>[]()[][]) |
Retrieve the instance of all types in the assembly that are derived from the given type.
The given type is excluded in the list.
|
![]() ![]() | GetAssignableTypeInstancesFromAssembly<(Of <<'(T>)>>)(String, array<Object>[]()[][]) |
Retrieve the instance of all types derived from the given type in the assembly.
|
![]() ![]() | GetAssignableTypeInstancesFromAssembly<(Of <<'(T>)>>)(Assembly, array<Object>[]()[][], List<(Of <<'(Type>)>>)) |
Retrieve the instance of all types in the assembly that are derived from the given type.
The given type is excludes in the list.
List of excluded types are provided.
|
![]() ![]() | GetAssignableTypeInstancesFromAssembly<(Of <<'(T>)>>)(Assembly, Type, array<Object>[]()[][]) |
Retrieve the instance of all types in the assembly that are derived from the given type.
The given type is excluded in the list.
|
![]() ![]() | GetAssignableTypeInstancesFromAssembly<(Of <<'(T>)>>)(String, Type, array<Object>[]()[][]) |
Create a list of object instances with their types derived from the given generic
argument type.
|
![]() ![]() | GetAssignableTypeInstancesFromAssembly<(Of <<'(T>)>>)(Assembly, Type, array<Object>[]()[][], List<(Of <<'(Type>)>>)) |
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.
|
![]() ![]() | GetDerivedTypesFromAppDomain |
Retrieve the Type definitions from all types in the loaded assemblies
from app domain
that are derived from the given type.
The given type itself is excluded.
|
![]() ![]() | GetDerivedTypesFromAssembly |
Retrieve the Type definitions from all types in the assembly
that are derived from the given type.
Th given type itself is excluded.
|
![]() ![]() | GetDerivedTypesFromLocation |
Retrieve a list of types derived from a base type at the given location.
This is a true late-binding method.
|
![]() ![]() | GetGenericArgumentType(Object, Int32) |
Get the Type of generic type argument at a certain position.
|
![]() ![]() | GetGenericArgumentType(MethodBase, Int32) |
Get the Type of a generic type argument at certain position from a method.
|
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() ![]() | GetImplementingClass |
Get the implementing class of the interface.
Return the first instance.
|
![]() ![]() | GetInterface |
Get the base interface type for the give type.
If type is an interface type, return itself;
If the type has multiple interface implementations, returns the one with
type name closest to the object type
|
![]() | GetType()()()() | Gets the Type of the current instance. (Inherited from Object.) |
![]() ![]() | GetType(String) |
Get a specific type from executing location.
Include all DLL files in this location.
|
![]() ![]() | GetTypeFromAssembly |
Get the type from a specific assembly.
|
![]() ![]() | GetTypeFromLocation(String, String) |
Get a specific type from given hard drive location,
searching through all DLL files, by default including the plugins folder.
|
![]() ![]() | GetTypeFromLocation(String, String, Boolean) |
Get a specific type from given hard drive location,
searching through all DLL files.
|
![]() ![]() | GetTypesFromAssembly |
Retrieve all types from a given assembly.
|
![]() ![]() | InvokeGenericMethod(String, Object, array<Type>[]()[][], array<KeyValuePair<(Of <<'(Type, Object>)>>)>[]()[][]) |
Invoke an generic method by name, in a reflection context.
This method is the only way to invoke a generic method in late bound conditions.
|
![]() ![]() | InvokeGenericMethod(String, Object, array<Type>[]()[][], array<Type>[]()[][], array<Object>[]()[][]) |
Invoke an generic method by name, in reflection context.
This method is the only way to invoke generic method in late bound conditions.
|
![]() ![]() | ReflectiveExecute(Action) |
Execute a method with no returns.
If the execution throws a target invocation exception,
dig into the exception, get the actual exception, and throw it.
|
![]() ![]() | ReflectiveExecute(Func<(Of <<'(Object>)>>)) |
Execute a method that will return an object via a callback.
If the execution throws a target invocation exception,
dig into the exception, get the actual exception, and throw it instead.
|
![]() | ToString | (Inherited from Object.) |