Click or drag to resize

ReflectionExtensions Class

Methods to ease reflection
Inheritance Hierarchy
SystemObject
  TomsToolbox.DesktopReflectionExtensions

Namespace:  TomsToolbox.Desktop
Assembly:  TomsToolbox.Desktop (in TomsToolbox.Desktop.dll) Version: 1.0.70.0
Syntax
public static class ReflectionExtensions

The ReflectionExtensions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberEnumerateAllTypes(IEnumerableAssembly)
Gets all types in all assemblies, including nested types.

[NotNull, ItemNotNull]

Public methodStatic memberEnumerateAllTypes(DirectoryInfo)
Enumerates all types in all assemblies with .dll extension in the specified directory.

[NotNull, ItemNotNull]

Public methodStatic memberEnumerateAllTypes(Assembly)
Gets all types in the assembly, including nested types.

[NotNull, ItemNotNull]

Public methodStatic memberEnumerateAllTypes(DirectoryInfo, String)
Enumerates all types in all assemblies in the specified directory.

[NotNull, ItemNotNull]

Public methodStatic memberGetAssemblyDirectory
Gets the directory in which the given assembly is stored.

[NotNull]

Public methodStatic memberTryLoadAssembly
Tries to load the assembly from the specified file without generating exceptions.

[CanBeNull]

Public methodStatic memberTryLoadAssemblyForReflectionOnly
Tries to load the assembly from the specified file without generating exceptions.

[CanBeNull]

Top
See Also