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.
Implements
Inherited Members
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()