C# Class Microsoft.VisualStudio.Project.SolutionListenerForProjectReferenceUpdate

Inheritance: SolutionListener
Show file Open project: IntelliTect/PowerStudio

Public Methods

Method Description
OnAfterLoadProject ( IVsHierarchy stubHierarchy, IVsHierarchy realHierarchy ) : int

Needs to update the dangling reference on projects that contain this hierarchy as project reference.

OnAfterRenameProject ( IVsHierarchy hierarchy ) : int
OnBeforeCloseProject ( IVsHierarchy hierarchy, int removed ) : int

Delete this project from the references of projects of this type, if it is found.

OnBeforeUnloadProject ( IVsHierarchy realHierarchy, IVsHierarchy stubHierarchy ) : int
SolutionListenerForProjectReferenceUpdate ( System.IServiceProvider serviceProvider ) : System

Private Methods

Method Description
GetProjectReferenceOnNodeForHierarchy ( IList references, IVsHierarchy inputHierarchy ) : ProjectReferenceNode
GetProjectReferencesContainingThisProject ( IVsHierarchy inputHierarchy ) : List

Method Details

OnAfterLoadProject() public method

Needs to update the dangling reference on projects that contain this hierarchy as project reference.
public OnAfterLoadProject ( IVsHierarchy stubHierarchy, IVsHierarchy realHierarchy ) : int
stubHierarchy IVsHierarchy
realHierarchy IVsHierarchy
return int

OnAfterRenameProject() public method

public OnAfterRenameProject ( IVsHierarchy hierarchy ) : int
hierarchy IVsHierarchy
return int

OnBeforeCloseProject() public method

Delete this project from the references of projects of this type, if it is found.
public OnBeforeCloseProject ( IVsHierarchy hierarchy, int removed ) : int
hierarchy IVsHierarchy
removed int
return int

OnBeforeUnloadProject() public method

public OnBeforeUnloadProject ( IVsHierarchy realHierarchy, IVsHierarchy stubHierarchy ) : int
realHierarchy IVsHierarchy
stubHierarchy IVsHierarchy
return int

SolutionListenerForProjectReferenceUpdate() public method

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