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

파일 보기 프로젝트 열기: Microsoft/VSSDK-Extensibility-Samples 1 사용 예제들

공개 메소드들

메소드 설명
AddFilesToStorage ( IList files ) : void

Adds files to source control by adding them to the list of "controlled" files in the current project and changing their attributes to reflect the "checked in" status.

CheckinFile ( string filename ) : void

Checkin a file to store by making the file on disk read only

CheckoutFile ( string filename ) : void

Checkout a file from store by making the file on disk writable

GetFileStatus ( string filename ) : SourceControlStatus

Returns a source control status inferred from the file's attributes on local disk

ReadStorageFile ( ) : void

Reads the list of "controlled" files in the current project.

RenameFileInStorage ( string strOldName, string strNewName ) : void

Renames a "controlled" file. If the project file is being renamed, rename the whole storage file

SccProviderStorage ( string projectFile ) : System

비공개 메소드들

메소드 설명
WriteStorageFile ( ) : void

Saves the list of the "controlled" files in a file with the same name as the project but with an extra ".storage" extension

메소드 상세

AddFilesToStorage() 공개 메소드

Adds files to source control by adding them to the list of "controlled" files in the current project and changing their attributes to reflect the "checked in" status.
public AddFilesToStorage ( IList files ) : void
files IList
리턴 void

CheckinFile() 공개 메소드

Checkin a file to store by making the file on disk read only
public CheckinFile ( string filename ) : void
filename string
리턴 void

CheckoutFile() 공개 메소드

Checkout a file from store by making the file on disk writable
public CheckoutFile ( string filename ) : void
filename string
리턴 void

GetFileStatus() 공개 메소드

Returns a source control status inferred from the file's attributes on local disk
public GetFileStatus ( string filename ) : SourceControlStatus
filename string
리턴 SourceControlStatus

ReadStorageFile() 공개 메소드

Reads the list of "controlled" files in the current project.
public ReadStorageFile ( ) : void
리턴 void

RenameFileInStorage() 공개 메소드

Renames a "controlled" file. If the project file is being renamed, rename the whole storage file
public RenameFileInStorage ( string strOldName, string strNewName ) : void
strOldName string
strNewName string
리턴 void

SccProviderStorage() 공개 메소드

public SccProviderStorage ( string projectFile ) : System
projectFile string
리턴 System