The TypeFinder type exposes the following members.

Methods

  NameDescription
Public methodStatic memberCreate<(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.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodStatic memberGetAssembliesInFolder
Retrieve all the assemblies from given folder.
Public methodStatic membergetAssembliesInFolderForTypeFind
Collect all assemblies in given location.
Public methodStatic memberGetAssignableInstances(Type, Boolean, array<Object>[]()[][])
Non-generic version of "GetAssignableInstances<T>". Ideal for invocation in late bound context.
Public methodStatic memberGetAssignableInstances<(Of <<'(T>)>>)(Boolean, array<Object>[]()[][])
Create a list instances of any types derived from the given generic argument type.
Public methodStatic memberGetAssignableTypeInstancesFromAssembly<(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.
Public methodStatic memberGetAssignableTypeInstancesFromAssembly<(Of <<'(T>)>>)(String, array<Object>[]()[][])
Retrieve the instance of all types derived from the given type in the assembly.
Public methodStatic memberGetAssignableTypeInstancesFromAssembly<(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.
Public methodStatic memberGetAssignableTypeInstancesFromAssembly<(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.
Public methodStatic memberGetAssignableTypeInstancesFromAssembly<(Of <<'(T>)>>)(String, Type, array<Object>[]()[][])
Create a list of object instances with their types derived from the given generic argument type.
Public methodStatic memberGetAssignableTypeInstancesFromAssembly<(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.
Public methodStatic memberGetDerivedTypesFromAppDomain
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.
Public methodStatic memberGetDerivedTypesFromAssembly
Retrieve the Type definitions from all types in the assembly that are derived from the given type. Th given type itself is excluded.
Public methodStatic memberGetDerivedTypesFromLocation
Retrieve a list of types derived from a base type at the given location. This is a true late-binding method.
Public methodStatic memberGetGenericArgumentType(Object, Int32)
Get the Type of generic type argument at a certain position.
Public methodStatic memberGetGenericArgumentType(MethodBase, Int32)
Get the Type of a generic type argument at certain position from a method.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodStatic memberGetImplementingClass
Get the implementing class of the interface. Return the first instance.
Public methodStatic memberGetInterface
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
Public methodGetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberGetType(String)
Get a specific type from executing location. Include all DLL files in this location.
Public methodStatic memberGetTypeFromAssembly
Get the type from a specific assembly.
Public methodStatic memberGetTypeFromLocation(String, String)
Get a specific type from given hard drive location, searching through all DLL files, by default including the plugins folder.
Public methodStatic memberGetTypeFromLocation(String, String, Boolean)
Get a specific type from given hard drive location, searching through all DLL files.
Public methodStatic memberGetTypesFromAssembly
Retrieve all types from a given assembly.
Public methodStatic memberInvokeGenericMethod(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.
Public methodStatic memberInvokeGenericMethod(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.
Public methodStatic memberReflectiveExecute(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.
Public methodStatic memberReflectiveExecute(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.
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)

See Also