Selector Constructors

Definition

Overloads

Selector(IntPtr)

Creates a selector from the unmanaged pointer to the Objective-C selector.

Selector(String)

Creates a new selector and registers it with the Objective-C runtime.

Selector(IntPtr)

Creates a selector from the unmanaged pointer to the Objective-C selector.

public Selector (IntPtr sel);
new ObjCRuntime.Selector : nativeint -> ObjCRuntime.Selector

Parameters

sel
IntPtr

nativeint

Objective-C pointer to the selector.

Applies to

Selector(String)

Creates a new selector and registers it with the Objective-C runtime.

public Selector (string name);
new ObjCRuntime.Selector : string -> ObjCRuntime.Selector

Parameters

name
String

The selector name.

Applies to