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

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

공개 메소드들

메소드 설명
CancelAction ( TextContentChangingEventArgs e ) : void
ChangeContentType ( IContentType newContentType, object editTag ) : void
CheckEditAccess ( ) : bool
Clear ( ) : void
CreateEdit ( ) : ITextEdit
CreateEdit ( EditOptions options, int reiteratedVersionNumber, object editTag ) : ITextEdit
CreateReadOnlyRegionEdit ( ) : IReadOnlyRegionEdit
Delete ( Span deleteSpan ) : ITextSnapshot
GetReadOnlyExtents ( Span span ) : NormalizedSpanCollection
Insert ( int position, string text ) : ITextSnapshot
IsReadOnly ( Span span ) : bool
IsReadOnly ( Span span, bool isEdit ) : bool
IsReadOnly ( int position ) : bool
IsReadOnly ( int position, bool isEdit ) : bool
Replace ( Span replaceSpan, string replaceWith ) : ITextSnapshot
TakeThreadOwnership ( ) : void
TextBufferMock ( string content, string contentTypeName ) : System

비공개 메소드들

메소드 설명
ApplyChange ( TextSnapshotMock snapshot ) : void

메소드 상세

CancelAction() 공개 메소드

public CancelAction ( TextContentChangingEventArgs e ) : void
e TextContentChangingEventArgs
리턴 void

ChangeContentType() 공개 메소드

public ChangeContentType ( IContentType newContentType, object editTag ) : void
newContentType IContentType
editTag object
리턴 void

CheckEditAccess() 공개 메소드

public CheckEditAccess ( ) : bool
리턴 bool

Clear() 공개 메소드

public Clear ( ) : void
리턴 void

CreateEdit() 공개 메소드

public CreateEdit ( ) : ITextEdit
리턴 ITextEdit

CreateEdit() 공개 메소드

public CreateEdit ( EditOptions options, int reiteratedVersionNumber, object editTag ) : ITextEdit
options EditOptions
reiteratedVersionNumber int
editTag object
리턴 ITextEdit

CreateReadOnlyRegionEdit() 공개 메소드

public CreateReadOnlyRegionEdit ( ) : IReadOnlyRegionEdit
리턴 IReadOnlyRegionEdit

Delete() 공개 메소드

public Delete ( Span deleteSpan ) : ITextSnapshot
deleteSpan Span
리턴 ITextSnapshot

GetReadOnlyExtents() 공개 메소드

public GetReadOnlyExtents ( Span span ) : NormalizedSpanCollection
span Span
리턴 NormalizedSpanCollection

Insert() 공개 메소드

public Insert ( int position, string text ) : ITextSnapshot
position int
text string
리턴 ITextSnapshot

IsReadOnly() 공개 메소드

public IsReadOnly ( Span span ) : bool
span Span
리턴 bool

IsReadOnly() 공개 메소드

public IsReadOnly ( Span span, bool isEdit ) : bool
span Span
isEdit bool
리턴 bool

IsReadOnly() 공개 메소드

public IsReadOnly ( int position ) : bool
position int
리턴 bool

IsReadOnly() 공개 메소드

public IsReadOnly ( int position, bool isEdit ) : bool
position int
isEdit bool
리턴 bool

Replace() 공개 메소드

public Replace ( Span replaceSpan, string replaceWith ) : ITextSnapshot
replaceSpan Span
replaceWith string
리턴 ITextSnapshot

TakeThreadOwnership() 공개 메소드

public TakeThreadOwnership ( ) : void
리턴 void

TextBufferMock() 공개 메소드

public TextBufferMock ( string content, string contentTypeName ) : System
content string
contentTypeName string
리턴 System