Language

Selector Constructors

Definition

Overloads

Name Description
Selector(NativeHandle)

A constructor used when creating managed representations of unmanaged objects. Called by the runtime.

Selector(String)

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

Selector(NativeHandle)

A constructor used when creating managed representations of unmanaged objects. Called by the runtime.

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

Parameters

sel
NativeHandle

Pointer (handle) to the unmanaged object.

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