C# Класс GitScc.SccProviderService

Наследование: IVsSccProvider, IVsSccManagerTooltip, IVsSolutionEvents, IVsSolutionEvents2, IVsSccGlyphs, IDisposable, IVsUpdateSolutionEvents2, IVsTrackProjectDocumentsEvents2
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
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

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
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

Описание методов

AnyItemsUnderSourceControl() публичный Метод

public AnyItemsUnderSourceControl ( int &pfResult ) : int
pfResult int
Результат int

BranchUIClickedAsync() публичный Метод

public BranchUIClickedAsync ( ISccUIClickedEventArgs args, CancellationToken cancellationToken ) : System.Threading.Tasks.Task
args ISccUIClickedEventArgs
cancellationToken CancellationToken
Результат System.Threading.Tasks.Task

BrowseForProject() публичный Метод

public BrowseForProject ( string &pbstrDirectory, int &pfOK ) : int
pbstrDirectory string
pfOK int
Результат int

CancelAfterBrowseForProject() публичный Метод

public CancelAfterBrowseForProject ( ) : int
Результат int

Dispose() публичный Метод

public Dispose ( ) : void
Результат void

FileTracked() публичный Метод

public FileTracked ( string filename ) : bool
filename string
Результат bool

GetCurrentBranchNameAsync() публичный Метод

public GetCurrentBranchNameAsync ( ) : Task
Результат Task

GetCustomGlyphList() публичный Метод

public GetCustomGlyphList ( uint BaseIndex, uint &pdwImageListHandle ) : int
BaseIndex uint
pdwImageListHandle uint
Результат int

GetGlyphTipText() публичный Метод

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
Результат int

GetSccGlyph() публичный Метод

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 [
Результат int

GetSccGlyphFromStatus() публичный Метод

Determines the corresponding scc status glyph to display, given a combination of scc status flags
public GetSccGlyphFromStatus ( [ dwSccStatus, [ psiGlyph ) : int
dwSccStatus [
psiGlyph [
Результат int

GetSolutionFileName() публичный Метод

Returns the filename of the solution
public GetSolutionFileName ( ) : Task
Результат Task

IsBSLSupported() публичный Метод

public IsBSLSupported ( ) : bool
Результат bool

IsFileBelowDirectory() публичный статический Метод

public static IsFileBelowDirectory ( string fileInfo, string directoryInfo, string separator ) : bool
fileInfo string
directoryInfo string
separator string
Результат bool

IsInstalled() публичный Метод

Returns whether the source control provider is fully installed
public IsInstalled ( int &pbInstalled ) : int
pbInstalled int
Результат int

OnActiveProjectCfgChange() публичный Метод

public OnActiveProjectCfgChange ( IVsHierarchy pIVsHierarchy ) : int
pIVsHierarchy IVsHierarchy
Результат int

OnAfterAddDirectoriesEx() публичный Метод

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
Результат int

OnAfterAddFilesEx() публичный Метод

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
Результат int

OnAfterBackgroundSolutionLoadComplete() публичный Метод

public OnAfterBackgroundSolutionLoadComplete ( ) : int
Результат int

OnAfterCloseSolution() публичный Метод

public OnAfterCloseSolution ( [ pUnkReserved ) : int
pUnkReserved [
Результат int

OnAfterLoadProject() публичный Метод

public OnAfterLoadProject ( [ pStubHierarchy, [ pRealHierarchy ) : int
pStubHierarchy [
pRealHierarchy [
Результат int

OnAfterLoadProjectBatch() публичный Метод

public OnAfterLoadProjectBatch ( bool fIsBackgroundIdleBatch ) : int
fIsBackgroundIdleBatch bool
Результат int

OnAfterMergeSolution() публичный Метод

public OnAfterMergeSolution ( [ pUnkReserved ) : int
pUnkReserved [
Результат int

OnAfterOpenProject() публичный Метод

public OnAfterOpenProject ( [ pHierarchy, [ fAdded ) : int
pHierarchy [
fAdded [
Результат int

OnAfterOpenSolution() публичный Метод

public OnAfterOpenSolution ( [ pUnkReserved, [ fNewSolution ) : int
pUnkReserved [
fNewSolution [
Результат int

OnAfterRemoveDirectories() публичный Метод

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
Результат int

OnAfterRemoveFiles() публичный Метод

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
Результат int

OnAfterRenameDirectories() публичный Метод

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
Результат int

OnAfterRenameFiles() публичный Метод

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
Результат int

OnAfterSccStatusChanged() публичный Метод

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
Результат int

OnBeforeBackgroundSolutionLoadBegins() публичный Метод

public OnBeforeBackgroundSolutionLoadBegins ( ) : int
Результат int

OnBeforeCloseProject() публичный Метод

public OnBeforeCloseProject ( [ pHierarchy, [ fRemoved ) : int
pHierarchy [
fRemoved [
Результат int

OnBeforeCloseSolution() публичный Метод

public OnBeforeCloseSolution ( [ pUnkReserved ) : int
pUnkReserved [
Результат int

OnBeforeLoadProjectBatch() публичный Метод

public OnBeforeLoadProjectBatch ( bool fIsBackgroundIdleBatch ) : int
fIsBackgroundIdleBatch bool
Результат int

OnBeforeOpenSolution() публичный Метод

public OnBeforeOpenSolution ( string pszSolutionFilename ) : int
pszSolutionFilename string
Результат int

OnBeforeUnloadProject() публичный Метод

public OnBeforeUnloadProject ( [ pRealHierarchy, [ pStubHierarchy ) : int
pRealHierarchy [
pStubHierarchy [
Результат int

OnQueryAddDirectories() публичный Метод

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
Результат int

OnQueryAddFiles() публичный Метод

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
Результат int

OnQueryBackgroundLoadProjectBatch() публичный Метод

public OnQueryBackgroundLoadProjectBatch ( bool &pfShouldDelayLoadToNextIdle ) : int
pfShouldDelayLoadToNextIdle bool
Результат int

OnQueryCloseProject() публичный Метод

public OnQueryCloseProject ( [ pHierarchy, [ fRemoving, [ pfCancel ) : int
pHierarchy [
fRemoving [
pfCancel [
Результат int

OnQueryCloseSolution() публичный Метод

public OnQueryCloseSolution ( [ pUnkReserved, [ pfCancel ) : int
pUnkReserved [
pfCancel [
Результат int

OnQueryRemoveDirectories() публичный Метод

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
Результат int

OnQueryRemoveFiles() публичный Метод

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
Результат int

OnQueryRenameDirectories() публичный Метод

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
Результат int

OnQueryRenameFiles() публичный Метод

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
Результат int

OnQueryUnloadProject() публичный Метод

public OnQueryUnloadProject ( [ pRealHierarchy, [ pfCancel ) : int
pRealHierarchy [
pfCancel [
Результат int

PendingChangesUIClickedAsync() публичный Метод

public PendingChangesUIClickedAsync ( ISccUIClickedEventArgs args, CancellationToken cancellationToken ) : System.Threading.Tasks.Task
args ISccUIClickedEventArgs
cancellationToken CancellationToken
Результат System.Threading.Tasks.Task

QuickRefreshNodesGlyphs() публичный Метод

public QuickRefreshNodesGlyphs ( IVsSccProject2 project, List files ) : System.Threading.Tasks.Task
project IVsSccProject2
files List
Результат System.Threading.Tasks.Task

RefreshNodesGlyphs() публичный Метод

Refreshes the glyphs of the specified hierarchy nodes
public RefreshNodesGlyphs ( IList selectedNodes ) : System.Threading.Tasks.Task
selectedNodes IList
Результат System.Threading.Tasks.Task

RefreshProjectGlyphs() публичный Метод

public RefreshProjectGlyphs ( List projects ) : System.Threading.Tasks.Task
projects List
Результат System.Threading.Tasks.Task

RegisterSccProject() публичный Метод

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 [
Результат int

RepositoryUIClickedAsync() публичный Метод

public RepositoryUIClickedAsync ( ISccUIClickedEventArgs args, CancellationToken cancellationToken ) : System.Threading.Tasks.Task
args ISccUIClickedEventArgs
cancellationToken CancellationToken
Результат System.Threading.Tasks.Task

SccProviderService() публичный Метод

public SccProviderService ( GitScc.BasicSccProvider sccProvider ) : System
sccProvider GitScc.BasicSccProvider
Результат System

SetActive() публичный Метод

public SetActive ( ) : int
Результат int

SetInactive() публичный Метод

public SetInactive ( ) : int
Результат int

UnregisterSccProject() публичный Метод

Called by projects registered with the source control portion of the environment before they are closed.
public UnregisterSccProject ( [ pscp2Project ) : int
pscp2Project [
Результат int

UpdateProjectCfg_Begin() публичный Метод

public UpdateProjectCfg_Begin ( IVsHierarchy pHierProj, IVsCfg pCfgProj, IVsCfg pCfgSln, uint dwAction, int &pfCancel ) : int
pHierProj IVsHierarchy
pCfgProj IVsCfg
pCfgSln IVsCfg
dwAction uint
pfCancel int
Результат int

UpdateProjectCfg_Done() публичный Метод

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
Результат int

UpdateSolution_Begin() публичный Метод

public UpdateSolution_Begin ( int &pfCancelUpdate ) : int
pfCancelUpdate int
Результат int

UpdateSolution_Cancel() публичный Метод

public UpdateSolution_Cancel ( ) : int
Результат int

UpdateSolution_Done() публичный Метод

public UpdateSolution_Done ( int fSucceeded, int fModified, int fCancelCommand ) : int
fSucceeded int
fModified int
fCancelCommand int
Результат int

UpdateSolution_StartUpdate() публичный Метод

public UpdateSolution_StartUpdate ( int &pfCancelUpdate ) : int
pfCancelUpdate int
Результат int