C# Класс Microsoft.VisualStudio.Project.SolutionListenerForProjectEvents

This class triggers the project events for "our" hierrachies.
Наследование: SolutionListener, IProjectEvents
Показать файл Открыть проект

Открытые методы

Метод Описание
OnAfterOpenProject ( IVsHierarchy hierarchy, int added ) : int
OnBeforeCloseProject ( IVsHierarchy hierarchy, int removed ) : int
SolutionListenerForProjectEvents ( System.IServiceProvider serviceProvider ) : System

Защищенные методы

Метод Описание
RaiseAfterProjectFileOpened ( bool added ) : void

Raises after project file opened event.

RaiseBeforeProjectFileClosed ( bool removed ) : void

Raises the before project file closed event.

Описание методов

OnAfterOpenProject() публичный Метод

public OnAfterOpenProject ( IVsHierarchy hierarchy, int added ) : int
hierarchy IVsHierarchy
added int
Результат int

OnBeforeCloseProject() публичный Метод

public OnBeforeCloseProject ( IVsHierarchy hierarchy, int removed ) : int
hierarchy IVsHierarchy
removed int
Результат int

RaiseAfterProjectFileOpened() защищенный Метод

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.
Результат void

RaiseBeforeProjectFileClosed() защищенный Метод

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.
Результат void

SolutionListenerForProjectEvents() публичный Метод

public SolutionListenerForProjectEvents ( System.IServiceProvider serviceProvider ) : System
serviceProvider System.IServiceProvider
Результат System