Bewerken

Delen via


NSCacheDelegate_Extensions Class

Definition

Extension methods to the INSCacheDelegate interface to support all the methods from the NSCacheDelegate protocol.

public static class NSCacheDelegate_Extensions
type NSCacheDelegate_Extensions = class
Inheritance
NSCacheDelegate_Extensions

Remarks

The extension methods for INSCacheDelegate allow developers to treat instances of the interface as having all the optional methods of the original NSCacheDelegate protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.

Methods

WillEvictObject(INSCacheDelegate, NSCache, NSObject)

Applies to