C# 클래스 Microsoft.Samples.VisualStudio.SourceControlIntegration.SccProvider.SccProvider

상속: Microsoft.VisualStudio.Shell.Package, IOleCommandTarget, IVsPersistSolutionProps
파일 보기 프로젝트 열기: Microsoft/VSSDK-Extensibility-Samples 1 사용 예제들

공개 메소드들

메소드 설명
GetNodeFiles ( IVsHierarchy hier, uint itemid ) : IList

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

GetProjectFileName ( IVsSccProject2 pscp2Project ) : string

Returns the filename of the specified controllable project

GetProjectFiles ( IVsSccProject2 pscp2Project ) : IList

Gets the list of source controllable files in the specified project

GetProjectFiles ( IVsSccProject2 pscp2Project, uint startItemId ) : IList

Gets the list of source controllable files in the specified project

GetService ( Type serviceType ) : Object
GetSolutionFileName ( ) : string

Returns the filename of the solution

GetSolutionFoldersEnum ( ) : Hashtable

Returns a list of solution folders projects in the solution

InCommandLineMode ( ) : bool

Checks whether the provider is invoked in command line mode

IsSolutionFolderProject ( IVsHierarchy pHier ) : bool

Checks whether the specified project is a solution folder

LoadUserOptions ( [ pPersistence, [ grfLoadOpts ) : int
OnActiveStateChange ( ) : void
OnProjectLoadFailure ( [ pStubHierarchy, [ pszProjectName, [ pszProjectMk, [ pszKey ) : int
QuerySaveSolutionProps ( [ pHierarchy, [ pqsspSave ) : int
QueryStatus ( System.Guid &guidCmdGroup, uint cCmds, OLECMD prgCmds, System pCmdText ) : int

The shell call this function to know if a menu item should be visible and if it should be enabled/disabled. Note that this function will only be called when an instance of this editor is open.

ReadSolutionProps ( [ pHierarchy, [ pszProjectName, [ pszProjectMk, [ pszKey, [ fPreLoad, [ pPropBag ) : int
ReadUserOptions ( [ pOptionsStream, [ pszKey ) : int
RefreshNodesGlyphs ( IList selectedNodes ) : void

Refreshes the glyphs of the specified hierarchy nodes

SaveSolutionProps ( [ pHierarchy, [ pPersistence ) : int
SaveUserOptions ( [ pPersistence ) : int
SccProvider ( ) : System
WriteSolutionProps ( [ pHierarchy, [ pszKey, [ pPropBag ) : int
WriteUserOptions ( [ pOptionsStream, [ pszKey ) : int

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void
Initialize ( ) : void

비공개 메소드들

메소드 설명
DebugWalkingNode ( IVsHierarchy pHier, uint itemid ) : void
Exec_icmdAddToSourceControl ( object sender, EventArgs e ) : void
Exec_icmdCheckin ( object sender, EventArgs e ) : void
Exec_icmdCheckout ( object sender, EventArgs e ) : void
Exec_icmdToolWindowToolbarCommand ( object sender, EventArgs e ) : void
Exec_icmdUseSccOffline ( object sender, EventArgs e ) : void
Exec_icmdViewToolWindow ( object sender, EventArgs e ) : void
GetLoadedControllableProjectsEnum ( ) : Hashtable

Returns a list of controllable projects in the solution

GetNodeFiles ( IVsSccProject2 pscp2, uint itemid ) : IList

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

GetProjectItems ( IVsHierarchy pHier ) : IList

Gets the list of ItemIDs that are nodes in the specified project

GetProjectItems ( IVsHierarchy pHier, uint startItemid ) : IList

Gets the list of ItemIDs that are nodes in the specified project, starting with the specified item

GetSelectedFilesInControlledProjects ( ) : IList

Returns a list of source controllable files in the selection (recursive)

GetSelectedFilesInControlledProjects ( IList &selectedNodes ) : IList

Returns a list of source controllable files in the selection (recursive)

GetSelectedHierarchies ( IList &sel, bool &solutionSelected ) : Hashtable

Gets the list of selected controllable project hierarchies

GetSelectedNodes ( ) : IList

Gets the list of directly selected VSITEMSELECTION objects

IsThereASolution ( ) : bool

Checks whether a solution exist

QueryStatus_icmdAddToSourceControl ( ) : OLECMDF
QueryStatus_icmdCheckin ( ) : OLECMDF
QueryStatus_icmdCheckout ( ) : OLECMDF
QueryStatus_icmdUseSccOffline ( ) : OLECMDF

메소드 상세

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

GetNodeFiles() 공개 메소드

Returns a list of source controllable files associated with the specified node
public GetNodeFiles ( IVsHierarchy hier, uint itemid ) : IList
hier IVsHierarchy
itemid uint
리턴 IList

GetProjectFileName() 공개 메소드

Returns the filename of the specified controllable project
public GetProjectFileName ( IVsSccProject2 pscp2Project ) : string
pscp2Project IVsSccProject2
리턴 string

GetProjectFiles() 공개 메소드

Gets the list of source controllable files in the specified project
public GetProjectFiles ( IVsSccProject2 pscp2Project ) : IList
pscp2Project IVsSccProject2
리턴 IList

GetProjectFiles() 공개 메소드

Gets the list of source controllable files in the specified project
public GetProjectFiles ( IVsSccProject2 pscp2Project, uint startItemId ) : IList
pscp2Project IVsSccProject2
startItemId uint
리턴 IList

GetService() 공개 메소드

public GetService ( Type serviceType ) : Object
serviceType System.Type
리턴 Object

GetSolutionFileName() 공개 메소드

Returns the filename of the solution
public GetSolutionFileName ( ) : string
리턴 string

GetSolutionFoldersEnum() 공개 메소드

Returns a list of solution folders projects in the solution
public GetSolutionFoldersEnum ( ) : Hashtable
리턴 System.Collections.Hashtable

InCommandLineMode() 공개 메소드

Checks whether the provider is invoked in command line mode
public InCommandLineMode ( ) : bool
리턴 bool

Initialize() 보호된 메소드

protected Initialize ( ) : void
리턴 void

IsSolutionFolderProject() 공개 메소드

Checks whether the specified project is a solution folder
public IsSolutionFolderProject ( IVsHierarchy pHier ) : bool
pHier IVsHierarchy
리턴 bool

LoadUserOptions() 공개 메소드

public LoadUserOptions ( [ pPersistence, [ grfLoadOpts ) : int
pPersistence [
grfLoadOpts [
리턴 int

OnActiveStateChange() 공개 메소드

public OnActiveStateChange ( ) : void
리턴 void

OnProjectLoadFailure() 공개 메소드

public OnProjectLoadFailure ( [ pStubHierarchy, [ pszProjectName, [ pszProjectMk, [ pszKey ) : int
pStubHierarchy [
pszProjectName [
pszProjectMk [
pszKey [
리턴 int

QuerySaveSolutionProps() 공개 메소드

public QuerySaveSolutionProps ( [ pHierarchy, [ pqsspSave ) : int
pHierarchy [
pqsspSave [
리턴 int

QueryStatus() 공개 메소드

The shell call this function to know if a menu item should be visible and if it should be enabled/disabled. Note that this function will only be called when an instance of this editor is open.
public QueryStatus ( System.Guid &guidCmdGroup, uint cCmds, OLECMD prgCmds, System pCmdText ) : int
guidCmdGroup System.Guid Guid describing which set of command the current command(s) belong to
cCmds uint Number of command which status are being asked for
prgCmds OLECMD Information for each command
pCmdText System Used to dynamically change the command text
리턴 int

ReadSolutionProps() 공개 메소드

public ReadSolutionProps ( [ pHierarchy, [ pszProjectName, [ pszProjectMk, [ pszKey, [ fPreLoad, [ pPropBag ) : int
pHierarchy [
pszProjectName [
pszProjectMk [
pszKey [
fPreLoad [
pPropBag [
리턴 int

ReadUserOptions() 공개 메소드

public ReadUserOptions ( [ pOptionsStream, [ pszKey ) : int
pOptionsStream [
pszKey [
리턴 int

RefreshNodesGlyphs() 공개 메소드

Refreshes the glyphs of the specified hierarchy nodes
public RefreshNodesGlyphs ( IList selectedNodes ) : void
selectedNodes IList
리턴 void

SaveSolutionProps() 공개 메소드

public SaveSolutionProps ( [ pHierarchy, [ pPersistence ) : int
pHierarchy [
pPersistence [
리턴 int

SaveUserOptions() 공개 메소드

public SaveUserOptions ( [ pPersistence ) : int
pPersistence [
리턴 int

SccProvider() 공개 메소드

public SccProvider ( ) : System
리턴 System

WriteSolutionProps() 공개 메소드

public WriteSolutionProps ( [ pHierarchy, [ pszKey, [ pPropBag ) : int
pHierarchy [
pszKey [
pPropBag [
리턴 int

WriteUserOptions() 공개 메소드

public WriteUserOptions ( [ pOptionsStream, [ pszKey ) : int
pOptionsStream [
pszKey [
리턴 int