C# Класс GitMenu.Services.GitSccProvider

Наследование: IVsSccProvider, IVsSccManager2, IVsQueryEditQuerySave3, IVsSccGlyphs
Показать файл Открыть проект

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

Метод Описание
AnyItemsUnderSourceControl ( int &pfResult ) : int
BrowseForProject ( string &pbstrDirectory, int &pfOK ) : int
CancelAfterBrowseForProject ( ) : int
GetCustomGlyphList ( uint baseIndex, uint &pdwImageListHandle ) : int
GetGlyphFromPath ( string path ) : GitGlyph
GetSccGlyph ( int cFiles, string rgpszFullPaths, VsStateIcon rgsiGlyphs, uint rgdwSccStatus ) : int
GetSccGlyphFromStatus ( uint dwSccStatus, VsStateIcon psiGlyph ) : int
GetSolutionFileName ( ) : string

Returns the filename of the solution

GitSccProvider ( GitMenuPackage package ) : System
IsInstalled ( int &pbInstalled ) : int
QuerySaveFile2 ( string pszMkDocument, uint rgf, VSQEQS_FILE_ATTRIBUTE_DATA pFileInfo, uint &pdwQSResult, uint &prgfMoreInfo ) : int
QuerySaveFiles2 ( uint rgfQuerySave, int cFiles, string rgpszMkDocuments, uint rgrgf, VSQEQS_FILE_ATTRIBUTE_DATA rgFileInfo, uint &pdwQSResult, uint &prgfMoreInfo ) : int
RefreshAllGlyphs ( ) : void
RefreshGlyphs ( IList selectedNodes ) : void

Refreshes the glyphs of the specified hierarchy nodes

RefreshGlyphs ( List names ) : void
RegisterSccProject ( IVsSccProject2 pscp2Project, string pszSccProjectName, string pszSccAuxPath, string pszSccLocalPath, string pszProvider ) : int
SetActive ( ) : int
SetInactive ( ) : int
UnregisterSccProject ( IVsSccProject2 pscp2Project ) : int

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

Метод Описание
EnumHierarchyItems ( IVsHierarchy hierarchy, uint itemid, int recursionLevel, bool hierIsSolution, bool visibleNodesOnly, Action processNodeFunc ) : void

Enumerates over the hierarchy items for the given hierarchy traversing into nested hierarchies.

GetAllItems ( bool>.Func where ) : List

Enumerate all hierarchy project items recursively traversing nested hierarchies.

GetItemId ( object pvar ) : uint

Gets the item id.

GetNodeFiles ( IVsSccProject2 pscp2, uint itemid ) : IList

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

UpdateNode ( VSITEMSELECTION vsItemSel ) : void

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

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

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

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

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

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

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

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

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

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

public GetGlyphFromPath ( string path ) : GitGlyph
path string
Результат GitGlyph

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

public GetSccGlyph ( int cFiles, string rgpszFullPaths, VsStateIcon rgsiGlyphs, uint rgdwSccStatus ) : int
cFiles int
rgpszFullPaths string
rgsiGlyphs VsStateIcon
rgdwSccStatus uint
Результат int

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

public GetSccGlyphFromStatus ( uint dwSccStatus, VsStateIcon psiGlyph ) : int
dwSccStatus uint
psiGlyph VsStateIcon
Результат int

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

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

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

public GitSccProvider ( GitMenuPackage package ) : System
package GitMenuPackage
Результат System

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

public IsInstalled ( int &pbInstalled ) : int
pbInstalled int
Результат int

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

public QuerySaveFile2 ( string pszMkDocument, uint rgf, VSQEQS_FILE_ATTRIBUTE_DATA pFileInfo, uint &pdwQSResult, uint &prgfMoreInfo ) : int
pszMkDocument string
rgf uint
pFileInfo VSQEQS_FILE_ATTRIBUTE_DATA
pdwQSResult uint
prgfMoreInfo uint
Результат int

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

public QuerySaveFiles2 ( uint rgfQuerySave, int cFiles, string rgpszMkDocuments, uint rgrgf, VSQEQS_FILE_ATTRIBUTE_DATA rgFileInfo, uint &pdwQSResult, uint &prgfMoreInfo ) : int
rgfQuerySave uint
cFiles int
rgpszMkDocuments string
rgrgf uint
rgFileInfo VSQEQS_FILE_ATTRIBUTE_DATA
pdwQSResult uint
prgfMoreInfo uint
Результат int

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

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

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

Refreshes the glyphs of the specified hierarchy nodes
public RefreshGlyphs ( IList selectedNodes ) : void
selectedNodes IList
Результат void

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

public RefreshGlyphs ( List names ) : void
names List
Результат void

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

public RegisterSccProject ( IVsSccProject2 pscp2Project, string pszSccProjectName, string pszSccAuxPath, string pszSccLocalPath, string pszProvider ) : int
pscp2Project IVsSccProject2
pszSccProjectName string
pszSccAuxPath string
pszSccLocalPath string
pszProvider string
Результат int

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

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

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

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

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

public UnregisterSccProject ( IVsSccProject2 pscp2Project ) : int
pscp2Project IVsSccProject2
Результат int