Microsoft.VisualStudio.Project.SolutionListenerForProjectEvents.RaiseBeforeProjectFileClosed C# (CSharp) Метод

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
		protected virtual void RaiseBeforeProjectFileClosed(bool removed)
		{
			// Save event in temporary variable to avoid race condition.
			EventHandler<ProjectFileClosingEventArgs> tempEvent = this.ProjectFileClosing;
			if(tempEvent != null)
			{
				tempEvent(this, new ProjectFileClosingEventArgs(removed));
			}
		}
	}