Edit

Share via


NSStreamDelegate_Extensions Class

Definition

Extension methods to the INSStreamDelegate interface to support all the methods from the NSStreamDelegate protocol.

public static class NSStreamDelegate_Extensions
type NSStreamDelegate_Extensions = class
Inheritance
NSStreamDelegate_Extensions

Remarks

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

Methods

HandleEvent(INSStreamDelegate, NSStream, NSStreamEvent)

Applies to