C# 클래스 Microsoft.VisualStudio.Editor.Mocks.TextDocumentMock

상속: ITextDocument
파일 보기 프로젝트 열기: Microsoft/RTVS 1 사용 예제들

공개 메소드들

메소드 설명
Dispose ( ) : void
Reload ( ) : ReloadResult
Reload ( EditOptions options ) : ReloadResult
Rename ( string newFilePath ) : void
Save ( ) : void
SaveAs ( string filePath, bool overwrite ) : void
SaveAs ( string filePath, bool overwrite, IContentType newContentType ) : void
SaveAs ( string filePath, bool overwrite, bool createFolder ) : void
SaveAs ( string filePath, bool overwrite, bool createFolder, IContentType newContentType ) : void
SaveCopy ( string filePath, bool overwrite ) : void
SaveCopy ( string filePath, bool overwrite, bool createFolder ) : void
SetEncoderFallback ( EncoderFallback fallback ) : void
TextDocumentMock ( ITextBuffer textBuffer, string filePath ) : System
UpdateDirtyState ( bool isDirty, System.DateTime lastContentModifiedTime ) : void

메소드 상세

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Reload() 공개 메소드

public Reload ( ) : ReloadResult
리턴 ReloadResult

Reload() 공개 메소드

public Reload ( EditOptions options ) : ReloadResult
options EditOptions
리턴 ReloadResult

Rename() 공개 메소드

public Rename ( string newFilePath ) : void
newFilePath string
리턴 void

Save() 공개 메소드

public Save ( ) : void
리턴 void

SaveAs() 공개 메소드

public SaveAs ( string filePath, bool overwrite ) : void
filePath string
overwrite bool
리턴 void

SaveAs() 공개 메소드

public SaveAs ( string filePath, bool overwrite, IContentType newContentType ) : void
filePath string
overwrite bool
newContentType IContentType
리턴 void

SaveAs() 공개 메소드

public SaveAs ( string filePath, bool overwrite, bool createFolder ) : void
filePath string
overwrite bool
createFolder bool
리턴 void

SaveAs() 공개 메소드

public SaveAs ( string filePath, bool overwrite, bool createFolder, IContentType newContentType ) : void
filePath string
overwrite bool
createFolder bool
newContentType IContentType
리턴 void

SaveCopy() 공개 메소드

public SaveCopy ( string filePath, bool overwrite ) : void
filePath string
overwrite bool
리턴 void

SaveCopy() 공개 메소드

public SaveCopy ( string filePath, bool overwrite, bool createFolder ) : void
filePath string
overwrite bool
createFolder bool
리턴 void

SetEncoderFallback() 공개 메소드

public SetEncoderFallback ( EncoderFallback fallback ) : void
fallback System.Text.EncoderFallback
리턴 void

TextDocumentMock() 공개 메소드

public TextDocumentMock ( ITextBuffer textBuffer, string filePath ) : System
textBuffer ITextBuffer
filePath string
리턴 System

UpdateDirtyState() 공개 메소드

public UpdateDirtyState ( bool isDirty, System.DateTime lastContentModifiedTime ) : void
isDirty bool
lastContentModifiedTime System.DateTime
리턴 void