C# Class GitScc.SccProviderService

Inheritance: IVsSccProvider, IVsSccManagerTooltip, IVsSolutionEvents, IVsSolutionEvents2, IVsSccGlyphs, IDisposable, IVsUpdateSolutionEvents2, IVsTrackProjectDocumentsEvents2
Show file Open project: jzoss/Git-Source-Control-Provider Class Usage Examples

Private Properties

Property Type Description
AddProject System.Threading.Tasks.Task
AddProjectToSourceControl System.Threading.Tasks.Task
AutoAddProject Task
CloseTracker void
CompareFile System.Threading.Tasks.Task
CompareSelectedFile System.Threading.Tasks.Task
DisableSccForSolution void
EditIgnore void
EnableSccForSolution System.Threading.Tasks.Task
GetCaseSensitiveFileName string
GetChangesetManager GitScc.GitChangesetManager
GetCurrentTrackerAsync Task
GetFileName Task
GetFileStatus GitFileStatus
GetFileStatus Task
GetLongPathName uint
GetNodeFiles Task>
GetProjectFileName Task
GetSelectFileName Task
GetSelectedNodes Task>
GetShortPathName uint
GetSolutionTracker Task
GetTracker GitFileStatusTracker
HandleSolutionRefresh void
InitRepo System.Threading.Tasks.Task
OpenTracker System.Threading.Tasks.Task
ProcessFileStatusUpdate System.Threading.Tasks.Task
ProcessMultiFileChange System.Threading.Tasks.Task
RefreshSolution System.Threading.Tasks.Task
RefreshSolutionGlyphs System.Threading.Tasks.Task
RegisterEntireSolution System.Threading.Tasks.Task
RegisterProjectWithGit void
ReloadAllGlyphs System.Threading.Tasks.Task
RepositoryManager_CommitChanged void
RepositoryManager_FileStatusUpdate void
RepositoryManager_FilesChanged void
RepositoryManager_SolutionTrackerBranchChanged void
SetSolutionExplorerTitle System.Threading.Tasks.Task
SetSolutionExplorerTitle System.Threading.Tasks.Task
SetupDocumentEvents void
SetupSolutionEvents void
UnRegisterDocumentEvents void
UnRegisterSolutionEvents void
UndoFileChanges void
UndoSelectedFile System.Threading.Tasks.Task
UpdateSolutionFileStatus System.Threading.Tasks.Task
UpdateSolutionFiles System.Threading.Tasks.Task
_solutionEvents_Opened void
_solutionEvents_ProjectAdded void
_windowEvents_WindowActivated void

Public Methods

Method Description
AnyItemsUnderSourceControl ( int &pfResult ) : int
BranchUIClickedAsync ( ISccUIClickedEventArgs args, CancellationToken cancellationToken ) : System.Threading.Tasks.Task
BrowseForProject ( string &pbstrDirectory, int &pfOK ) : int
CancelAfterBrowseForProject ( ) : int
Dispose ( ) : void
FileTracked ( string filename ) : bool
GetCurrentBranchNameAsync ( ) : Task
GetCustomGlyphList ( uint BaseIndex, uint &pdwImageListHandle ) : int
GetGlyphTipText ( [ phierHierarchy, [ itemidNode, string &pbstrTooltipText ) : int

Called by solution explorer to provide tooltips for items. Returns a text describing the source control status of the item.

GetSccGlyph ( [ cFiles, [ rgpszFullPaths, [ rgsiGlyphs, [ rgdwSccStatus ) : int

Provide source control icons for the specified files and returns scc status of files

GetSccGlyphFromStatus ( [ dwSccStatus, [ psiGlyph ) : int

Determines the corresponding scc status glyph to display, given a combination of scc status flags

GetSolutionFileName ( ) : Task

Returns the filename of the solution

IsBSLSupported ( ) : bool
IsFileBelowDirectory ( string fileInfo, string directoryInfo, string separator ) : bool
IsInstalled ( int &pbInstalled ) : int

Returns whether the source control provider is fully installed

OnActiveProjectCfgChange ( IVsHierarchy pIVsHierarchy ) : int
OnAfterAddDirectoriesEx ( int cProjects, int cDirectories, IVsProject rgpProjects, int rgFirstIndices, string rgpszMkDocuments, VSADDDIRECTORYFLAGS rgFlags ) : int
OnAfterAddFilesEx ( int cProjects, int cFiles, IVsProject rgpProjects, int rgFirstIndices, string rgpszMkDocuments, VSADDFILEFLAGS rgFlags ) : int
OnAfterBackgroundSolutionLoadComplete ( ) : int
OnAfterCloseSolution ( [ pUnkReserved ) : int
OnAfterLoadProject ( [ pStubHierarchy, [ pRealHierarchy ) : int
OnAfterLoadProjectBatch ( bool fIsBackgroundIdleBatch ) : int
OnAfterMergeSolution ( [ pUnkReserved ) : int
OnAfterOpenProject ( [ pHierarchy, [ fAdded ) : int
OnAfterOpenSolution ( [ pUnkReserved, [ fNewSolution ) : int
OnAfterRemoveDirectories ( int cProjects, int cDirectories, IVsProject rgpProjects, int rgFirstIndices, string rgpszMkDocuments, VSREMOVEDIRECTORYFLAGS rgFlags ) : int
OnAfterRemoveFiles ( int cProjects, int cFiles, IVsProject rgpProjects, int rgFirstIndices, string rgpszMkDocuments, VSREMOVEFILEFLAGS rgFlags ) : int
OnAfterRenameDirectories ( int cProjects, int cDirs, IVsProject rgpProjects, int rgFirstIndices, string rgszMkOldNames, string rgszMkNewNames, VSRENAMEDIRECTORYFLAGS rgFlags ) : int
OnAfterRenameFiles ( int cProjects, int cFiles, IVsProject rgpProjects, int rgFirstIndices, string rgszMkOldNames, string rgszMkNewNames, VSRENAMEFILEFLAGS rgFlags ) : int
OnAfterSccStatusChanged ( int cProjects, int cFiles, IVsProject rgpProjects, int rgFirstIndices, string rgpszMkDocuments, uint rgdwSccStatus ) : int
OnBeforeBackgroundSolutionLoadBegins ( ) : int
OnBeforeCloseProject ( [ pHierarchy, [ fRemoved ) : int
OnBeforeCloseSolution ( [ pUnkReserved ) : int
OnBeforeLoadProjectBatch ( bool fIsBackgroundIdleBatch ) : int
OnBeforeOpenSolution ( string pszSolutionFilename ) : int
OnBeforeUnloadProject ( [ pRealHierarchy, [ pStubHierarchy ) : int
OnQueryAddDirectories ( IVsProject pProject, int cDirectories, string rgpszMkDocuments, VSQUERYADDDIRECTORYFLAGS rgFlags, VSQUERYADDDIRECTORYRESULTS pSummaryResult, VSQUERYADDDIRECTORYRESULTS rgResults ) : int
OnQueryAddFiles ( IVsProject pProject, int cFiles, string rgpszMkDocuments, VSQUERYADDFILEFLAGS rgFlags, VSQUERYADDFILERESULTS pSummaryResult, VSQUERYADDFILERESULTS rgResults ) : int
OnQueryBackgroundLoadProjectBatch ( bool &pfShouldDelayLoadToNextIdle ) : int
OnQueryCloseProject ( [ pHierarchy, [ fRemoving, [ pfCancel ) : int
OnQueryCloseSolution ( [ pUnkReserved, [ pfCancel ) : int
OnQueryRemoveDirectories ( IVsProject pProject, int cDirectories, string rgpszMkDocuments, VSQUERYREMOVEDIRECTORYFLAGS rgFlags, VSQUERYREMOVEDIRECTORYRESULTS pSummaryResult, VSQUERYREMOVEDIRECTORYRESULTS rgResults ) : int
OnQueryRemoveFiles ( IVsProject pProject, int cFiles, string rgpszMkDocuments, VSQUERYREMOVEFILEFLAGS rgFlags, VSQUERYREMOVEFILERESULTS pSummaryResult, VSQUERYREMOVEFILERESULTS rgResults ) : int
OnQueryRenameDirectories ( IVsProject pProject, int cDirs, string rgszMkOldNames, string rgszMkNewNames, VSQUERYRENAMEDIRECTORYFLAGS rgFlags, VSQUERYRENAMEDIRECTORYRESULTS pSummaryResult, VSQUERYRENAMEDIRECTORYRESULTS rgResults ) : int
OnQueryRenameFiles ( IVsProject pProject, int cFiles, string rgszMkOldNames, string rgszMkNewNames, VSQUERYRENAMEFILEFLAGS rgFlags, VSQUERYRENAMEFILERESULTS pSummaryResult, VSQUERYRENAMEFILERESULTS rgResults ) : int
OnQueryUnloadProject ( [ pRealHierarchy, [ pfCancel ) : int
PendingChangesUIClickedAsync ( ISccUIClickedEventArgs args, CancellationToken cancellationToken ) : System.Threading.Tasks.Task
QuickRefreshNodesGlyphs ( IVsSccProject2 project, List files ) : System.Threading.Tasks.Task
RefreshNodesGlyphs ( IList selectedNodes ) : System.Threading.Tasks.Task

Refreshes the glyphs of the specified hierarchy nodes

RefreshProjectGlyphs ( List projects ) : System.Threading.Tasks.Task
RegisterSccProject ( [ pscp2Project, [ pszSccProjectName, [ pszSccAuxPath, [ pszSccLocalPath, [ pszProvider ) : int

One of the most important methods in a source control provider, is called by projects that are under source control when they are first opened to register project settings

RepositoryUIClickedAsync ( ISccUIClickedEventArgs args, CancellationToken cancellationToken ) : System.Threading.Tasks.Task
SccProviderService ( GitScc.BasicSccProvider sccProvider ) : System
SetActive ( ) : int
SetInactive ( ) : int
UnregisterSccProject ( [ pscp2Project ) : int

Called by projects registered with the source control portion of the environment before they are closed.

UpdateProjectCfg_Begin ( IVsHierarchy pHierProj, IVsCfg pCfgProj, IVsCfg pCfgSln, uint dwAction, int &pfCancel ) : int
UpdateProjectCfg_Done ( IVsHierarchy pHierProj, IVsCfg pCfgProj, IVsCfg pCfgSln, uint dwAction, int fSuccess, int fCancel ) : int
UpdateSolution_Begin ( int &pfCancelUpdate ) : int
UpdateSolution_Cancel ( ) : int
UpdateSolution_Done ( int fSucceeded, int fModified, int fCancelCommand ) : int
UpdateSolution_StartUpdate ( int &pfCancelUpdate ) : int

Private Methods

Method Description
AddProject ( IVsHierarchy pHierarchy ) : System.Threading.Tasks.Task
AddProjectToSourceControl ( IVsSccProject2 project ) : System.Threading.Tasks.Task
AutoAddProject ( Project dteProject ) : Task
CloseTracker ( ) : void
CompareFile ( string filename ) : System.Threading.Tasks.Task
CompareSelectedFile ( ) : System.Threading.Tasks.Task
DisableSccForSolution ( ) : void
EditIgnore ( ) : void
EnableSccForSolution ( ) : System.Threading.Tasks.Task
GetCaseSensitiveFileName ( string fileName ) : string
GetChangesetManager ( GitRepository repo ) : GitScc.GitChangesetManager
GetCurrentTrackerAsync ( ) : Task
GetFileName ( IVsHierarchy hierHierarchy, uint itemidNode ) : Task
GetFileStatus ( string fileName ) : GitFileStatus
GetFileStatus ( IVsHierarchy phierHierarchy, uint itemidNode ) : Task
GetLongPathName ( string shortpath, StringBuilder sb, int buffer ) : uint
GetNodeFiles ( IVsSccProject2 pscp2, uint itemid ) : Task>

Returns a list of source controllable files associated with the specified node

GetProjectFileName ( IVsHierarchy hierHierarchy ) : Task
GetSelectFileName ( ) : Task
GetSelectedNodes ( ) : Task>

Gets the list of directly selected VSITEMSELECTION objects

GetShortPathName ( string longpath, StringBuilder sb, int buffer ) : uint
GetSolutionTracker ( ) : Task
GetTracker ( string fileName ) : GitFileStatusTracker
HandleSolutionRefresh ( object sender, EventArgs e ) : void
InitRepo ( ) : System.Threading.Tasks.Task
OpenTracker ( ) : System.Threading.Tasks.Task
ProcessFileStatusUpdate ( GitRepository repo, GitScc.GitFilesStatusUpdateEventArgs e ) : System.Threading.Tasks.Task
ProcessMultiFileChange ( GitRepository repo, GitScc.GitFilesUpdateEventArgs e ) : System.Threading.Tasks.Task
RefreshSolution ( ) : System.Threading.Tasks.Task
RefreshSolutionGlyphs ( ) : System.Threading.Tasks.Task
RegisterEntireSolution ( ) : System.Threading.Tasks.Task
RegisterProjectWithGit ( IVsSccProject2 pscp2Project ) : void
ReloadAllGlyphs ( ) : System.Threading.Tasks.Task
RepositoryManager_CommitChanged ( object sender, GitScc.GitRepositoryEvent e ) : void
RepositoryManager_FileStatusUpdate ( object sender, GitScc.GitFilesStatusUpdateEventArgs e ) : void
RepositoryManager_FilesChanged ( object sender, GitScc.GitFilesUpdateEventArgs e ) : void
RepositoryManager_SolutionTrackerBranchChanged ( object sender, string e ) : void
SetSolutionExplorerTitle ( ) : System.Threading.Tasks.Task
SetSolutionExplorerTitle ( string message ) : System.Threading.Tasks.Task
SetupDocumentEvents ( ) : void
SetupSolutionEvents ( ) : void
UnRegisterDocumentEvents ( ) : void
UnRegisterSolutionEvents ( ) : void
UndoFileChanges ( string fileName ) : void
UndoSelectedFile ( ) : System.Threading.Tasks.Task
UpdateSolutionFileStatus ( GitRepository repo, List files ) : System.Threading.Tasks.Task
UpdateSolutionFiles ( GitRepository repo, List files, bool force = false ) : System.Threading.Tasks.Task
_solutionEvents_Opened ( ) : void
_solutionEvents_ProjectAdded ( Project dteProject ) : void
_windowEvents_WindowActivated ( Window GotFocus, Window LostFocus ) : void

Method Details

AnyItemsUnderSourceControl() public method

public AnyItemsUnderSourceControl ( int &pfResult ) : int
pfResult int
return int

BranchUIClickedAsync() public method

public BranchUIClickedAsync ( ISccUIClickedEventArgs args, CancellationToken cancellationToken ) : System.Threading.Tasks.Task
args ISccUIClickedEventArgs
cancellationToken CancellationToken
return System.Threading.Tasks.Task

BrowseForProject() public method

public BrowseForProject ( string &pbstrDirectory, int &pfOK ) : int
pbstrDirectory string
pfOK int
return int

CancelAfterBrowseForProject() public method

public CancelAfterBrowseForProject ( ) : int
return int

Dispose() public method

public Dispose ( ) : void
return void

FileTracked() public method

public FileTracked ( string filename ) : bool
filename string
return bool

GetCurrentBranchNameAsync() public method

public GetCurrentBranchNameAsync ( ) : Task
return Task

GetCustomGlyphList() public method

public GetCustomGlyphList ( uint BaseIndex, uint &pdwImageListHandle ) : int
BaseIndex uint
pdwImageListHandle uint
return int

GetGlyphTipText() public method

Called by solution explorer to provide tooltips for items. Returns a text describing the source control status of the item.
public GetGlyphTipText ( [ phierHierarchy, [ itemidNode, string &pbstrTooltipText ) : int
phierHierarchy [
itemidNode [
pbstrTooltipText string
return int

GetSccGlyph() public method

Provide source control icons for the specified files and returns scc status of files
public GetSccGlyph ( [ cFiles, [ rgpszFullPaths, [ rgsiGlyphs, [ rgdwSccStatus ) : int
cFiles [
rgpszFullPaths [
rgsiGlyphs [
rgdwSccStatus [
return int

GetSccGlyphFromStatus() public method

Determines the corresponding scc status glyph to display, given a combination of scc status flags
public GetSccGlyphFromStatus ( [ dwSccStatus, [ psiGlyph ) : int
dwSccStatus [
psiGlyph [
return int

GetSolutionFileName() public method

Returns the filename of the solution
public GetSolutionFileName ( ) : Task
return Task

IsBSLSupported() public method

public IsBSLSupported ( ) : bool
return bool

IsFileBelowDirectory() public static method

public static IsFileBelowDirectory ( string fileInfo, string directoryInfo, string separator ) : bool
fileInfo string
directoryInfo string
separator string
return bool

IsInstalled() public method

Returns whether the source control provider is fully installed
public IsInstalled ( int &pbInstalled ) : int
pbInstalled int
return int

OnActiveProjectCfgChange() public method

public OnActiveProjectCfgChange ( IVsHierarchy pIVsHierarchy ) : int
pIVsHierarchy IVsHierarchy
return int

OnAfterAddDirectoriesEx() public method

public OnAfterAddDirectoriesEx ( int cProjects, int cDirectories, IVsProject rgpProjects, int rgFirstIndices, string rgpszMkDocuments, VSADDDIRECTORYFLAGS rgFlags ) : int
cProjects int
cDirectories int
rgpProjects IVsProject
rgFirstIndices int
rgpszMkDocuments string
rgFlags VSADDDIRECTORYFLAGS
return int

OnAfterAddFilesEx() public method

public OnAfterAddFilesEx ( int cProjects, int cFiles, IVsProject rgpProjects, int rgFirstIndices, string rgpszMkDocuments, VSADDFILEFLAGS rgFlags ) : int
cProjects int
cFiles int
rgpProjects IVsProject
rgFirstIndices int
rgpszMkDocuments string
rgFlags VSADDFILEFLAGS
return int

OnAfterBackgroundSolutionLoadComplete() public method

public OnAfterBackgroundSolutionLoadComplete ( ) : int
return int

OnAfterCloseSolution() public method

public OnAfterCloseSolution ( [ pUnkReserved ) : int
pUnkReserved [
return int

OnAfterLoadProject() public method

public OnAfterLoadProject ( [ pStubHierarchy, [ pRealHierarchy ) : int
pStubHierarchy [
pRealHierarchy [
return int

OnAfterLoadProjectBatch() public method

public OnAfterLoadProjectBatch ( bool fIsBackgroundIdleBatch ) : int
fIsBackgroundIdleBatch bool
return int

OnAfterMergeSolution() public method

public OnAfterMergeSolution ( [ pUnkReserved ) : int
pUnkReserved [
return int

OnAfterOpenProject() public method

public OnAfterOpenProject ( [ pHierarchy, [ fAdded ) : int
pHierarchy [
fAdded [
return int

OnAfterOpenSolution() public method

public OnAfterOpenSolution ( [ pUnkReserved, [ fNewSolution ) : int
pUnkReserved [
fNewSolution [
return int

OnAfterRemoveDirectories() public method

public OnAfterRemoveDirectories ( int cProjects, int cDirectories, IVsProject rgpProjects, int rgFirstIndices, string rgpszMkDocuments, VSREMOVEDIRECTORYFLAGS rgFlags ) : int
cProjects int
cDirectories int
rgpProjects IVsProject
rgFirstIndices int
rgpszMkDocuments string
rgFlags VSREMOVEDIRECTORYFLAGS
return int

OnAfterRemoveFiles() public method

public OnAfterRemoveFiles ( int cProjects, int cFiles, IVsProject rgpProjects, int rgFirstIndices, string rgpszMkDocuments, VSREMOVEFILEFLAGS rgFlags ) : int
cProjects int
cFiles int
rgpProjects IVsProject
rgFirstIndices int
rgpszMkDocuments string
rgFlags VSREMOVEFILEFLAGS
return int

OnAfterRenameDirectories() public method

public OnAfterRenameDirectories ( int cProjects, int cDirs, IVsProject rgpProjects, int rgFirstIndices, string rgszMkOldNames, string rgszMkNewNames, VSRENAMEDIRECTORYFLAGS rgFlags ) : int
cProjects int
cDirs int
rgpProjects IVsProject
rgFirstIndices int
rgszMkOldNames string
rgszMkNewNames string
rgFlags VSRENAMEDIRECTORYFLAGS
return int

OnAfterRenameFiles() public method

public OnAfterRenameFiles ( int cProjects, int cFiles, IVsProject rgpProjects, int rgFirstIndices, string rgszMkOldNames, string rgszMkNewNames, VSRENAMEFILEFLAGS rgFlags ) : int
cProjects int
cFiles int
rgpProjects IVsProject
rgFirstIndices int
rgszMkOldNames string
rgszMkNewNames string
rgFlags VSRENAMEFILEFLAGS
return int

OnAfterSccStatusChanged() public method

public OnAfterSccStatusChanged ( int cProjects, int cFiles, IVsProject rgpProjects, int rgFirstIndices, string rgpszMkDocuments, uint rgdwSccStatus ) : int
cProjects int
cFiles int
rgpProjects IVsProject
rgFirstIndices int
rgpszMkDocuments string
rgdwSccStatus uint
return int

OnBeforeBackgroundSolutionLoadBegins() public method

public OnBeforeBackgroundSolutionLoadBegins ( ) : int
return int

OnBeforeCloseProject() public method

public OnBeforeCloseProject ( [ pHierarchy, [ fRemoved ) : int
pHierarchy [
fRemoved [
return int

OnBeforeCloseSolution() public method

public OnBeforeCloseSolution ( [ pUnkReserved ) : int
pUnkReserved [
return int

OnBeforeLoadProjectBatch() public method

public OnBeforeLoadProjectBatch ( bool fIsBackgroundIdleBatch ) : int
fIsBackgroundIdleBatch bool
return int

OnBeforeOpenSolution() public method

public OnBeforeOpenSolution ( string pszSolutionFilename ) : int
pszSolutionFilename string
return int

OnBeforeUnloadProject() public method

public OnBeforeUnloadProject ( [ pRealHierarchy, [ pStubHierarchy ) : int
pRealHierarchy [
pStubHierarchy [
return int

OnQueryAddDirectories() public method

public OnQueryAddDirectories ( IVsProject pProject, int cDirectories, string rgpszMkDocuments, VSQUERYADDDIRECTORYFLAGS rgFlags, VSQUERYADDDIRECTORYRESULTS pSummaryResult, VSQUERYADDDIRECTORYRESULTS rgResults ) : int
pProject IVsProject
cDirectories int
rgpszMkDocuments string
rgFlags VSQUERYADDDIRECTORYFLAGS
pSummaryResult VSQUERYADDDIRECTORYRESULTS
rgResults VSQUERYADDDIRECTORYRESULTS
return int

OnQueryAddFiles() public method

public OnQueryAddFiles ( IVsProject pProject, int cFiles, string rgpszMkDocuments, VSQUERYADDFILEFLAGS rgFlags, VSQUERYADDFILERESULTS pSummaryResult, VSQUERYADDFILERESULTS rgResults ) : int
pProject IVsProject
cFiles int
rgpszMkDocuments string
rgFlags VSQUERYADDFILEFLAGS
pSummaryResult VSQUERYADDFILERESULTS
rgResults VSQUERYADDFILERESULTS
return int

OnQueryBackgroundLoadProjectBatch() public method

public OnQueryBackgroundLoadProjectBatch ( bool &pfShouldDelayLoadToNextIdle ) : int
pfShouldDelayLoadToNextIdle bool
return int

OnQueryCloseProject() public method

public OnQueryCloseProject ( [ pHierarchy, [ fRemoving, [ pfCancel ) : int
pHierarchy [
fRemoving [
pfCancel [
return int

OnQueryCloseSolution() public method

public OnQueryCloseSolution ( [ pUnkReserved, [ pfCancel ) : int
pUnkReserved [
pfCancel [
return int

OnQueryRemoveDirectories() public method

public OnQueryRemoveDirectories ( IVsProject pProject, int cDirectories, string rgpszMkDocuments, VSQUERYREMOVEDIRECTORYFLAGS rgFlags, VSQUERYREMOVEDIRECTORYRESULTS pSummaryResult, VSQUERYREMOVEDIRECTORYRESULTS rgResults ) : int
pProject IVsProject
cDirectories int
rgpszMkDocuments string
rgFlags VSQUERYREMOVEDIRECTORYFLAGS
pSummaryResult VSQUERYREMOVEDIRECTORYRESULTS
rgResults VSQUERYREMOVEDIRECTORYRESULTS
return int

OnQueryRemoveFiles() public method

public OnQueryRemoveFiles ( IVsProject pProject, int cFiles, string rgpszMkDocuments, VSQUERYREMOVEFILEFLAGS rgFlags, VSQUERYREMOVEFILERESULTS pSummaryResult, VSQUERYREMOVEFILERESULTS rgResults ) : int
pProject IVsProject
cFiles int
rgpszMkDocuments string
rgFlags VSQUERYREMOVEFILEFLAGS
pSummaryResult VSQUERYREMOVEFILERESULTS
rgResults VSQUERYREMOVEFILERESULTS
return int

OnQueryRenameDirectories() public method

public OnQueryRenameDirectories ( IVsProject pProject, int cDirs, string rgszMkOldNames, string rgszMkNewNames, VSQUERYRENAMEDIRECTORYFLAGS rgFlags, VSQUERYRENAMEDIRECTORYRESULTS pSummaryResult, VSQUERYRENAMEDIRECTORYRESULTS rgResults ) : int
pProject IVsProject
cDirs int
rgszMkOldNames string
rgszMkNewNames string
rgFlags VSQUERYRENAMEDIRECTORYFLAGS
pSummaryResult VSQUERYRENAMEDIRECTORYRESULTS
rgResults VSQUERYRENAMEDIRECTORYRESULTS
return int

OnQueryRenameFiles() public method

public OnQueryRenameFiles ( IVsProject pProject, int cFiles, string rgszMkOldNames, string rgszMkNewNames, VSQUERYRENAMEFILEFLAGS rgFlags, VSQUERYRENAMEFILERESULTS pSummaryResult, VSQUERYRENAMEFILERESULTS rgResults ) : int
pProject IVsProject
cFiles int
rgszMkOldNames string
rgszMkNewNames string
rgFlags VSQUERYRENAMEFILEFLAGS
pSummaryResult VSQUERYRENAMEFILERESULTS
rgResults VSQUERYRENAMEFILERESULTS
return int

OnQueryUnloadProject() public method

public OnQueryUnloadProject ( [ pRealHierarchy, [ pfCancel ) : int
pRealHierarchy [
pfCancel [
return int

PendingChangesUIClickedAsync() public method

public PendingChangesUIClickedAsync ( ISccUIClickedEventArgs args, CancellationToken cancellationToken ) : System.Threading.Tasks.Task
args ISccUIClickedEventArgs
cancellationToken CancellationToken
return System.Threading.Tasks.Task

QuickRefreshNodesGlyphs() public method

public QuickRefreshNodesGlyphs ( IVsSccProject2 project, List files ) : System.Threading.Tasks.Task
project IVsSccProject2
files List
return System.Threading.Tasks.Task

RefreshNodesGlyphs() public method

Refreshes the glyphs of the specified hierarchy nodes
public RefreshNodesGlyphs ( IList selectedNodes ) : System.Threading.Tasks.Task
selectedNodes IList
return System.Threading.Tasks.Task

RefreshProjectGlyphs() public method

public RefreshProjectGlyphs ( List projects ) : System.Threading.Tasks.Task
projects List
return System.Threading.Tasks.Task

RegisterSccProject() public method

One of the most important methods in a source control provider, is called by projects that are under source control when they are first opened to register project settings
public RegisterSccProject ( [ pscp2Project, [ pszSccProjectName, [ pszSccAuxPath, [ pszSccLocalPath, [ pszProvider ) : int
pscp2Project [
pszSccProjectName [
pszSccAuxPath [
pszSccLocalPath [
pszProvider [
return int

RepositoryUIClickedAsync() public method

public RepositoryUIClickedAsync ( ISccUIClickedEventArgs args, CancellationToken cancellationToken ) : System.Threading.Tasks.Task
args ISccUIClickedEventArgs
cancellationToken CancellationToken
return System.Threading.Tasks.Task

SccProviderService() public method

public SccProviderService ( GitScc.BasicSccProvider sccProvider ) : System
sccProvider GitScc.BasicSccProvider
return System

SetActive() public method

public SetActive ( ) : int
return int

SetInactive() public method

public SetInactive ( ) : int
return int

UnregisterSccProject() public method

Called by projects registered with the source control portion of the environment before they are closed.
public UnregisterSccProject ( [ pscp2Project ) : int
pscp2Project [
return int

UpdateProjectCfg_Begin() public method

public UpdateProjectCfg_Begin ( IVsHierarchy pHierProj, IVsCfg pCfgProj, IVsCfg pCfgSln, uint dwAction, int &pfCancel ) : int
pHierProj IVsHierarchy
pCfgProj IVsCfg
pCfgSln IVsCfg
dwAction uint
pfCancel int
return int

UpdateProjectCfg_Done() public method

public UpdateProjectCfg_Done ( IVsHierarchy pHierProj, IVsCfg pCfgProj, IVsCfg pCfgSln, uint dwAction, int fSuccess, int fCancel ) : int
pHierProj IVsHierarchy
pCfgProj IVsCfg
pCfgSln IVsCfg
dwAction uint
fSuccess int
fCancel int
return int

UpdateSolution_Begin() public method

public UpdateSolution_Begin ( int &pfCancelUpdate ) : int
pfCancelUpdate int
return int

UpdateSolution_Cancel() public method

public UpdateSolution_Cancel ( ) : int
return int

UpdateSolution_Done() public method

public UpdateSolution_Done ( int fSucceeded, int fModified, int fCancelCommand ) : int
fSucceeded int
fModified int
fCancelCommand int
return int

UpdateSolution_StartUpdate() public method

public UpdateSolution_StartUpdate ( int &pfCancelUpdate ) : int
pfCancelUpdate int
return int