MonoTouch.ObjCRuntime.BaseWrapper Class
Base class used by the bindinge generator to generate Protocol Wrapper Types.

See Also: BaseWrapper Members

Syntax

public abstract class BaseWrapper : INativeObject, IDisposable

Remarks

This class is intended to support the binding generator, and contains some of the common idioms and patterns used for implementing a managed object that wraps an unmanaged Objective-C object.

The class provides a constructor that take a native handle, and a flag indicating whether the underlying object has already been retained by managed code or not as well as implementing the IDisposable interface which will invoke the Objective-C release method on the target when the object is no longer referenced by managed code.

Requirements

Namespace: MonoTouch.ObjCRuntime
Assembly: monotouch (in monotouch.dll)
Assembly Versions: 0.0.0.0