C# Class Microsoft.VisualStudio.Project.SolutionListenerForProjectEvents

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

Méthodes publiques

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

Méthodes protégées

Méthode 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 méthode

public OnAfterOpenProject ( IVsHierarchy hierarchy, int added ) : int
hierarchy IVsHierarchy
added int
Résultat int

OnBeforeCloseProject() public méthode

public OnBeforeCloseProject ( IVsHierarchy hierarchy, int removed ) : int
hierarchy IVsHierarchy
removed int
Résultat int

RaiseAfterProjectFileOpened() protected méthode

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.
Résultat void

RaiseBeforeProjectFileClosed() protected méthode

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.
Résultat void

SolutionListenerForProjectEvents() public méthode

public SolutionListenerForProjectEvents ( System.IServiceProvider serviceProvider ) : System
serviceProvider System.IServiceProvider
Résultat System