Mac Guides | Samples

MonoMac.Foundation.NSCache Class

See Also: NSCache

Syntax

[MonoMac.Foundation.Register("NSCache", true)]
public class NSCache : NSObject

Requirements

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

The members of MonoMac.Foundation.NSCache are listed below.

See Also: NSObject

Public Constructors

Default constructor that initializes a new instance of this class with no parameters.
A constructor that initializes the object from the data stored in the unarchiver object.
Constructor to call on derived classes when the derived class has an [Export] constructor.
A constructor used when creating managed representations of unmanaged objects; Called by the runtime.

Public Properties

[read-only]
override
ClassHandleIntPtr. The handle for this class.
CountLimitUInt32.
DelegateNSCacheDelegate. An instance of the MonoMac.Foundation.NSCacheDelegate model class which acts as the class delegate.
EvictsObjectsWithDiscardedContentBoolean.
NameString.
TotalCostLimitUInt32.
WeakDelegateNSObject. An object that can respond to the delegate protocol for this type

Public Methods

Protected Methods

override
Dispose(Boolean)
Releases the resourced used by the NSCache object.

Public Events

WillEvictObjectEvent raised by the object.