Upravit

Sdílet prostřednictvím


NSPortDelegate_Extensions Class

Definition

Extension methods to the INSPortDelegate interface to support all the methods from the NSPortDelegate protocol.

public static class NSPortDelegate_Extensions
type NSPortDelegate_Extensions = class
Inheritance
NSPortDelegate_Extensions

Remarks

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

Methods

MessageReceived(INSPortDelegate, NSPortMessage)

Applies to