Language

Runtime.AssemblyRegistration Event

Definition

Raised when an assembly is about to be registered with the Objective-C runtime, allowing an application to control whether the assembly's types are registered.

public static event ObjCRuntime.AssemblyRegistrationHandler? AssemblyRegistration;
member this.AssemblyRegistration : ObjCRuntime.AssemblyRegistrationHandler 

Event Type

Remarks

This event is only available on macOS. Set the event argument's Register property to false to skip registering the assembly.

Applies to