C# 클래스 SonarLint.VisualStudio.Integration.SourceControlledFileSystem

A general helper class that deals with all the various source control systems integrated with VS (without using any SCC specific APIs). The idea is to checkout files (and notify that about to create new files) by using the IVsQueryEditQuerySave2 service which will in turn notify the source control system and will delegate the rest of the work to it (i.e. checking it out).
상속: ISourceControlledFileSystem
파일 보기 프로젝트 열기: SonarSource-VisualStudio/sonarlint-visualstudio

공개 메소드들

메소드 설명
FileExistOrQueuedToBeWritten ( string filePath ) : bool
QueueFileWrite ( string filePath, Func fileWriteOperation ) : void
SourceControlledFileSystem ( IServiceProvider serviceProvider ) : Microsoft.VisualStudio
WriteQueuedFiles ( ) : bool

비공개 메소드들

메소드 설명
CheckoutForEdit ( ) : bool
CheckoutForSave ( ) : bool
IFileSystem ( string path ) : bool
IFileSystem ( string path ) : void
SourceControlledFileSystem ( IServiceProvider serviceProvider, IFileSystem fileSystem ) : Microsoft.VisualStudio

메소드 상세

FileExistOrQueuedToBeWritten() 공개 메소드

public FileExistOrQueuedToBeWritten ( string filePath ) : bool
filePath string
리턴 bool

QueueFileWrite() 공개 메소드

public QueueFileWrite ( string filePath, Func fileWriteOperation ) : void
filePath string
fileWriteOperation Func
리턴 void

SourceControlledFileSystem() 공개 메소드

public SourceControlledFileSystem ( IServiceProvider serviceProvider ) : Microsoft.VisualStudio
serviceProvider IServiceProvider
리턴 Microsoft.VisualStudio

WriteQueuedFiles() 공개 메소드

public WriteQueuedFiles ( ) : bool
리턴 bool