MonoMac.ObjCRuntime.Runtime.ConnectMethod Method
This call allows the specified method in this method to respond to message invocations on this selector.

Syntax

public static void ConnectMethod (System.Reflection.MethodInfo method, Selector selector)

Parameters

method
Method to register with the runtime.
selector
Selector that will we want to connect to.

Remarks

The method must be declared on an NSObject-derived class.

You can use this method to dynamically reconfigure which methods on a class should respond to which Objective-C selectors.

Requirements

Namespace: MonoMac.ObjCRuntime
Assembly: XamMac (in XamMac.dll)
Assembly Versions: 0.0.0.0