C# Class SmartCmdArgs.VisualStudioHelper

Inheritance: IVsUpdateSolutionEvents2, IVsSelectionEvents
Mostra file Open project: MBulli/SmartCommandlineArgs Class Usage Examples

Public Methods

Method Description
Deinitalize ( ) : void
FindAllProjects ( ) : IEnumerable
FindStartupProject ( EnvDTE &startupProject ) : bool
GetMSBuildPropertyValue ( Project project, string propName ) : string
GetProjects ( EnvDTE project, List &allProjects ) : void
HierarchyForProject ( Project project ) : IVsHierarchy
Initialize ( ) : void
StartupProjectUniqueName ( ) : string
UpdateShellCommandUI ( bool immediateUpdate = true ) : void
VisualStudioHelper ( CmdArgsPackage package ) : System

Private Methods

Method Description
IVsSelectionEvents ( IVsHierarchy pHierOld, uint itemidOld, IVsMultiItemSelect pMISOld, ISelectionContainer pSCOld, IVsHierarchy pHierNew, uint itemidNew, IVsMultiItemSelect pMISNew, ISelectionContainer pSCNew ) : int
IVsSelectionEvents ( uint dwCmdUICookie, int fActive ) : int
IVsSelectionEvents ( uint elementid, object varValueOld, object varValueNew ) : int
IVsUpdateSolutionEvents ( ) : int
IVsUpdateSolutionEvents ( IVsHierarchy pIVsHierarchy ) : int
IVsUpdateSolutionEvents ( int &pfCancelUpdate ) : int
IVsUpdateSolutionEvents ( int fSucceeded, int fModified, int fCancelCommand ) : int
IVsUpdateSolutionEvents2 ( ) : int
IVsUpdateSolutionEvents2 ( IVsHierarchy pIVsHierarchy ) : int
IVsUpdateSolutionEvents2 ( IVsHierarchy pHierProj, IVsCfg pCfgProj, IVsCfg pCfgSln, uint dwAction, int &pfCancel ) : int
IVsUpdateSolutionEvents2 ( IVsHierarchy pHierProj, IVsCfg pCfgProj, IVsCfg pCfgSln, uint dwAction, int fSuccess, int fCancel ) : int
IVsUpdateSolutionEvents2 ( int &pfCancelUpdate ) : int
IVsUpdateSolutionEvents2 ( int fSucceeded, int fModified, int fCancelCommand ) : int
SolutionEvents_AfterClosing ( ) : void
SolutionEvents_BeforeClosing ( ) : void
SolutionEvents_Opened ( ) : void
SolutionEvents_ProjectAdded ( Project project ) : void
SolutionEvents_ProjectRemoved ( Project project ) : void
SolutionEvents_ProjectRenamed ( Project project, string oldName ) : void

Method Details

Deinitalize() public method

public Deinitalize ( ) : void
return void

FindAllProjects() public method

public FindAllProjects ( ) : IEnumerable
return IEnumerable

FindStartupProject() public method

public FindStartupProject ( EnvDTE &startupProject ) : bool
startupProject EnvDTE
return bool

GetMSBuildPropertyValue() public method

public GetMSBuildPropertyValue ( Project project, string propName ) : string
project Project
propName string
return string

GetProjects() public method

public GetProjects ( EnvDTE project, List &allProjects ) : void
project EnvDTE
allProjects List
return void

HierarchyForProject() public method

public HierarchyForProject ( Project project ) : IVsHierarchy
project Project
return IVsHierarchy

Initialize() public method

public Initialize ( ) : void
return void

StartupProjectUniqueName() public method

public StartupProjectUniqueName ( ) : string
return string

UpdateShellCommandUI() public method

public UpdateShellCommandUI ( bool immediateUpdate = true ) : void
immediateUpdate bool
return void

VisualStudioHelper() public method

public VisualStudioHelper ( CmdArgsPackage package ) : System
package CmdArgsPackage
return System