Interface INotifyDisposing

Indicates that the type that implements the interface provides disposing notifications. Implement this interface if the class must notify other objects when it is releasing resources. The base component class already implements this interface. Therefore, typically this interface is already available.

Index

Methods

Methods

public add_disposing(handler: Function)

Occurs when an object's resources are released.

Parameters

  • handler: Function
      The name of the event handler for the disposing event.
    

public remove_disposing(handler: Function)

Occurs when an object's resources are released.

Parameters

  • handler: Function
      The name of the event handler for the disposing event.