Click or drag to resize

AssembliesLoadAssembly 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.1 (3.2.0.1)
Syntax
C#
public static void LoadAssembly(
	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
FileLoadExceptionA file that was found could not be loaded
See Also