UtilAssemblyRegistrationRegisterManagedAssembly(Assembly, AssemblyRegistrationFlags) Method

Registers the classes in a managed .NET assembly to enable creation from COM.

This is the equivalent for calling RegAsm.exe to register a .NET assembly.

Definition

Namespace: DevCase.Core.Diagnostics.Assembly
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static bool RegisterManagedAssembly(
	Assembly assembly,
	AssemblyRegistrationFlags flags
)

Parameters

assembly  Assembly
The DevCase.Core.Diagnostics.Assembly to be registered.
flags  AssemblyRegistrationFlags
Defines a set of flags used when registering assemblies.

Return Value

Boolean
if the assembly contains types that were successfully registered; otherwise if the assembly contains no eligible types.

See Also