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

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

Public Methods

Method 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.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Releases unmanaged and - optionally - managed resources

Private Methods

Method Description
ShellEventListener ( VSTalkPackage package, IVsShell shellService ) : System

Initializes a new instance of the ShellEventListener class.

Method Details

Dispose() protected method

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.
return void

OnBroadcastMessage() public method

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.
return int

OnShellPropertyChange() public method

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.
return int