Click or drag to resize

AssembliesLoadAssemblies Method

Loads the contents of all assemblies that matches the specified filter.

Namespace:  Cauldron.Reflection
Assembly:  Cauldron.Activator (in Cauldron.Activator.dll) Version: 3.2.0.2
Syntax
public static void LoadAssemblies(
	DirectoryInfo directory,
	string filter = "*.dll"
)

Parameters

directory
Type: System.IODirectoryInfo
The directory where the assemblies are located
filter (Optional)
Type: SystemString
The search string to match against the names of files in directory. This parameter can contain a combination of valid literal path and wildcard (* and ?) characters, but doesn't support regular expressions.
Exceptions
ExceptionCondition
DirectoryNotFoundExceptionThe path is invalid or does not exist.
FileLoadExceptionA file that was found could not be loaded
See Also