C# Class Umbraco.UmbracoStudio.VisualStudio.SolutionManager

Inheritance: IVsSelectionEvents
Afficher le fichier Open project: umbraco/Visual-Studio-Extension Class Usage Examples

Méthodes publiques

Méthode Description
GetProject ( string projectSafeName ) : Project
GetProjectSafeName ( Project project ) : string
OnCmdUIContextChanged ( uint dwCmdUICookie, int fActive ) : int
OnElementValueChanged ( uint elementid, object varValueOld, object varValueNew ) : int
OnSelectionChanged ( IVsHierarchy pHierOld, uint itemidOld, IVsMultiItemSelect pMISOld, ISelectionContainer pSCOld, IVsHierarchy pHierNew, uint itemidNew, IVsMultiItemSelect pMISNew, ISelectionContainer pSCNew ) : int
SolutionManager ( ) : System

Private Methods

Méthode Description
AddProjectToCache ( Project project ) : void
EnsureProjectCache ( ) : void
GetProjects ( ) : IEnumerable
GetSolutionFilePath ( ) : string
IsSolutionSavedAsRequired ( ) : bool

Checks whether the current solution is saved to disk, as opposed to be in memory.

OnAfterClosing ( ) : void
OnBeforeClosing ( ) : void
OnProjectAdded ( Project project ) : void
OnProjectRemoved ( Project project ) : void
OnProjectRenamed ( Project project, string oldName ) : void
OnSolutionOpened ( ) : void
RemoveProjectFromCache ( string name ) : void
SetDefaultProject ( ) : void
SolutionManager ( DTE dte, IVsSolution vsSolution, IVsMonitorSelection vsMonitorSelection ) : System

Method Details

GetProject() public méthode

public GetProject ( string projectSafeName ) : Project
projectSafeName string
Résultat Project

GetProjectSafeName() public méthode

public GetProjectSafeName ( Project project ) : string
project Project
Résultat string

OnCmdUIContextChanged() public méthode

public OnCmdUIContextChanged ( uint dwCmdUICookie, int fActive ) : int
dwCmdUICookie uint
fActive int
Résultat int

OnElementValueChanged() public méthode

public OnElementValueChanged ( uint elementid, object varValueOld, object varValueNew ) : int
elementid uint
varValueOld object
varValueNew object
Résultat int

OnSelectionChanged() public méthode

public OnSelectionChanged ( IVsHierarchy pHierOld, uint itemidOld, IVsMultiItemSelect pMISOld, ISelectionContainer pSCOld, IVsHierarchy pHierNew, uint itemidNew, IVsMultiItemSelect pMISNew, ISelectionContainer pSCNew ) : int
pHierOld IVsHierarchy
itemidOld uint
pMISOld IVsMultiItemSelect
pSCOld ISelectionContainer
pHierNew IVsHierarchy
itemidNew uint
pMISNew IVsMultiItemSelect
pSCNew ISelectionContainer
Résultat int

SolutionManager() public méthode

public SolutionManager ( ) : System
Résultat System