C# Class GitScc.SccProviderService

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

Private Properties

Свойство 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

Méthodes publiques

Méthode 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

Méthode 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 méthode

public AnyItemsUnderSourceControl ( int &pfResult ) : int
pfResult int
Résultat int

BranchUIClickedAsync() public méthode

public BranchUIClickedAsync ( ISccUIClickedEventArgs args, CancellationToken cancellationToken ) : System.Threading.Tasks.Task
args ISccUIClickedEventArgs
cancellationToken CancellationToken
Résultat System.Threading.Tasks.Task

BrowseForProject() public méthode

public BrowseForProject ( string &pbstrDirectory, int &pfOK ) : int
pbstrDirectory string
pfOK int
Résultat int

CancelAfterBrowseForProject() public méthode

public CancelAfterBrowseForProject ( ) : int
Résultat int

Dispose() public méthode

public Dispose ( ) : void
Résultat void

FileTracked() public méthode

public FileTracked ( string filename ) : bool
filename string
Résultat bool

GetCurrentBranchNameAsync() public méthode

public GetCurrentBranchNameAsync ( ) : Task
Résultat Task

GetCustomGlyphList() public méthode

public GetCustomGlyphList ( uint BaseIndex, uint &pdwImageListHandle ) : int
BaseIndex uint
pdwImageListHandle uint
Résultat int

GetGlyphTipText() public méthode

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
Résultat int

GetSccGlyph() public méthode

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 [
Résultat int

GetSccGlyphFromStatus() public méthode

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

GetSolutionFileName() public méthode

Returns the filename of the solution
public GetSolutionFileName ( ) : Task
Résultat Task

IsBSLSupported() public méthode

public IsBSLSupported ( ) : bool
Résultat bool

IsFileBelowDirectory() public static méthode

public static IsFileBelowDirectory ( string fileInfo, string directoryInfo, string separator ) : bool
fileInfo string
directoryInfo string
separator string
Résultat bool

IsInstalled() public méthode

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

OnActiveProjectCfgChange() public méthode

public OnActiveProjectCfgChange ( IVsHierarchy pIVsHierarchy ) : int
pIVsHierarchy IVsHierarchy
Résultat int

OnAfterAddDirectoriesEx() public méthode

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
Résultat int

OnAfterAddFilesEx() public méthode

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
Résultat int

OnAfterBackgroundSolutionLoadComplete() public méthode

public OnAfterBackgroundSolutionLoadComplete ( ) : int
Résultat int

OnAfterCloseSolution() public méthode

public OnAfterCloseSolution ( [ pUnkReserved ) : int
pUnkReserved [
Résultat int

OnAfterLoadProject() public méthode

public OnAfterLoadProject ( [ pStubHierarchy, [ pRealHierarchy ) : int
pStubHierarchy [
pRealHierarchy [
Résultat int

OnAfterLoadProjectBatch() public méthode

public OnAfterLoadProjectBatch ( bool fIsBackgroundIdleBatch ) : int
fIsBackgroundIdleBatch bool
Résultat int

OnAfterMergeSolution() public méthode

public OnAfterMergeSolution ( [ pUnkReserved ) : int
pUnkReserved [
Résultat int

OnAfterOpenProject() public méthode

public OnAfterOpenProject ( [ pHierarchy, [ fAdded ) : int
pHierarchy [
fAdded [
Résultat int

OnAfterOpenSolution() public méthode

public OnAfterOpenSolution ( [ pUnkReserved, [ fNewSolution ) : int
pUnkReserved [
fNewSolution [
Résultat int

OnAfterRemoveDirectories() public méthode

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
Résultat int

OnAfterRemoveFiles() public méthode

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
Résultat int

OnAfterRenameDirectories() public méthode

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
Résultat int

OnAfterRenameFiles() public méthode

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
Résultat int

OnAfterSccStatusChanged() public méthode

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
Résultat int

OnBeforeBackgroundSolutionLoadBegins() public méthode

public OnBeforeBackgroundSolutionLoadBegins ( ) : int
Résultat int

OnBeforeCloseProject() public méthode

public OnBeforeCloseProject ( [ pHierarchy, [ fRemoved ) : int
pHierarchy [
fRemoved [
Résultat int

OnBeforeCloseSolution() public méthode

public OnBeforeCloseSolution ( [ pUnkReserved ) : int
pUnkReserved [
Résultat int

OnBeforeLoadProjectBatch() public méthode

public OnBeforeLoadProjectBatch ( bool fIsBackgroundIdleBatch ) : int
fIsBackgroundIdleBatch bool
Résultat int

OnBeforeOpenSolution() public méthode

public OnBeforeOpenSolution ( string pszSolutionFilename ) : int
pszSolutionFilename string
Résultat int

OnBeforeUnloadProject() public méthode

public OnBeforeUnloadProject ( [ pRealHierarchy, [ pStubHierarchy ) : int
pRealHierarchy [
pStubHierarchy [
Résultat int

OnQueryAddDirectories() public méthode

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
Résultat int

OnQueryAddFiles() public méthode

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
Résultat int

OnQueryBackgroundLoadProjectBatch() public méthode

public OnQueryBackgroundLoadProjectBatch ( bool &pfShouldDelayLoadToNextIdle ) : int
pfShouldDelayLoadToNextIdle bool
Résultat int

OnQueryCloseProject() public méthode

public OnQueryCloseProject ( [ pHierarchy, [ fRemoving, [ pfCancel ) : int
pHierarchy [
fRemoving [
pfCancel [
Résultat int

OnQueryCloseSolution() public méthode

public OnQueryCloseSolution ( [ pUnkReserved, [ pfCancel ) : int
pUnkReserved [
pfCancel [
Résultat int

OnQueryRemoveDirectories() public méthode

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
Résultat int

OnQueryRemoveFiles() public méthode

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
Résultat int

OnQueryRenameDirectories() public méthode

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
Résultat int

OnQueryRenameFiles() public méthode

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
Résultat int

OnQueryUnloadProject() public méthode

public OnQueryUnloadProject ( [ pRealHierarchy, [ pfCancel ) : int
pRealHierarchy [
pfCancel [
Résultat int

PendingChangesUIClickedAsync() public méthode

public PendingChangesUIClickedAsync ( ISccUIClickedEventArgs args, CancellationToken cancellationToken ) : System.Threading.Tasks.Task
args ISccUIClickedEventArgs
cancellationToken CancellationToken
Résultat System.Threading.Tasks.Task

QuickRefreshNodesGlyphs() public méthode

public QuickRefreshNodesGlyphs ( IVsSccProject2 project, List files ) : System.Threading.Tasks.Task
project IVsSccProject2
files List
Résultat System.Threading.Tasks.Task

RefreshNodesGlyphs() public méthode

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

RefreshProjectGlyphs() public méthode

public RefreshProjectGlyphs ( List projects ) : System.Threading.Tasks.Task
projects List
Résultat System.Threading.Tasks.Task

RegisterSccProject() public méthode

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 [
Résultat int

RepositoryUIClickedAsync() public méthode

public RepositoryUIClickedAsync ( ISccUIClickedEventArgs args, CancellationToken cancellationToken ) : System.Threading.Tasks.Task
args ISccUIClickedEventArgs
cancellationToken CancellationToken
Résultat System.Threading.Tasks.Task

SccProviderService() public méthode

public SccProviderService ( GitScc.BasicSccProvider sccProvider ) : System
sccProvider GitScc.BasicSccProvider
Résultat System

SetActive() public méthode

public SetActive ( ) : int
Résultat int

SetInactive() public méthode

public SetInactive ( ) : int
Résultat int

UnregisterSccProject() public méthode

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

UpdateProjectCfg_Begin() public méthode

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

UpdateProjectCfg_Done() public méthode

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
Résultat int

UpdateSolution_Begin() public méthode

public UpdateSolution_Begin ( int &pfCancelUpdate ) : int
pfCancelUpdate int
Résultat int

UpdateSolution_Cancel() public méthode

public UpdateSolution_Cancel ( ) : int
Résultat int

UpdateSolution_Done() public méthode

public UpdateSolution_Done ( int fSucceeded, int fModified, int fCancelCommand ) : int
fSucceeded int
fModified int
fCancelCommand int
Résultat int

UpdateSolution_StartUpdate() public méthode

public UpdateSolution_StartUpdate ( int &pfCancelUpdate ) : int
pfCancelUpdate int
Résultat int