C# Class Microsoft.VisualStudio.Project.SolutionListenerForProjectEvents

This class triggers the project events for "our" hierrachies.
Inheritance: SolutionListener, IProjectEvents
Mostra file Open project: tunnelvisionlabs/MPFProj10

Public Methods

Method Description
OnAfterOpenProject ( IVsHierarchy hierarchy, int added ) : int
OnBeforeCloseProject ( IVsHierarchy hierarchy, int removed ) : int
SolutionListenerForProjectEvents ( System.IServiceProvider serviceProvider ) : System

Protected Methods

Method Description
RaiseAfterProjectFileOpened ( bool added ) : void

Raises after project file opened event.

RaiseBeforeProjectFileClosed ( bool removed ) : void

Raises the before project file closed event.

Method Details

OnAfterOpenProject() public method

public OnAfterOpenProject ( IVsHierarchy hierarchy, int added ) : int
hierarchy IVsHierarchy
added int
return int

OnBeforeCloseProject() public method

public OnBeforeCloseProject ( IVsHierarchy hierarchy, int removed ) : int
hierarchy IVsHierarchy
removed int
return int

RaiseAfterProjectFileOpened() protected method

Raises after project file opened event.
protected RaiseAfterProjectFileOpened ( bool added ) : void
added bool True if the project is added to the solution after the solution is opened. false if the project is added to the solution while the solution is being opened.
return void

RaiseBeforeProjectFileClosed() protected method

Raises the before project file closed event.
protected RaiseBeforeProjectFileClosed ( bool removed ) : void
removed bool true if the project was removed from the solution before the solution was closed. false if the project was removed from the solution while the solution was being closed.
return void

SolutionListenerForProjectEvents() public method

public SolutionListenerForProjectEvents ( System.IServiceProvider serviceProvider ) : System
serviceProvider System.IServiceProvider
return System