Share via


INSCacheDelegate Interface

Definition

This interface represents the Objective-C protocol NSCacheDelegate.

[Foundation.Protocol(Name="NSCacheDelegate", WrapperType=typeof(Foundation.NSCacheDelegateWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillEvictObject", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(Foundation.NSCache), typeof(Foundation.NSObject) }, Selector="cache:willEvictObject:")]
public interface INSCacheDelegate : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(Name="NSCacheDelegate", WrapperType=typeof(Foundation.NSCacheDelegateWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillEvictObject", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(Foundation.NSCache), typeof(Foundation.NSObject) }, Selector="cache:willEvictObject:")>]
type INSCacheDelegate = interface
    interface INativeObject
    interface IDisposable
Derived
Attributes
Implements

Remarks

A class that implements this interface (and subclasses NSObject) will be exported to Objective-C as implementing the Objective-C protocol this interface represents.

A class may also implement members from this interface to implement members from the protocol.

Properties

Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Methods

WillEvictObject(NSCache, NSObject)

Extension Methods

WillEvictObject(INSCacheDelegate, NSCache, NSObject)
GetHandle(INativeObject)
GetNonNullHandle(INativeObject, String)

Applies to