Share via


ComponentCatalog.RegisterAssembly(Assembly, Boolean) Method

Definition

Registers all the components in the specified assembly by looking for loadable classes and adding them to the catalog.

public void RegisterAssembly (System.Reflection.Assembly assembly, bool throwOnError = true);
member this.RegisterAssembly : System.Reflection.Assembly * bool -> unit
Public Sub RegisterAssembly (assembly As Assembly, Optional throwOnError As Boolean = true)

Parameters

assembly
Assembly

The assembly to register.

throwOnError
Boolean

true to throw an exception if there are errors with registering the components; false to skip any errors.

Applies to