Runtime.RegisterAssembly(Assembly) Method

Definition

Registers all of the classes in the specified assembly.

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.Optimizable)]
public static void RegisterAssembly(System.Reflection.Assembly a);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.Optimizable)>]
static member RegisterAssembly : System.Reflection.Assembly -> unit

Parameters

a
Assembly

The assembly to process.

Attributes

Remarks

This iterates over all the types that derive from NSObject in the specified assembly and registers them with the runtime.

Applies to