Show / Hide Table of Contents

Class NSAutoreleasePool

The NSAutoreleasePool class is a wrapper around the native objective-C NSAutoreleasePool. In particular, this construct mimics the usage of an @autorelease block and can be used in much the same way, only with a C# using block instead.

Inheritance
Object
NSAutoreleasePool
Implements
IDisposable
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: OpenTK.Platform.MacOS
Assembly: OpenTK.dll
Syntax
public sealed class NSAutoreleasePool : IDisposable

Constructors

NSAutoreleasePool()

Allocates and initializes a new NSAutoreleasePool.

Declaration
public NSAutoreleasePool()

Methods

Dispose()

Disposes of the NSAutoreleasePool instance, draining it.

Declaration
public void Dispose()

Implements

System.IDisposable
In This Article
Back to top Generated by DocFX