Runtime.AssemblyRegistration Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.