C# Class Microsoft.VSTalk.Integration.Events.ShellEventListener

A class that encapsulates listening for shell events.
Inheritance: BaseEventListener, IVsBroadcastMessageEvents, IVsShellPropertyEvents
Afficher le fichier Open project: Irdis/VSTalk Class Usage Examples

Méthodes publiques

Méthode Description
OnBroadcastMessage ( uint msg, IntPtr wParam, IntPtr lParam ) : int

Called when a message is broadcast to the environment window.

OnShellPropertyChange ( int propid, object var ) : int

Called when a shell property has changed.

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Releases unmanaged and - optionally - managed resources

Private Methods

Méthode Description
ShellEventListener ( VSTalkPackage package, IVsShell shellService ) : System

Initializes a new instance of the ShellEventListener class.

Method Details

Dispose() protected méthode

Releases unmanaged and - optionally - managed resources
protected Dispose ( bool disposing ) : void
disposing bool true to release both managed and unmanaged resources; false to release only unmanaged resources.
Résultat void

OnBroadcastMessage() public méthode

Called when a message is broadcast to the environment window.
public OnBroadcastMessage ( uint msg, IntPtr wParam, IntPtr lParam ) : int
msg uint The notification message.
wParam System.IntPtr The word value parameter.
lParam System.IntPtr The long integer parameter.
Résultat int

OnShellPropertyChange() public méthode

Called when a shell property has changed.
public OnShellPropertyChange ( int propid, object var ) : int
propid int The id of the property that changed.
var object The new value of the property.
Résultat int