C# Class Umbraco.UmbracoStudio.VisualStudio.SolutionManager

Inheritance: IVsSelectionEvents
Exibir arquivo Open project: umbraco/Visual-Studio-Extension Class Usage Examples

Public Methods

Method 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

Method 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 method

public GetProject ( string projectSafeName ) : Project
projectSafeName string
return Project

GetProjectSafeName() public method

public GetProjectSafeName ( Project project ) : string
project Project
return string

OnCmdUIContextChanged() public method

public OnCmdUIContextChanged ( uint dwCmdUICookie, int fActive ) : int
dwCmdUICookie uint
fActive int
return int

OnElementValueChanged() public method

public OnElementValueChanged ( uint elementid, object varValueOld, object varValueNew ) : int
elementid uint
varValueOld object
varValueNew object
return int

OnSelectionChanged() public method

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
return int

SolutionManager() public method

public SolutionManager ( ) : System
return System